Skip to content

net: fec: fix external PTP PHY support

Sergey Organov lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5net: fec: properly support external PTP PHY for hardware time stampingdrivers/net/ethernet/freescale/fec.h drivers/net/ethernet/freescale/fec_main.c drivers/net/ethernet/freescale/fec_ptp.c+27 -48 replies
2/5net: fec: enable to use PPS feature without time stampingdrivers/net/ethernet/freescale/fec_ptp.c+0 -52 replies
3/5net: fec: initialize clock with 0 rather than current kernel timedrivers/net/ethernet/freescale/fec_ptp.c+1 -116 replies
4/5net: fec: get rid of redundant code in fec_ptp_set()drivers/net/ethernet/freescale/fec_ptp.c+1 -36 replies
5/5net: fec: replace snprintf() with strlcpy() in fec_ptp_init()drivers/net/ethernet/freescale/fec_ptp.c+1 -10 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard CochranVladimir OlteanFugang Duan
SeriesA-b A-b A-b A-b A-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] net: fec: fix external PTP PHY support

This is a collection of otherwise independent fixes that got developed out of attempt to use DP83640 PTP PHY connected to built-in fec1 (that has its own PTP support) of the iMX 6SX micro-controller.

The first patch in the series is actual fix for appeared problems, while the rest are small style or behavior improvements made during development of the fix.

NOTE: the patches are developed and tested on 4.9.146, and rebased on top of recent 'master', where, besides visual inspection, I only tested that they do compile.

NOTE: for more background, please refer here:

https://lore.kernel.org/netdev/[email protected]/

Sergey Organov (5):
net: fec: properly support external PTP PHY for hardware time stamping
net: fec: enable to use PPS feature without time stamping
net: fec: initialize clock with 0 rather than current kernel time
net: fec: get rid of redundant code in fec_ptp_set()
net: fec: replace snprintf() with strlcpy() in fec_ptp_init()

 drivers/net/ethernet/freescale/fec.h      |  1 +
 drivers/net/ethernet/freescale/fec_main.c | 19 +++++++++++++++----
 drivers/net/ethernet/freescale/fec_ptp.c  | 24 ++++++++++++++----------
 3 files changed, 30 insertions(+), 14 deletions(-)
Signature · 1 line
2.10.0.1.g57b01a3