Re: [PATCH net-next] net: stmmac: dwmac-rk: enable the reference clock for output mode
From: Andrew Lunn
Date: Thu Jul 16 2026 - 09:21:42 EST
On Thu, Jul 16, 2026 at 06:56:06PM +1200, Jiaxing Hu wrote:
>
> rk_gmac_clk_init() only requests the refout clock group for RMII. The
> ArmSoM CM5 has an on-module YT8531 RGMII PHY with no crystal that needs
> the SoC 25 MHz reference (clk_mac_refout), so in RGMII the clock was
> never enabled and the PHY did not respond on MDIO.
Since the PHY is the consumer of the clock, it would be better if the
PHY enabled the clock.
Andrew
---
pw-bot: cr