aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-05-10 17:29:18 -0400
committerTony Lindgren <tony@atomide.com>2010-05-20 13:53:55 -0400
commitf2add1de55d577b9babe4812a710affb903b366b (patch)
treeb889552ede33bbe146f7a3e4eb6699da79df0ea8
parent5c9a29ede210b59321a65bd692b7c37b758943e6 (diff)
omap: rx51: Change the TWL4030 VMMC2 voltage constraints andsupply name
I believe the VMMC2 constraints must be the same than with VAUX3. Older boards are using TWL4030 VMMC2 supply for internal MMC whereas newer are using VAUX3 that has more limited constraints defined in this same file. More over, the VMMC2 supply is used also for analog audio domain and the miminum analog voltage of the TLV320AIC34 codec is 2.7 V. To combine these two facts, the patch changes supply name to V28_A as the newer boards register VMMC2_30 for VAUX3 and uses the same constraints than VAUX3 since those constraints are ok for the TLV320AIC34. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Cc: Adrian Hunter <adrian.hunter@nokia.com> Cc: Eduardo Valentin <eduardo.valentin@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/board-rx51-peripherals.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index 4377a4cf36eb..b803f47792a4 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -370,9 +370,9 @@ static struct regulator_init_data rx51_vmmc1 = {
370 370
371static struct regulator_init_data rx51_vmmc2 = { 371static struct regulator_init_data rx51_vmmc2 = {
372 .constraints = { 372 .constraints = {
373 .name = "VMMC2_30", 373 .name = "V28_A",
374 .min_uV = 1850000, 374 .min_uV = 2800000,
375 .max_uV = 3150000, 375 .max_uV = 3000000,
376 .apply_uV = true, 376 .apply_uV = true,
377 .valid_modes_mask = REGULATOR_MODE_NORMAL 377 .valid_modes_mask = REGULATOR_MODE_NORMAL
378 | REGULATOR_MODE_STANDBY, 378 | REGULATOR_MODE_STANDBY,