public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* dpll4_ck rate broken
@ 2008-10-17 11:08 Tomi Valkeinen
  2008-10-17 12:09 ` Tomi Valkeinen
  0 siblings, 1 reply; 2+ messages in thread
From: Tomi Valkeinen @ 2008-10-17 11:08 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org List

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dpll4_ck rate broken
  2008-10-17 11:08 dpll4_ck rate broken Tomi Valkeinen
@ 2008-10-17 12:09 ` Tomi Valkeinen
  0 siblings, 0 replies; 2+ messages in thread
From: Tomi Valkeinen @ 2008-10-17 12:09 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org List, paul

On Fri, 2008-10-17 at 14:08 +0300, ext Tomi Valkeinen wrote:
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-17 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-17 11:08 dpll4_ck rate broken Tomi Valkeinen
2008-10-17 12:09 ` Tomi Valkeinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox