summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLubomir Popov <lpopov@mm-sol.com>2013-04-08 22:05:33 +0000
committerTom Rini <trini@ti.com>2013-04-10 13:05:32 -0400
commita1c8fb91325d1e0a928bd71f4ac7522712f7de82 (patch)
treea43438584ff565f6c5be180416e58e4750517f5f /arch
parentb996a3e9a88ce247bce3d29a9ac5ff34c37845fd (diff)
downloadu-boot-imx-a1c8fb91325d1e0a928bd71f4ac7522712f7de82.zip
u-boot-imx-a1c8fb91325d1e0a928bd71f4ac7522712f7de82.tar.gz
u-boot-imx-a1c8fb91325d1e0a928bd71f4ac7522712f7de82.tar.bz2
OMAP4: Fix bug in omap4460_volts struct
The omap4460_volts struct was incorrectly referencing tps62361 instead of twl6030 as PMIC for the core and mm voltages (the tps is used for mpu supply only). This shall lead to bad OPP settings while booting kernel. Fixing it. Fix some comments as well. Signed-off-by: Lubomir Popov <lpopov@mm-sol.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap4/hw_data.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/cpu/armv7/omap4/hw_data.c b/arch/arm/cpu/armv7/omap4/hw_data.c
index 7551b98..04977b4 100644
--- a/arch/arm/cpu/armv7/omap4/hw_data.c
+++ b/arch/arm/cpu/armv7/omap4/hw_data.c
@@ -216,14 +216,14 @@ struct dplls omap4460_dplls = {
struct pmic_data twl6030_4430es1 = {
.base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_UV,
- .step = 12660, /* 10 mV represented in uV */
+ .step = 12660, /* 12.66 mV represented in uV */
/* The code starts at 1 not 0 */
.start_code = 1,
};
struct pmic_data twl6030 = {
.base_offset = PHOENIX_SMPS_BASE_VOLT_STD_MODE_WITH_OFFSET_UV,
- .step = 12660, /* 10 mV represented in uV */
+ .step = 12660, /* 12.66 mV represented in uV */
/* The code starts at 1 not 0 */
.start_code = 1,
};
@@ -271,11 +271,11 @@ struct vcores_data omap4460_volts = {
.core.value = 1200,
.core.addr = SMPS_REG_ADDR_VCORE1,
- .core.pmic = &tps62361,
+ .core.pmic = &twl6030,
.mm.value = 1200,
.mm.addr = SMPS_REG_ADDR_VCORE2,
- .mm.pmic = &tps62361,
+ .mm.pmic = &twl6030,
};
/*