From: Kumar Gala <galak@kernel.crashing.org>
To: Richard Cochran <richardcochran@gmail.com>
Cc: Netdev <netdev@vger.kernel.org>,
devicetree-discuss <devicetree-discuss@ozlabs.org>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx.
Date: Sat, 1 May 2010 11:36:12 -0500 [thread overview]
Message-ID: <FFD6BE31-AF2B-4D44-9751-61DB06327DBD@kernel.crashing.org> (raw)
In-Reply-To: <20100429092005.GA6727@riccoc20.at.omicron.at>
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.
>=20
> 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
>=20
> 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 =3D <&pmc 0x00300000>;
> };
>=20
> + ptp_clock@24E00 {
> + device_type =3D "ptp_clock";
> + model =3D "eTSEC";
> + reg =3D <0x24E00 0xB0>;
> + interrupts =3D <0x0C 2 0x0D 2>;
> + interrupt-parent =3D < &ipic >;
> + tclk_period =3D <10>;
> + tmr_prsc =3D <100>;
> + tmr_add =3D <0x999999A4>;
> + cksel =3D <0x1>;
> + tmr_fiper1 =3D <0x3B9AC9F6>;
> + tmr_fiper2 =3D <0x00018696>;
> + };
> +
> enet0: ethernet@24000 {
> #address-cells =3D <1>;
> #size-cells =3D <1>;
Is there a binding document that describes this node you are adding?
- k=
next parent reply other threads:[~2010-05-01 16:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100429092005.GA6727@riccoc20.at.omicron.at>
2010-05-01 16:36 ` Kumar Gala [this message]
2010-05-03 6:26 ` [PATCH 3/3] ptp: Added a clock that uses the eTSEC found on the MPC85xx Richard Cochran
2010-05-03 12:35 ` Kumar Gala
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=FFD6BE31-AF2B-4D44-9751-61DB06327DBD@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=devicetree-discuss@ozlabs.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=richardcochran@gmail.com \
/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