[PATCH v4 0/4] PTP support for macb driver

From: Rafal Ozieblo
Date: Thu Jun 29 2017 - 02:10:17 EST


This patch series adds support for PTP synchronization protocol
in Cadence GEM driver based on PHC.

v2 changes:
* removed alarm's support
* removed external time stamp support
* removed PTP event interrupt handling
* removed ptp_hw_support flag
* removed all extra sanity checks
* removed unnecessary #ifdef
* fixed coding style and alligment issues
* renamed macb.c to macb_main.c

v3 changes:
* added checking NULL ptr from ptp_clock_register()
* fixed error codes return
* locals list in "upside down Christmas tree" style
* fixed some other issues from review

v4 changes:
* respin to the newest next-next (28 Jun 2017)

Rafal Ozieblo (4):
net: macb: Add support for PTP timestamps in DMA descriptors
net: macb: Add tsu_clk to device tree
net: macb: macb.c changed to macb_main.c
net: macb: Add hardware PTP support

Documentation/devicetree/bindings/net/macb.txt | 1 +
drivers/net/ethernet/cadence/Kconfig | 10 +-
drivers/net/ethernet/cadence/Makefile | 5 +
drivers/net/ethernet/cadence/macb.c | 3529 -----------------------
drivers/net/ethernet/cadence/macb.h | 158 +-
drivers/net/ethernet/cadence/macb_main.c | 3666 ++++++++++++++++++++++++
drivers/net/ethernet/cadence/macb_ptp.c | 518 ++++
7 files changed, 4350 insertions(+), 3537 deletions(-)
delete mode 100644 drivers/net/ethernet/cadence/macb.c
create mode 100644 drivers/net/ethernet/cadence/macb_main.c
create mode 100755 drivers/net/ethernet/cadence/macb_ptp.c

--
2.4.5