aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-11-11 18:49:45 +0800
committerAndy Green <andy.green@linaro.org>2011-11-19 08:55:00 +0800
commit3f1d48b030f26851c2748526b5b10633d2201e6e (patch)
tree91c19d9f6042423e84f25c0f16404ae71ed8e0fe /arch/arm
parentea7468243995f8e040d14bfaf848df1667091601 (diff)
tps62361 default to nominal voltage
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap2/omap_tps6236x.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/omap_tps6236x.c b/arch/arm/mach-omap2/omap_tps6236x.c
index 9d49c2be7b2..cbfe28c8f43 100644
--- a/arch/arm/mach-omap2/omap_tps6236x.c
+++ b/arch/arm/mach-omap2/omap_tps6236x.c
@@ -26,6 +26,8 @@
#define MIN_VOLTAGE_TPS62361_UV 500000
#define MAX_VOLTAGE_TPS62361_UV 1770000
+#define NOM_VOLTAGE_TPS62361_UV 1430000
+
#define MAX_VOLTAGE_RAMP_TPS6236X_UV 32000
/*
@@ -206,8 +208,8 @@ static int __init omap4_twl_tps62361_enable(struct voltagedomain *voltdm)
int ret = 0;
u8 val;
- /* Dont trust the bootloader. start with max, pm will set to proper */
- val = voltdm->pmic->uv_to_vsel(voltdm->pmic->vp_vddmax);
+ /* Dont trust the bootloader. start with nominal, pm will set later */
+ val = voltdm->pmic->uv_to_vsel(NOM_VOLTAGE_TPS62361_UV);
ret = omap_vc_bypass_send_i2c_msg(voltdm, voltdm->pmic->i2c_slave_addr,
default_reg, val);