Home
last modified time | relevance | path

Searched hist:b94792982f8f5d584f4c032117ecbc8abcec977f (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/include/asm/arch-mx5/
H A Dcrm_regs.hb94792982f8f5d584f4c032117ecbc8abcec977f Thu Sep 27 10:22:37 UTC 2012 Benoît Thébaudeau <benoit.thebaudeau@advansee.com> mx5 clocks: Fix get_lp_apm()

If CCM.CCSR.lp_apm is set, the lp_apm clock is not necessarily 32768 Hz x 1024.
In that case:
- on i.MX51, this clock comes from the output of the FPM,
- on i.MX53, this clock comes from the output of PLL4.

This patch fixes the code accordingly.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>