]> Gentwo Git Trees - linux/.git/commit
phy: add hwtstamp_get callback to phy drivers
authorVadim Fedorenko <vadim.fedorenko@linux.dev>
Mon, 24 Nov 2025 18:11:46 +0000 (18:11 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Nov 2025 00:56:33 +0000 (16:56 -0800)
commitf467777efbfb8034d813b601b961b25f777b3d37
treea68919a6796401cd11db2b12beb43f54255c2c59
parent6aac2aa2dfae38b60f22c3dfe4103ceefbe2d761
phy: add hwtstamp_get callback to phy drivers

PHY devices had lack of hwtstamp_get callback even though most of them
are tracking configuration info. Introduce new call back to
mii_timestamper.

Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251124181151.277256-3-vadim.fedorenko@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phy.c
include/linux/mii_timestamper.h
net/core/dev_ioctl.c