Commit e68ac3cd1f3b376e74cebd4c771bd16c26e65a83
Committed by
Afzal Mohammed
1 parent
40b51c983c
Exists in
master
arm:omap:am33xx: Initialize voltage
Initialize voltage to be as per OPP Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com> Signed-off-by: Afzal Mohammed <afzal@ti.com>
Showing 1 changed file with 6 additions and 2 deletions Side-by-side Diff
arch/arm/mach-omap2/pm.c
... | ... | @@ -252,8 +252,12 @@ |
252 | 252 | if (!cpu_is_omap34xx()) |
253 | 253 | return; |
254 | 254 | |
255 | - omap2_set_init_voltage("mpu_iva", "dpll1_ck", "mpu"); | |
256 | - omap2_set_init_voltage("core", "l3_ick", "l3_main"); | |
255 | + if (cpu_is_am33xx()) { | |
256 | + omap2_set_init_voltage("mpu", "dpll_mpu_ck", "mpu"); | |
257 | + } else { | |
258 | + omap2_set_init_voltage("mpu_iva", "dpll1_ck", "mpu"); | |
259 | + omap2_set_init_voltage("core", "l3_ick", "l3_main"); | |
260 | + } | |
257 | 261 | } |
258 | 262 | |
259 | 263 | static void __init omap4_init_voltages(void) |