summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap4/hw_data.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-12-06 14:26:51 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-12-06 14:26:51 +0100
commitc35cf8dc9fd90ff108abe08527df042bcd29a02f (patch)
treea5b962854f9a1a2659207f41204840b2b98078bd /arch/arm/cpu/armv7/omap4/hw_data.c
parent7988bd4ed6b48127ac8b45cf144255daabaa1250 (diff)
parent18a02e8050b7af165efa72325753e7880bf5567c (diff)
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
Diffstat (limited to 'arch/arm/cpu/armv7/omap4/hw_data.c')
-rw-r--r--arch/arm/cpu/armv7/omap4/hw_data.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/omap4/hw_data.c b/arch/arm/cpu/armv7/omap4/hw_data.c
index 6a225c8cb26..1b2f439241d 100644
--- a/arch/arm/cpu/armv7/omap4/hw_data.c
+++ b/arch/arm/cpu/armv7/omap4/hw_data.c
@@ -288,17 +288,21 @@ struct vcores_data omap4460_volts = {
.mm.pmic = &twl6030,
};
+/*
+ * Take closest integer part of the mV value corresponding to a TWL6032 SMPS
+ * voltage selection code. Aligned with OMAP4470 ES1.0 OCA V.0.7.
+ */
struct vcores_data omap4470_volts = {
- .mpu.value = 1200,
+ .mpu.value = 1202,
.mpu.addr = SMPS_REG_ADDR_SMPS1,
.mpu.pmic = &twl6030,
.core.value = 1126,
- .core.addr = SMPS_REG_ADDR_SMPS1,
+ .core.addr = SMPS_REG_ADDR_SMPS2,
.core.pmic = &twl6030,
- .mm.value = 1137,
- .mm.addr = SMPS_REG_ADDR_SMPS1,
+ .mm.value = 1139,
+ .mm.addr = SMPS_REG_ADDR_SMPS5,
.mm.pmic = &twl6030,
};