summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParthiban Veerasooran <parthiban.veerasooran@microchip.com>2025-11-05 08:12:13 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-08 05:52:33 +0300
commitf424409483d26b3d54439cda832f273a54745cf6 (patch)
treeb6b2a800366dcff62de653e5a5399c015833265a
parentb87ee13e34931779ac1dcd3264beba50b54966fd (diff)
downloadlinux-f424409483d26b3d54439cda832f273a54745cf6.tar.xz
net: phy: microchip_t1s:: add cable diagnostic support for LAN867x Rev.D0
Enable Open Alliance TC14 (OATC14) 10Base-T1S cable diagnostic feature for Microchip LAN867x Rev.D0 PHY by implementing `cable_test_start` and `cable_test_get_status` using the generic C45 functions. This allows the `ethtool` utility to perform cable diagnostic tests directly on the PHY, improving network troubleshooting and maintenance. Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com> Link: https://patch.msgid.link/20251105051213.50443-3-parthiban.veerasooran@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/phy/microchip_t1s.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/microchip_t1s.c b/drivers/net/phy/microchip_t1s.c
index bce5cf087b19..5a0a66778977 100644
--- a/drivers/net/phy/microchip_t1s.c
+++ b/drivers/net/phy/microchip_t1s.c
@@ -573,6 +573,8 @@ static struct phy_driver microchip_t1s_driver[] = {
.get_plca_cfg = genphy_c45_plca_get_cfg,
.set_plca_cfg = lan86xx_plca_set_cfg,
.get_plca_status = genphy_c45_plca_get_status,
+ .cable_test_start = genphy_c45_oatc14_cable_test_start,
+ .cable_test_get_status = genphy_c45_oatc14_cable_test_get_status,
},
{
PHY_ID_MATCH_EXACT(PHY_ID_LAN865X_REVB),