linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* MX28 fec clock frequency
@ 2012-01-06 11:08 Peter Rusko
  2012-01-08  3:32 ` Shawn Guo
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Rusko @ 2012-01-06 11:08 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

I'm trying to get the fec clock frequency on the i.MX28 processor. I0
need it for a PTP clock and it seems that I get a wrong value:
clk_get_rate returns 151578947.

I've tried to get all the clock rates up to the crystal clock through
the parent field and got these results:

CLKRATE: 151578947
CLKRATE: 151578947
CLKRATE: 454736842
CLKRATE: 454736842
CLKRATE: 480000000
CLKRATE: 24000000

The first one is the fec_enet_private's clock and then the parents. Are
these correct values?

I'm currently using the master branch from git.pengutronix.de/git/imx

-- 
Rusk? P?ter
Fejleszt?m?rn?k

Prolan Zrt. / Prolan Co.
Hungary 2011 Budakal?sz, Szentendrei ?t 1-3.
Tel./Phone: +36 20 954 3118
Fax: +36 26 540 420
E-mail: rusko.peter at prolan.hu
Web: www.prolan.hu
Timezone:CET

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

end of thread, other threads:[~2012-01-10 15:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-06 11:08 MX28 fec clock frequency Peter Rusko
2012-01-08  3:32 ` Shawn Guo
2012-01-09 14:07   ` Peter Rusko
2012-01-10  8:21     ` Shawn Guo
2012-01-10 13:08       ` Peter Rusko
2012-01-10 14:00         ` Shawn Guo
2012-01-10 15:39           ` Peter Rusko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).