mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] net: phy: Add Open Alliance TC14 10Base-T1S PHY cable diagnostic support
@ 2025-11-05  5:12 Parthiban Veerasooran
  2025-11-05  5:12 ` [PATCH net-next v3 1/2] net: phy: phy-c45: add OATC14 10BASE-T1S " Parthiban Veerasooran
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Parthiban Veerasooran @ 2025-11-05  5:12 UTC (permalink / raw)
  To: Parthiban.Veerasooran, piergiorgio.beruto, andrew, hkallweit1,
	linux, davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel, Parthiban Veerasooran

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-08  3:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-05  5:12 [PATCH net-next v3 0/2] net: phy: Add Open Alliance TC14 10Base-T1S PHY cable diagnostic support Parthiban Veerasooran
2025-11-05  5:12 ` [PATCH net-next v3 1/2] net: phy: phy-c45: add OATC14 10BASE-T1S " Parthiban Veerasooran
2025-11-05  5:12 ` [PATCH net-next v3 2/2] net: phy: microchip_t1s:: add cable diagnostic support for LAN867x Rev.D0 Parthiban Veerasooran
2025-11-08  3:00 ` [PATCH net-next v3 0/2] net: phy: Add Open Alliance TC14 10Base-T1S PHY cable diagnostic support patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®