aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-01-04 13:24:50 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2010-01-05 07:29:47 -0500
commit9f0727f5f41d21eb3da67e50965d1f30e054795f (patch)
tree32fbb9dde1fb268942ab4d042f198e34ab7ed17f /arch/arm
parentf9ffaa9ca9889f17ef30b82bc0bf954d141280f8 (diff)
mx31ads: Allow enable/disable of switchable supplies
They will be automatically powered off at startup so users will need to enable them for use. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx3/mx31ads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/mx31ads.c b/arch/arm/mach-mx3/mx31ads.c
index 3e7bafa2ddbb..609d402cadba 100644
--- a/arch/arm/mach-mx3/mx31ads.c
+++ b/arch/arm/mach-mx3/mx31ads.c
@@ -302,6 +302,7 @@ static struct regulator_init_data ldo1_data = {
302 .min_uV = 2800000, 302 .min_uV = 2800000,
303 .max_uV = 2800000, 303 .max_uV = 2800000,
304 .valid_modes_mask = REGULATOR_MODE_NORMAL, 304 .valid_modes_mask = REGULATOR_MODE_NORMAL,
305 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
305 .apply_uV = 1, 306 .apply_uV = 1,
306 }, 307 },
307}; 308};
@@ -322,6 +323,7 @@ static struct regulator_init_data ldo2_data = {
322 .min_uV = 3300000, 323 .min_uV = 3300000,
323 .max_uV = 3300000, 324 .max_uV = 3300000,
324 .valid_modes_mask = REGULATOR_MODE_NORMAL, 325 .valid_modes_mask = REGULATOR_MODE_NORMAL,
326 .valid_ops_mask = REGULATOR_CHANGE_STATUS,
325 .apply_uV = 1, 327 .apply_uV = 1,
326 }, 328 },
327 .num_consumer_supplies = ARRAY_SIZE(ldo2_consumers), 329 .num_consumer_supplies = ARRAY_SIZE(ldo2_consumers),