[PATCH v3 0/4] PTP support for macb driver
Rafal Ozieblo
rafalo at cadence.com
Fri Jun 16 04:58:18 PDT 2017
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
More information about the linux-arm-kernel
mailing list