mbox series

[net-next,0/4] Support PTP clock for Wangxun NICs

Message ID 20250102103026.1982137-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series Support PTP clock for Wangxun NICs | expand

Message

Jiawen Wu Jan. 2, 2025, 10:30 a.m. UTC
Implement support for PTP clock on Wangxun NICs.

Jiawen Wu (4):
  net: wangxun: Add support for PTP clock
  net: wangxun: Implement get_ts_info
  net: wangxun: Add watchdog task for PTP clock
  net: ngbe: Add support for 1PPS and TOD

 drivers/net/ethernet/wangxun/libwx/Makefile   |    2 +-
 .../net/ethernet/wangxun/libwx/wx_ethtool.c   |   40 +
 .../net/ethernet/wangxun/libwx/wx_ethtool.h   |    2 +
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    |   19 +
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |    1 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   |  121 +-
 drivers/net/ethernet/wangxun/libwx/wx_lib.h   |    3 +
 drivers/net/ethernet/wangxun/libwx/wx_ptp.c   | 1013 +++++++++++++++++
 drivers/net/ethernet/wangxun/libwx/wx_ptp.h   |   20 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  107 ++
 .../net/ethernet/wangxun/ngbe/ngbe_ethtool.c  |    1 +
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c |   27 +-
 drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c |   11 +
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |    5 +
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    |    1 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |   17 +
 .../net/ethernet/wangxun/txgbe/txgbe_phy.c    |   10 +
 17 files changed, 1393 insertions(+), 7 deletions(-)
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_ptp.c
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_ptp.h