Re: [PATCH net-next] net: phy: Handle PHY reset during initial PHY ID read

From: Andrew Lunn

Date: Wed Mar 11 2026 - 15:06:30 EST


> This work was the result of Russell mentioning [1] that placing the
> reset GPIO under the PHY node in the device tree might result in it
> not working.
>
> I also talked about this at Plumbers in Tokyo last year during the
> Device Tree MC. There a few people mentioned that MDIO reset handling
> has been a pain point.

It is definitely a pain point. I wish we never added support for
resets, just left it to the bootloader to get the hardware into a
usable state before starting linux.

Anyway, i don't really see this being a MDIO/PHY problem. It is a
generic device driver model problem. We need the core to have generic
code used for any enumerable bus, PCIe, USB, SDIO, MDIO etc to ensure
the clocks, resets, regulators, etc are in the correct state that the
probe can work.

Once the core has this facility, we can modify MDIO to make use of it,
if needed.

Andrew

---
pw-bot: cr