The latest versions of the AX88179A (AX88179A_HW_EC_VERSION >= 3), the AX88772D, which shares the same MAC as the AX88179A and merely has a different 100MBit PHY and all versions of the AX88279 support PTP. This adds a complete implementation of PTP for these devices. It was tested on the AX88179A/B, the AX88279 and the AX88772E as a latest version of the AX88772D. It was cross-verified with an older version of the AX88179A. Signed-off-by: Birger Koblitz <ma…@birger-koblitz.de> --- Changes in v2: - Move all length manipulations of the ptp_info SKB queue with TX timestamps into producer context to prevent races, age out stale SKBs and cap maximum queue length - Use index i to access ptp_info buffer instead of reading 0 element - Fix error paths and resource cleanup in register()/unregister() of PTP data structures - Kill work before suspend and make sure URBs are also killed, re-enable work only when link is up - Use SPEED_* instead of ETHER_LINK_* on AX88179A timing calculations - Fix endian converion of 32 bit writes for the PBUS - Use BIT_U64 for AX179A_RX_PD_PTP - Fix off-by-one nanosecond carry in ax88179a_ptp_adjtime() - Link to v1: https://lore.kernel.org/r/2026…@birger-koblitz.de --- Birger Koblitz (3): net: usb: ax88179: Add PTP data structures and definitions net: usb: ax88179: Add PTP Implementation net: usb: ax88179: Enable PTP drivers/net/usb/Kconfig | 1 + drivers/net/usb/Makefile | 2 +- drivers/net/usb/ax88179_lib.c | 20 +- drivers/net/usb/ax88179_lib.h | 10 +- drivers/net/usb/ax88179a_devices.c | 173 +++++++- drivers/net/usb/ax88179a_ptp.c | 883 +++++++++++++++++++++++++++++++++++++ drivers/net/usb/ax88179a_ptp.h | 244 ++++++++++ 7 files changed, 1318 insertions(+), 15 deletions(-) --- base-commit: eb6d6c80d35449c27471b1874f13066c09a8964d change-id: 20261129-ptp-5cc2670802f5 Best regards,
-- Birger Koblitz <ma…@birger-koblitz.de>