Re: [PATCH net-next] net: phy: motorcomm: enable the reference clock for YT8531

From: Andrew Lunn

Date: Sun Jul 19 2026 - 11:35:35 EST


On Sun, Jul 19, 2026 at 03:45:55PM +1200, Jiaxing Hu wrote:
> The YT8531 needs a 25 MHz reference. On boards without a local crystal
> it is fed from the SoC, described as a clock on the PHY node. Get and
> enable it in probe so the PHY is clocked before its registers are
> accessed. The clock is optional, so crystal-clocked boards are
> unaffected.
>
> Signed-off-by: Jiaxing Hu <gahing@xxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew