]> www.infradead.org Git - users/hch/misc.git/commit
net: phy: realtek: add support for reading MDIO_MMD_VEND2 regs on RTL8125/RTL8126
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 11 Jan 2025 20:49:31 +0000 (21:49 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 14 Jan 2025 22:51:32 +0000 (14:51 -0800)
commit3d483a10327f38595f714f9f9e9dde43a622cb0f
tree6cadbcea36260d6fe036259c6702827ff7da76f3
parentb56e4d660a9688ff83f5cbdc6e3ea063352d0d79
net: phy: realtek: add support for reading MDIO_MMD_VEND2 regs on RTL8125/RTL8126

RTL8125/RTL8126 don't support MMD access to the internal PHY, but
provide a mechanism to access at least all MDIO_MMD_VEND2 registers.
By exposing this mechanism standard MMD access functions can be used
to access the MDIO_MMD_VEND2 registers.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/e821b302-5fe6-49ab-aabd-05da500581c0@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek.c