Add support for PTP Hardware Clock (PHC) for sparx5. Horatiu Vultur (9): net: sparx5: Move ifh from port to local variable dt-bindings: net: sparx5: Extend with the ptp interrupt dts: sparx5: Enable ptp interrupt net: sparx5: Add registers that are used by ptp functionality net: sparx5: Add support for ptp clocks net: sparx5: Implement SIOCSHWTSTAMP and SIOCGHWTSTAMP net: sparx5: Update extraction/injection for timestamping net: sparx5: Add support for ptp interrupts net: sparx5: Implement get_ts_info .../bindings/net/microchip,sparx5-switch.yaml | 2 + arch/arm64/boot/dts/microchip/sparx5.dtsi | 5 +- .../net/ethernet/microchip/sparx5/Makefile | 3 +- .../microchip/sparx5/sparx5_ethtool.c | 34 + .../ethernet/microchip/sparx5/sparx5_fdma.c | 2 + .../ethernet/microchip/sparx5/sparx5_main.c | 21 + .../ethernet/microchip/sparx5/sparx5_main.h | 66 +- .../microchip/sparx5/sparx5_main_regs.h | 335 ++++++++- .../ethernet/microchip/sparx5/sparx5_netdev.c | 42 +- .../ethernet/microchip/sparx5/sparx5_packet.c | 37 +- .../ethernet/microchip/sparx5/sparx5_ptp.c | 685 ++++++++++++++++++ 11 files changed, 1221 insertions(+), 11 deletions(-) create mode 100644 drivers/net/ethernet/microchip/sparx5/sparx5_ptp.c -- 2.33.0