diff options
author | Andrii Tseglytskyi <andrii.tseglytskyi@ti.com> | 2013-05-20 22:42:09 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-06-10 08:43:09 -0400 |
commit | e69c585d76b7c8f422ad488ea92268c60dc2a436 (patch) | |
tree | bdf8f5c1dfbe73bd6646f60c95d02b5e32a3f043 /arch/arm/cpu/armv7/omap-common/clocks-common.c | |
parent | 4d0df9c1e94f32a9695be352fead3167fb5135c7 (diff) | |
download | u-boot-imx-e69c585d76b7c8f422ad488ea92268c60dc2a436.zip u-boot-imx-e69c585d76b7c8f422ad488ea92268c60dc2a436.tar.gz u-boot-imx-e69c585d76b7c8f422ad488ea92268c60dc2a436.tar.bz2 |
OMAP5: add ABB setup for MPU voltage domain
Patch adds a call of abb_setup() function, and proper registers
definitions needed for ABB setup sequence. ABB is initialized
for MPU voltage domain.
Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/clocks-common.c')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/clocks-common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/clocks-common.c b/arch/arm/cpu/armv7/omap-common/clocks-common.c index 99910cd..f86f79b 100644 --- a/arch/arm/cpu/armv7/omap-common/clocks-common.c +++ b/arch/arm/cpu/armv7/omap-common/clocks-common.c @@ -533,6 +533,15 @@ void scale_vcores(struct vcores_data const *vcores) do_scale_vcore(vcores->mpu.addr, vcores->mpu.value, vcores->mpu.pmic); + /* Configure MPU ABB LDO after scale */ + abb_setup((*ctrl)->control_std_fuse_opp_vdd_mpu_2, + (*ctrl)->control_wkup_ldovbb_mpu_voltage_ctrl, + (*prcm)->prm_abbldo_mpu_setup, + (*prcm)->prm_abbldo_mpu_ctrl, + (*prcm)->prm_irqstatus_mpu_2, + OMAP_ABB_MPU_TXDONE_MASK, + OMAP_ABB_FAST_OPP); + do_scale_vcore(vcores->mm.addr, vcores->mm.value, vcores->mm.pmic); |