Thread (4 messages) 4 messages, 3 authors, 22d ago

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

flat view

From: David Yang <mmyangfl@gmail.com>
Date: 2026-10-04 20:57:17
Also in: lkml

On Mon, Oct 5, 2026 at 4:17 AM Andrew Lunn [off-list ref] wrote:
On Mon, Oct 05, 2026 at 02:42:43AM +0800, David Yang wrote:
quoted
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?
I don't have other devices to test with.
quoted
@@ -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.
It's live captured from the system. By the way the serdes PCS does
show something matching the pattern 0x4f51e899.
quoted
 #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