# Re: \[PATCH v2\] powerpc/83xx: gianfar\_ptp: select 1588 clock source through dts file

- From: David Miller \<hidden\>
- Date: 2013-09-30 18:50:56 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/09/8077798
- Thread: https://ratatoskr.run/linux-devicetree/2013/09/8077798/t.md

```text
From: Aida Mynzhasova <redacted>
Date: Wed, 25 Sep 2013 11:24:23 +0400

> 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 <redacted>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
