]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: OMAP: add vdds_dsi supply for omapdss_dpi.0
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 31 May 2013 07:37:53 +0000 (10:37 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 12 Jun 2013 13:59:40 +0000 (06:59 -0700)
DPI driver gets currently the vdds_dsi regulator via omapdss device.
This is not correct, and we'll change the DPI driver to get the
regulator directly via omapdss_dpi.0 device.

This patch changes the relevant board files to add vdds_dsi supply for
omapdss_dpi.0 device.

Note that the vdds_dsi supply for omapdss device is still left there, as
the current display driver uses it. When both the board files and the
display driver has been changed, we can remove the unused supply.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-ldp.c
arch/arm/mach-omap2/board-omap3pandora.c
arch/arm/mach-omap2/twl-common.c

index ce009681dce535a677100665d1245efa740a2fbb..d4622ed26252d63d9eecf4b939b6a4bffbda9ae1 100644 (file)
@@ -293,6 +293,7 @@ static struct regulator_consumer_supply cm_t35_vsim_supply[] = {
 static struct regulator_consumer_supply cm_t35_vio_supplies[] = {
        REGULATOR_SUPPLY("vcc", "spi1.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dpi.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
 };
 
index 5764205441783bee2dac9a69a158850865dcfbe8..f1d91ba5d1ac2dacf9925f4afc36779051a9a8ef 100644 (file)
@@ -222,6 +222,7 @@ static struct twl4030_gpio_platform_data devkit8000_gpio_data = {
 
 static struct regulator_consumer_supply devkit8000_vpll1_supplies[] = {
        REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dpi.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
 };
 
index 3dbc881cdc3ba8a8333b3f1054f1bfdf83fea5b5..62e4f701b63baf33f0720dd786d0feadb901017e 100644 (file)
@@ -272,6 +272,7 @@ static struct regulator_init_data ldp_vaux1 = {
 
 static struct regulator_consumer_supply ldp_vpll2_supplies[] = {
        REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dpi.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
 };
 
index 28133d5b4fed19ca1976bae99dce66a328e46e5d..b1547a0edfcd7df38b6e6e2cf5f74daec4ab0b36 100644 (file)
@@ -343,6 +343,7 @@ static struct regulator_consumer_supply pandora_vmmc3_supply[] = {
 static struct regulator_consumer_supply pandora_vdds_supplies[] = {
        REGULATOR_SUPPLY("vdds_sdi", "omapdss"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dpi.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
 };
 
index 51e138cc539840f05e6b7efd4a3f54e50094833e..c05898fbd634a813542ab0c0b6e8b86586a6a0ee 100644 (file)
@@ -140,6 +140,7 @@ static struct regulator_init_data omap3_vdac_idata = {
 
 static struct regulator_consumer_supply omap3_vpll2_supplies[] = {
        REGULATOR_SUPPLY("vdds_dsi", "omapdss"),
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss_dpi.0"),
        REGULATOR_SUPPLY("vdds_dsi", "omapdss_dsi.0"),
 };