netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] add hwtstamp_get callback to phy drivers
@ 2025-11-12  0:02 Vadim Fedorenko
  2025-11-12  0:02 ` [PATCH net-next 1/8] phy: add hwtstamp_get callback to retrieve config Vadim Fedorenko
                   ` (7 more replies)
  0 siblings, 8 replies; 12+ messages in thread
From: Vadim Fedorenko @ 2025-11-12  0:02 UTC (permalink / raw)
  To: Andrew Lunn, Florian Fainelli, Russell King, Heiner Kallweit,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Andrei Botila, Richard Cochran, Andrew Lunn
  Cc: Simon Horman, Vladimir Oltean, Jacob Keller, Kory Maincent,
	bcm-kernel-feedback-list, netdev, Vadim Fedorenko

PHY drivers are able to configure HW time stamping and are not able to
report configuration back to user space. Add callback to report
configuration like it's done for net_device and add implementation to
the drivers.

Vadim Fedorenko (8):
  phy: add hwtstamp_get callback to retrieve config
  net: phy: broadcom: add HW timestamp configuration reporting
  net: phy: dp83640: add HW timestamp configuration reporting
  net: phy: micrel: add HW timestamp configuration reporting
  net: phy: microchip_rds_ptp: add HW timestamp configuration reporting
  phy: mscc: add HW timestamp configuration reporting
  net: phy: nxp-c45-tja11xx: add HW timestamp configuration reporting
  ptp: ptp_ines: add HW timestamp configuration reporting

 drivers/net/phy/bcm-phy-ptp.c       | 21 +++++++++++---
 drivers/net/phy/dp83640.c           | 29 +++++++++++++------
 drivers/net/phy/micrel.c            | 43 +++++++++++++++++++++++------
 drivers/net/phy/microchip_rds_ptp.c | 21 +++++++++++---
 drivers/net/phy/mscc/mscc_ptp.c     | 21 +++++++++++---
 drivers/net/phy/nxp-c45-tja11xx.c   | 22 ++++++++++++---
 drivers/net/phy/phy.c               | 30 ++++++++++++++++----
 drivers/ptp/ptp_ines.c              | 31 ++++++++++++++++++---
 include/linux/mii_timestamper.h     | 13 ++++++---
 include/linux/phy.h                 |  4 +--
 10 files changed, 188 insertions(+), 47 deletions(-)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-11-13  4:50 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-12  0:02 [PATCH net-next 0/8] add hwtstamp_get callback to phy drivers Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 1/8] phy: add hwtstamp_get callback to retrieve config Vadim Fedorenko
2025-11-12 20:31   ` Andrew Lunn
2025-11-13  4:49   ` kernel test robot
2025-11-13  4:49   ` kernel test robot
2025-11-12  0:02 ` [PATCH net-next 2/8] net: phy: broadcom: add HW timestamp configuration reporting Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 3/8] net: phy: dp83640: " Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 4/8] net: phy: micrel: " Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 5/8] net: phy: microchip_rds_ptp: " Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 6/8] phy: mscc: " Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 7/8] net: phy: nxp-c45-tja11xx: " Vadim Fedorenko
2025-11-12  0:02 ` [PATCH net-next 8/8] ptp: ptp_ines: " Vadim Fedorenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).