linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: rusko.peter@prolan.hu (Peter Rusko)
To: linux-arm-kernel@lists.infradead.org
Subject: MX28 fec clock frequency
Date: Fri, 6 Jan 2012 12:08:51 +0100	[thread overview]
Message-ID: <4F06D643.6080602@prolan.hu> (raw)

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

             reply	other threads:[~2012-01-06 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 11:08 Peter Rusko [this message]
2012-01-08  3:32 ` MX28 fec clock frequency 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F06D643.6080602@prolan.hu \
    --to=rusko.peter@prolan.hu \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).