devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Cochran <richardcochran@gmail.com>
To: Aida Mynzhasova <aida.mynzhasova@skitlab.ru>
Cc: linuxppc-dev@lists.ozlabs.org, devicetree@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] powerpc/83xx: gianfar_ptp: select 1588 clock source through dts file
Date: Tue, 24 Sep 2013 19:14:10 +0200	[thread overview]
Message-ID: <20130924171410.GB4073@netboy> (raw)
In-Reply-To: <1380008397-22980-1-git-send-email-aida.mynzhasova@skitlab.ru>

On Tue, Sep 24, 2013 at 11:39:57AM +0400, Aida Mynzhasova wrote:
> Currently IEEE 1588 timer reference clock source is determined through
> hard-coded value in gianfar_ptp driver. This patch allows to select ptp
> clock source by means of device tree file node.
> 
> For instance:
> 
> 	fsl,cksel = <0>;
> 
> for using external (TSEC_TMR_CLK input) high precision timer
> reference clock.
> 
> Other acceptable values:
> 
> 	<1> : eTSEC system clock
> 	<2> : eTSEC1 transmit clock
> 	<3> : RTC clock input

I think it would be useful to have this table in the binding document
as well.

Thanks,
Richard

      reply	other threads:[~2013-09-24 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24  7:39 [PATCH] powerpc/83xx: gianfar_ptp: select 1588 clock source through dts file Aida Mynzhasova
2013-09-24 17:14 ` Richard Cochran [this message]

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=20130924171410.GB4073@netboy \
    --to=richardcochran@gmail.com \
    --cc=aida.mynzhasova@skitlab.ru \
    --cc=devicetree@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=netdev@vger.kernel.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).