summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-ventana-power.c
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2011-05-30 17:13:03 +0530
committerNiket Sirsi <nsirsi@nvidia.com>2011-06-01 11:46:58 -0700
commitbca7dc7cec5d2a2dafe58dfa6d382c3a6ba89b98 (patch)
tree3f1544efc2d6606d2dda730d210b31858151f991 /arch/arm/mach-tegra/board-ventana-power.c
parenta2702eb970b4e623a29fdc3585670531cfae0a47 (diff)
arm: tegra: ventana: ldo6 uses 1.8v always
camera needs LDO6 to be 1.8v always. the same was done in the camera init code but was causing issues because of recent changes in the regulator core. fixing this issue by setting LDO6 to 1.8v at during regulator init. Bug 832292 Change-Id: I185d83f5f31640d30c2c04acc28ccbb04f9f0557 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/34473 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-by: Abhinav Sinha <absinha@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-ventana-power.c')
-rw-r--r--arch/arm/mach-tegra/board-ventana-power.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-ventana-power.c b/arch/arm/mach-tegra/board-ventana-power.c
index 4ddd3727673b..cc2bd70323b4 100644
--- a/arch/arm/mach-tegra/board-ventana-power.c
+++ b/arch/arm/mach-tegra/board-ventana-power.c
@@ -125,6 +125,7 @@ static struct tps6586x_settings sm1_config = {
REGULATOR_CHANGE_STATUS | \
REGULATOR_CHANGE_VOLTAGE), \
.always_on = on, \
+ .apply_uV = 1, \
}, \
.num_consumer_supplies = ARRAY_SIZE(tps658621_##_id##_supply),\
.consumer_supplies = tps658621_##_id##_supply, \
@@ -143,7 +144,7 @@ static struct regulator_init_data ldo2_data = REGULATOR_INIT(ldo2, 725, 1500, OF
static struct regulator_init_data ldo3_data = REGULATOR_INIT(ldo3, 1250, 3300, OFF, NULL);
static struct regulator_init_data ldo4_data = REGULATOR_INIT(ldo4, 1700, 2475, OFF, NULL);
static struct regulator_init_data ldo5_data = REGULATOR_INIT(ldo5, 1250, 3300, ON, NULL);
-static struct regulator_init_data ldo6_data = REGULATOR_INIT(ldo6, 1250, 1800, OFF, NULL);
+static struct regulator_init_data ldo6_data = REGULATOR_INIT(ldo6, 1800, 1800, OFF, NULL);
static struct regulator_init_data ldo7_data = REGULATOR_INIT(ldo7, 1250, 3300, OFF, NULL);
static struct regulator_init_data ldo8_data = REGULATOR_INIT(ldo8, 1250, 3300, OFF, NULL);
static struct regulator_init_data ldo9_data = REGULATOR_INIT(ldo9, 1250, 3300, OFF, NULL);