Devicetree
 help / color / mirror / Atom feed
* Re: [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
       [not found] <20100429092005.GA6727@riccoc20.at.omicron.at>
@ 2010-05-01 16:36 ` Kumar Gala
  2010-05-03  6:26   ` Richard Cochran
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2010-05-01 16:36 UTC (permalink / raw)
  To: Richard Cochran; +Cc: Netdev, linuxppc-dev, devicetree-discuss


On Apr 29, 2010, at 4:20 AM, Richard Cochran wrote:

> The eTSEC includes a PTP clock with quite a few features. This patch adds
> support for the basic clock adjustment functions.
> 
> Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
> ---
> arch/powerpc/boot/dts/mpc8313erdb.dts |   14 ++
> arch/powerpc/boot/dts/p2020ds.dts     |   13 ++
> arch/powerpc/boot/dts/p2020rdb.dts    |   14 ++
> drivers/net/Makefile                  |    1 +
> drivers/net/gianfar_ptp.c             |  308 +++++++++++++++++++++++++++++++++
> drivers/net/gianfar_ptp_reg.h         |  107 ++++++++++++
> drivers/ptp/Kconfig                   |   13 ++
> 7 files changed, 470 insertions(+), 0 deletions(-)
> create mode 100644 drivers/net/gianfar_ptp.c
> create mode 100644 drivers/net/gianfar_ptp_reg.h
> 
> diff --git a/arch/powerpc/boot/dts/mpc8313erdb.dts b/arch/powerpc/boot/dts/mpc8313erdb.dts
> index 183f2aa..b760aee 100644
> --- a/arch/powerpc/boot/dts/mpc8313erdb.dts
> +++ b/arch/powerpc/boot/dts/mpc8313erdb.dts
> @@ -208,6 +208,20 @@
> 			sleep = <&pmc 0x00300000>;
> 		};
> 
> +		ptp_clock@24E00 {
> +			device_type = "ptp_clock";
> +			model = "eTSEC";
> +			reg = <0x24E00 0xB0>;
> +			interrupts = <0x0C 2 0x0D 2>;
> +			interrupt-parent = < &ipic >;
> +			tclk_period = <10>;
> +			tmr_prsc    = <100>;
> +			tmr_add     = <0x999999A4>;
> +			cksel       = <0x1>;
> +			tmr_fiper1  = <0x3B9AC9F6>;
> +			tmr_fiper2  = <0x00018696>;
> +		};
> +
> 		enet0: ethernet@24000 {
> 			#address-cells = <1>;
> 			#size-cells = <1>;

Is there a binding document that describes this node you are adding?

- k

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

* Re: [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
  2010-05-01 16:36 ` [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx Kumar Gala
@ 2010-05-03  6:26   ` Richard Cochran
  2010-05-03 12:35     ` Kumar Gala
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Cochran @ 2010-05-03  6:26 UTC (permalink / raw)
  To: Kumar Gala; +Cc: Netdev, linuxppc-dev, devicetree-discuss

On Sat, May 01, 2010 at 11:36:12AM -0500, Kumar Gala wrote:
> Is there a binding document that describes this node you are adding?

No, but I will add one to Documentation/powerpc/dts-bindings.

Thanks,
Richard

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

* Re: [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
  2010-05-03  6:26   ` Richard Cochran
@ 2010-05-03 12:35     ` Kumar Gala
  0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2010-05-03 12:35 UTC (permalink / raw)
  To: Richard Cochran
  Cc: Netdev, linuxppc-dev, devicetree-discuss, Sandeep Gopalpet


On May 3, 2010, at 1:26 AM, Richard Cochran wrote:

> On Sat, May 01, 2010 at 11:36:12AM -0500, Kumar Gala wrote:
>> Is there a binding document that describes this node you are adding?
> 
> No, but I will add one to Documentation/powerpc/dts-bindings.

Please do so we can review and comment.

- k

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

end of thread, other threads:[~2010-05-03 12:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100429092005.GA6727@riccoc20.at.omicron.at>
2010-05-01 16:36 ` [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx Kumar Gala
2010-05-03  6:26   ` Richard Cochran
2010-05-03 12:35     ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox