aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Anders <x0132446@ti.com>2011-03-18 19:53:20 -0400
committerTony Lindgren <tony@atomide.com>2011-03-18 19:53:20 -0400
commit8b8e2ef328c3378c74fb4347f66df8e58feeaf46 (patch)
treeefb61303d2b5ddfc15f272136e8f11fb313f7cd6
parent18a81019b851dae83f7df3e72064de706788ff25 (diff)
OMAP4: PandaBoard: remove unused power regulators
the pandaboard does not use the VUSIM or VAUX1 power regulators on the TWL6030 and are left floating. if the VUSIM and VAUX1 power regulators are initilized, noise on the unloaded regulators generates an overcurrent interrupt causing the system to power down. this patch removes the initialization of the unused power regulators of VUSIM and VAUX1. Signed-off-by: David Anders <x0132446@ti.com> Acked-by: Andy Green <andy.green@linaro.org> Acked-by: Anand Gadiyar <gadiyar@ti.com> Tested-by: Kevin Hilman <khilman@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index 1dd4401e646..80b8860bc59 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -280,19 +280,6 @@ static int __init omap4_twl6030_hsmmc_init(struct omap2_hsmmc_info *controllers)
280 return 0; 280 return 0;
281} 281}
282 282
283static struct regulator_init_data omap4_panda_vaux1 = {
284 .constraints = {
285 .min_uV = 1000000,
286 .max_uV = 3000000,
287 .apply_uV = true,
288 .valid_modes_mask = REGULATOR_MODE_NORMAL
289 | REGULATOR_MODE_STANDBY,
290 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
291 | REGULATOR_CHANGE_MODE
292 | REGULATOR_CHANGE_STATUS,
293 },
294};
295
296static struct regulator_init_data omap4_panda_vaux2 = { 283static struct regulator_init_data omap4_panda_vaux2 = {
297 .constraints = { 284 .constraints = {
298 .min_uV = 1200000, 285 .min_uV = 1200000,
@@ -348,19 +335,6 @@ static struct regulator_init_data omap4_panda_vpp = {
348 }, 335 },
349}; 336};
350 337
351static struct regulator_init_data omap4_panda_vusim = {
352 .constraints = {
353 .min_uV = 1200000,
354 .max_uV = 2900000,
355 .apply_uV = true,
356 .valid_modes_mask = REGULATOR_MODE_NORMAL
357 | REGULATOR_MODE_STANDBY,
358 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE
359 | REGULATOR_CHANGE_MODE
360 | REGULATOR_CHANGE_STATUS,
361 },
362};
363
364static struct regulator_init_data omap4_panda_vana = { 338static struct regulator_init_data omap4_panda_vana = {
365 .constraints = { 339 .constraints = {
366 .min_uV = 2100000, 340 .min_uV = 2100000,
@@ -413,12 +387,10 @@ static struct twl4030_platform_data omap4_panda_twldata = {
413 /* Regulators */ 387 /* Regulators */
414 .vmmc = &omap4_panda_vmmc, 388 .vmmc = &omap4_panda_vmmc,
415 .vpp = &omap4_panda_vpp, 389 .vpp = &omap4_panda_vpp,
416 .vusim = &omap4_panda_vusim,
417 .vana = &omap4_panda_vana, 390 .vana = &omap4_panda_vana,
418 .vcxio = &omap4_panda_vcxio, 391 .vcxio = &omap4_panda_vcxio,
419 .vdac = &omap4_panda_vdac, 392 .vdac = &omap4_panda_vdac,
420 .vusb = &omap4_panda_vusb, 393 .vusb = &omap4_panda_vusb,
421 .vaux1 = &omap4_panda_vaux1,
422 .vaux2 = &omap4_panda_vaux2, 394 .vaux2 = &omap4_panda_vaux2,
423 .vaux3 = &omap4_panda_vaux3, 395 .vaux3 = &omap4_panda_vaux3,
424 .usb = &omap4_usbphy_data, 396 .usb = &omap4_usbphy_data,