Thread (6 messages) read the whole thread 6 messages, 3 authors, 3d ago

Re: [PATCH net-next v2 0/2] net: stmmac: Fix PHY attach when custom PCS is in use

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-07-27 06:49:37
Also in: linux-arm-kernel, lkml

Hi,

On 7/26/26 15:26, Zxyan Zhu wrote:
This series fixes the issue where stmmac platforms using a custom PCS
via the pcs_init callback fail to probe when no phy-handle is specified
in the device tree.

Patch 1 is Russell King's phylink patch that relaxes phylink_expects_phy()
to allow PHYs to be attached in 802.3z inband mode.

Patch 2 skips the PHY attach in stmmac when a custom PCS is already
configured via priv->hw->phylink_pcs, avoiding the "no phy found" error
for platforms that manage link state entirely through the PCS.
I've tested this series on the board that saw the regression from Russell's
first attempt, and now with the associated stmmac patch, it works :)

Thanks for that, for the series :

Tested-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help