[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <21CA07A6-8B3D-49E9-8D9A-F63607FAC8EF@kernel.crashing.org>
Date: Fri, 27 Sep 2013 10:28:01 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Aida Mynzhasova <aida.mynzhasova@...tlab.ru>
Cc: linuxppc-dev@...ts.ozlabs.org, devicetree@...r.kernel.org,
netdev@...r.kernel.org, richardcochran@...il.com
Subject: Re: [PATCH v3] powerpc/83xx: gianfar_ptp: select 1588 clock source through dts file
On Sep 27, 2013, at 8:40 AM, 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
>
> When this attribute isn't used, eTSEC system clock will serve as
> IEEE 1588 timer reference clock.
>
> Signed-off-by: Aida Mynzhasova <aida.mynzhasova@...tlab.ru>
> ---
> Documentation/devicetree/bindings/net/fsl-tsec-phy.txt | 18 +++++++++++++++++-
> drivers/net/ethernet/freescale/gianfar_ptp.c | 4 +++-
> 2 files changed, 20 insertions(+), 2 deletions(-)
Acked-by: Kumar Gala <galak@...eaurora.org>
- k--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists