Hi, This series adds PTP support for PP2.2 hardware to the mvpp2 driver. Tested on the Macchiatobin eth1 port.
Note that on the Macchiatobin, eth0 uses a separate TAI block from eth1, and there is no hardware synchronisation between the two. drivers/net/ethernet/marvell/Kconfig | 6 + drivers/net/ethernet/marvell/mvpp2/Makefile | 3 +- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 202 +++++++++- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 410 ++++++++++++++++++--- drivers/net/ethernet/marvell/mvpp2/mvpp2_tai.c | 467 ++++++++++++++++++++++++ 5 files changed, 1038 insertions(+), 50 deletions(-) create mode 100644 drivers/net/ethernet/marvell/mvpp2/mvpp2_tai.c v2: add Andrew's r-bs, squash patch 6 and patch 7. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!