regulator: hack: use 3V for aux4
authorGrazvydas Ignotas <notasas@gmail.com>
Fri, 20 Jul 2012 19:43:22 +0000 (22:43 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 6 Aug 2012 22:11:28 +0000 (01:11 +0300)
2.8V does not cut it for some nub microcontrollers

arch/arm/mach-omap2/board-omap3pandora.c
drivers/regulator/twl-regulator.c

index 33508c0..3c82d9e 100644 (file)
@@ -508,8 +508,8 @@ static struct regulator_init_data pandora_vaux2 = {
 /* VAUX4 for ads7846 and nubs */
 static struct regulator_init_data pandora_vaux4 = {
        .constraints = {
-               .min_uV                 = 2800000,
-               .max_uV                 = 2800000,
+               .min_uV                 = 3000000,
+               .max_uV                 = 3000000,
                .apply_uV               = true,
                .valid_modes_mask       = REGULATOR_MODE_NORMAL
                                        | REGULATOR_MODE_STANDBY,
index 0dedf72..b44f667 100644 (file)
@@ -385,7 +385,7 @@ static int twl6030reg_set_mode(struct regulator_dev *rdev, unsigned mode)
  * VAUX3 at 3V is incorrectly listed in some TI manuals as unsupported.
  * TI are revising the twl5030/tps659x0 specs to support that 3.0V setting.
  */
-#ifdef CONFIG_TWL4030_ALLOW_UNSUPPORTED
+#if 1 //def CONFIG_TWL4030_ALLOW_UNSUPPORTED
 #define UNSUP_MASK     0x0000
 #else
 #define UNSUP_MASK     0x8000