mbox series

[net-next,0/2] net: stmmac: thead: clean up clock rate setting

Message ID Z7iKdaCp4hLWWgJ2@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: stmmac: thead: clean up clock rate setting | expand

Message

Russell King (Oracle) Feb. 21, 2025, 2:15 p.m. UTC
Hi,

This series cleans up the thead clock rate setting to use the
rgmii_clock() helper function added to phylib.

The first patch switches over to using the rgmii_clock() helper,
and the second patch cleans up the verification that the desired
clock rate is achievable, allowing the private clock rate
definitions to be removed.

 drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c | 28 ++++++++---------------
 1 file changed, 9 insertions(+), 19 deletions(-)