[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251105051213.50443-1-parthiban.veerasooran@microchip.com>
Date: Wed, 5 Nov 2025 10:42:11 +0530
From: Parthiban Veerasooran <parthiban.veerasooran@...rochip.com>
To: <Parthiban.Veerasooran@...rochip.com>, <piergiorgio.beruto@...il.com>,
<andrew@...n.ch>, <hkallweit1@...il.com>, <linux@...linux.org.uk>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "Parthiban
Veerasooran" <parthiban.veerasooran@...rochip.com>
Subject: [PATCH net-next v3 0/2] net: phy: Add Open Alliance TC14 10Base-T1S PHY cable diagnostic support
This patch series adds Open Alliance TC14 (OATC14) 10BASE-T1S cable
diagnostic feature support to the Linux kernel PHY subsystem and enable
this feature for Microchip LAN867x Rev.D0 PHYs. These patches provide
standardized cable test functionality for 10BASE-T1S Ethernet PHYs,
allowing users to perform cable diagnostics via ethtool.
Patch Summary:
1. add OATC14 10BASE-T1S PHY cable diagnostic support
- Implements support for the OATC14 cable diagnostic feature in
Clause 45 PHYs.
- Adds functions to start a cable test and retrieve its status,
mapping hardware results to ethtool codes.
- Exports these functions for use by PHY drivers.
- Open Alliance TC14 10BASE-T1S Advanced Diagnostic PHY Features.
https://opensig.org/wp-content/uploads/2025/06/OPEN_Alliance_10BASE-T1S_Advanced_PHY_features_for-automotive_Ethernet_V2.1b.pdf
2. add cable diagnostic support for LAN867x Rev.D0
- Integrates the generic OATC14 cable test functions into the
Microchip LAN867x Rev.D0 PHY driver.
- Enables ethtool cable diagnostics for this PHY, improving
troubleshooting and maintenance.
v2:
- Updated the cover letter subject line for clarity.
v3:
- Explicitly initialized the first enumeration value
OATC14_HDD_STATUS_CABLE_OK to 0, ensuring that the enumeration starts
from 0.
- Code style update — aligned .cable_test_get_status assignment to a
single line for improved readability.
Parthiban Veerasooran (2):
net: phy: phy-c45: add OATC14 10BASE-T1S PHY cable diagnostic support
net: phy: microchip_t1s:: add cable diagnostic support for LAN867x
Rev.D0
drivers/net/phy/mdio-open-alliance.h | 36 ++++++++
drivers/net/phy/microchip_t1s.c | 2 +
drivers/net/phy/phy-c45.c | 122 +++++++++++++++++++++++++++
include/linux/phy.h | 3 +
4 files changed, 163 insertions(+)
base-commit: 89aec171d9d1ab168e43fcf9754b82e4c0aef9b9
--
2.34.1
Powered by blists - more mailing lists