[PATCHv7 7/7] omap3: twl-common: enable VP SMPS mode for VDD1 and VDD2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This changes the control path for VDD1 and VDD2 regulators from
the I2C to be voltage processor.

Signed-off-by: Tero Kristo <t-kristo@xxxxxx>
---
 arch/arm/mach-omap2/twl-common.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c
index 7cf5347..01632aa 100644
--- a/arch/arm/mach-omap2/twl-common.c
+++ b/arch/arm/mach-omap2/twl-common.c
@@ -133,6 +133,7 @@ static struct regulator_init_data omap3_vdd1 = {
 	},
 	.num_consumer_supplies		= ARRAY_SIZE(omap3_vdd1_supply),
 	.consumer_supplies		= omap3_vdd1_supply,
+	.driver_data			= (void *)TWL_VP_SMPS_MODE,
 };
 
 static struct regulator_init_data omap3_vdd2 = {
@@ -145,6 +146,7 @@ static struct regulator_init_data omap3_vdd2 = {
 	},
 	.num_consumer_supplies		= ARRAY_SIZE(omap3_vdd2_supply),
 	.consumer_supplies		= omap3_vdd2_supply,
+	.driver_data			= (void *)TWL_VP_SMPS_MODE,
 };
 
 void __init omap3_pmic_get_config(struct twl4030_platform_data *pmic_data,
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux