[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251120174540.273859-1-vadim.fedorenko@linux.dev>
Date: Thu, 20 Nov 2025 17:45:33 +0000
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Andrew Lunn <andrew+netdev@...n.ch>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Russell King <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Andrei Botila <andrei.botila@....nxp.com>,
Richard Cochran <richardcochran@...il.com>,
Andrew Lunn <andrew@...n.ch>
Cc: Simon Horman <horms@...nel.org>,
Vladimir Oltean <vladimir.oltean@....com>,
Jacob Keller <jacob.e.keller@...el.com>,
Kory Maincent <kory.maincent@...tlin.com>,
bcm-kernel-feedback-list@...adcom.com,
netdev@...r.kernel.org,
Vadim Fedorenko <vadim.fedorenko@...ux.dev>
Subject: [PATCH net-next v4 0/7] add hwtstamp_get callback to phy drivers
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.
v3 -> v4:
* drop patches 5 and 6 from previous version as these drivers need logic
upgrade to report configuration correctly. I'll send these updates as
separate patchset
v2 -> v3:
* remove SIOCGHWTSTAMP in phy_mii_ioctl() as we discourage usage of
deprecated interface
v1 -> v2:
* split the first patch to rename part and add new callback part
* fix netcp driver calling mii_timestamper::hwtstamp
Vadim Fedorenko (7):
phy: rename hwtstamp callback to hwtstamp_set
phy: add hwtstamp_get callback to phy drivers
net: phy: broadcom: add HW timestamp configuration reporting
net: phy: dp83640: 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/ethernet/ti/netcp_ethss.c | 2 +-
drivers/net/phy/bcm-phy-ptp.c | 21 ++++++++++++++----
drivers/net/phy/dp83640.c | 29 ++++++++++++++++++-------
drivers/net/phy/micrel.c | 16 +++++++-------
drivers/net/phy/microchip_rds_ptp.c | 8 +++----
drivers/net/phy/mscc/mscc_ptp.c | 21 ++++++++++++++----
drivers/net/phy/nxp-c45-tja11xx.c | 22 +++++++++++++++----
drivers/net/phy/phy.c | 14 ++++++++----
drivers/ptp/ptp_ines.c | 31 +++++++++++++++++++++++----
include/linux/mii_timestamper.h | 13 +++++++----
include/linux/phy.h | 4 ++--
11 files changed, 134 insertions(+), 47 deletions(-)
--
2.47.3
Powered by blists - more mailing lists