Skip to contentSkip to conversation

dpll4_ck rate broken

DISCUSSION Tomi Valkeinen 1 participant 2 messages Oct 17, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · ext Tomi Valkeinen

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

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