Thread (4 messages) 4 messages, 3 authors, 20h ago

Re: [PATCH net-next] net: phy: motorcomm: Add cable test support for internal YT861x PHYs

From: Andrew Lunn <andrew@lunn.ch>
Date: 2026-10-04 20:17:37
Also in: lkml

On Mon, Oct 05, 2026 at 02:42:43AM +0800, David Yang wrote:
The YT921x switches integrate GbE PHYs of the YT861x family (PHY ID
0x01e04281) on the switch-internal MDIO bus exposed by the yt921x DSA
driver. Without a specific driver they bind to the generic PHY driver
and lack the cable diagnostic facility. Add a driver entry for them
with cable test support.
Since this does two different things, it should be two patches.

Does the cable test code apply to other devices this driver drive?
quoted hunk ↗ jump to hunk
@@ -18,7 +19,9 @@
 #define PHY_ID_YT8522		0x4f51e928
 #define PHY_ID_YT8531		0x4f51e91b
 #define PHY_ID_YT8531S		0x4f51e91a
+#define PHY_ID_INT861X		0x01e04281
Is this the ID of the switch itself? It does not match the pattern.
 #define PHY_ID_YT8821		0x4f51ea19
	Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help