[PATCH v3 0/4] PTP support for macb driver
From: Rafal Ozieblo
Date: Fri Jun 16 2017 - 07:59:34 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
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 | 3509 -----------------------
drivers/net/ethernet/cadence/macb.h | 158 +-
drivers/net/ethernet/cadence/macb_main.c | 3646 ++++++++++++++++++++++++
drivers/net/ethernet/cadence/macb_ptp.c | 518 ++++
7 files changed, 4330 insertions(+), 3517 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