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
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:18 -0800
commit3f7be54906f0c4572fd875ad21e1b8430833da73 (patch)
treedb4928c4f74df573b5da6a689733d2de1d9bc946 /arch/arm/mach-tegra/board-ventana-power.c
parent0db9f1bcf42acc0f166ecb194c264572150579bf (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 Original-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> Rebase-Id: R32a9fd66a379b201edc689d80f926cc1ef3b2f4e
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 7f5f93fb5644..08b04e5cf677 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);