[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

STALE5087d

6 messages, 5 authors, 2012-11-05 · open the first message on its own page

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: Frank Li <hidden>
Date: 2012-10-31 04:24:40

This patch series enables hardware time stamping and a PTP hardware clock
for mx6 ENET controller.

Frank Li (4):
  net: fec: move fec_enet_private to header file
  ARM: dts: imx6q: Add ENET PTP clock pin and clock source
  ARM: imx6q: Set enet tx reference clk from anatop to support 1588
  FEC: Add time stamping code and a PTP hardware clock

 arch/arm/boot/dts/imx6q.dtsi             |    5 +-
 arch/arm/mach-imx/mach-imx6q.c           |   12 +
 drivers/net/ethernet/freescale/Kconfig   |    9 +
 drivers/net/ethernet/freescale/Makefile  |    1 +
 drivers/net/ethernet/freescale/fec.c     |  161 +++++++------
 drivers/net/ethernet/freescale/fec.h     |  119 +++++++++
 drivers/net/ethernet/freescale/fec_ptp.c |  386 ++++++++++++++++++++++++++++++
 7 files changed, 617 insertions(+), 76 deletions(-)
 create mode 100644 drivers/net/ethernet/freescale/fec_ptp.c

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: davem@davemloft.net (David Miller)
Date: 2012-11-01 16:30:27

From: Frank Li <redacted>
Date: Wed, 31 Oct 2012 12:24:40 +0800
This patch series enables hardware time stamping and a PTP hardware clock
for mx6 ENET controller.

Frank Li (4):
  net: fec: move fec_enet_private to header file
  ARM: dts: imx6q: Add ENET PTP clock pin and clock source
  ARM: imx6q: Set enet tx reference clk from anatop to support 1588
  FEC: Add time stamping code and a PTP hardware clock
All applied to net-next.

Please make sure your changes are in sync with Ben's PTP/PPS
Kconfig changes of today, and send me any changes if necessary.

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: Frank Li <hidden>
Date: 2012-11-02 02:36:09

All applied to net-next.

Please make sure your changes are in sync with Ben's PTP/PPS
Kconfig changes of today, and send me any changes if necessary.
Thank you very much.
I checked Ben's patch, which not affect FEC.

best regards
Frank Li

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: richardcochran@gmail.com (Richard Cochran)
Date: 2012-11-02 08:43:24

On Fri, Nov 02, 2012 at 10:36:09AM +0800, Frank Li wrote:
quoted
All applied to net-next.

Please make sure your changes are in sync with Ben's PTP/PPS
Kconfig changes of today, and send me any changes if necessary.
Thank you very much.
I checked Ben's patch, which not affect FEC.
Maybe just remove the Kconfig line "select PPS".

Thanks,
Richard

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: Ben Hutchings <hidden>
Date: 2012-11-02 23:25:28

On Fri, 2012-11-02 at 09:43 +0100, Richard Cochran wrote:
On Fri, Nov 02, 2012 at 10:36:09AM +0800, Frank Li wrote:
quoted
quoted
All applied to net-next.

Please make sure your changes are in sync with Ben's PTP/PPS
Kconfig changes of today, and send me any changes if necessary.
Thank you very much.
I checked Ben's patch, which not affect FEC.
Maybe just remove the Kconfig line "select PPS".
More than that: FEC should select PTP_1588_CLOCK, FEC_PTP should be
removed and all the conditional code made unconditional.  Alternately,
if that would cost too much (in terms of performance or memory) on some
systems where the driver is used, FEC_PTP should default to 'y'.

Ben.

-- 
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.

[PATCH 0/4] Support the MX6 FEC as a PTP hardware clock

From: Frank Li <hidden>
Date: 2012-11-05 11:23:39

在 2012年11月3日星期六,Ben Hutchings 写道:
On Fri, 2012-11-02 at 09:43 +0100, Richard Cochran wrote:
quoted
On Fri, Nov 02, 2012 at 10:36:09AM +0800, Frank Li wrote:
quoted
quoted
All applied to net-next.

Please make sure your changes are in sync with Ben's PTP/PPS
Kconfig changes of today, and send me any changes if necessary.
Thank you very much.
I checked Ben's patch, which not affect FEC.
Maybe just remove the Kconfig line "select PPS".
More than that: FEC should select PTP_1588_CLOCK,

okay, I will do that.

FEC_PTP should be
removed and all the conditional code made unconditional.  Alternately,
if that would cost too much (in terms of performance or memory) on some
systems where the driver is used, FEC_PTP should default to 'y'.

Bd description will be difference between no PTP and PTP hardware,
So driver will not incompatible at two kind of hardware.

I can set it default is Y at MX6 platform.

Ben.

--
Ben Hutchings, Staff Engineer, Solarflare
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help