]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
OMAP3EVM: Replace vdvi regulator supply with vdds_dsi
authorVaibhav Hiremath <hvaibhav@ti.com>
Fri, 19 Mar 2010 11:21:19 +0000 (11:21 +0000)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 5 Aug 2010 13:52:12 +0000 (16:52 +0300)
With recent changes happened in OMAP2/3 DSS library for regulator interface, it
is required to define DSI regulator supply, without this DSS (in turn Fbdev)
fails to get regulator.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
arch/arm/mach-omap2/board-omap3evm.c

index b952610138121862368aab2296ef30552bdc5528..f11604ae6a8012e438dfcf3c6a72d55ef6bafadd 100644 (file)
@@ -514,14 +514,11 @@ static struct regulator_init_data omap3_evm_vdac = {
 };
 
 /* VPLL2 for digital video outputs */
-static struct regulator_consumer_supply omap3_evm_vpll2_supply = {
-       .supply         = "vdvi",
-       .dev            = &omap3_evm_lcd_device.dev,
-};
+static struct regulator_consumer_supply omap3_evm_vpll2_supply =
+       REGULATOR_SUPPLY("vdds_dsi", "omapdss");
 
 static struct regulator_init_data omap3_evm_vpll2 = {
        .constraints = {
-               .name                   = "VDVI",
                .min_uV                 = 1800000,
                .max_uV                 = 1800000,
                .apply_uV               = true,