dpll4_ck rate broken
Hi,
With latest linux-omap kernel, the dpll4_ck rate is a bit funny:
~ # cat /debug/clock/virt_26m_ck/osc_sys_ck/sys_ck/rate 13000000
~ # cat /debug/clock/virt_26m_ck/osc_sys_ck/sys_ck/dpll4_ck/rate 3224773576
~ #
cat /debug/clock/virt_26m_ck/osc_sys_ck/sys_ck/dpll4_ck/dpll4_m4_ck/rate 48000000
I've tested this on OMAP3 SDP board and one other board.
Tomi
Quoted 10 lines · ext Tomi Valkeinen
Hi,
With latest linux-omap kernel, the
dpll4_ckrate is a bit funny:~ # cat /debug/clock/virt_26m_ck/osc_sys_ck/sys_ck/rate 13000000
~ # cat /debug/clock/virt_26m_ck/osc_sys_ck/sys_ck/dpll4_ck/rate 3224773576
The reason seems to be in arch/arm/mach-omap2/clock34xx.c:omap3_noncore_dpll_enable(). It sets the dpll4_ck rate to the value of an unassigned local variable 'rate'.
Tomi