commit | 9c05cc733162f61fdeaf2a2e9847b58bd56169fa | [log] [tgz] |
---|---|---|
author | Benoît Thébaudeau <benoit.thebaudeau@advansee.com> | Thu Sep 27 10:22:37 2012 +0000 |
committer | Tom Rini <trini@ti.com> | Mon Oct 15 11:54:11 2012 -0700 |
tree | 379055bc5fc510e5b8bf4ffa3f9598f53d413d0b | |
parent | 3c98eb5c1e438ad834ce93a130a3d86e31862a3c [diff] |
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>