mbox series

[net-next,0/2] net: stmmac: stmmac_pltfr_find_clk()

Message ID Z_Qbw0tZ2ktgBf7c@shell.armlinux.org.uk (mailing list archive)
Headers show
Series net: stmmac: stmmac_pltfr_find_clk() | expand

Message

Russell King (Oracle) April 7, 2025, 6:38 p.m. UTC
Hi,

The GBETH glue driver that is being proposed duplicates the clock
finding from the bulk clock data in the stmmac platform data structure.
iLet's provide a generic implementation that glue drivers can use, and
convert dwc-qos-eth to use it.

 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 14 ++------------
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c   | 11 +++++++++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h   |  3 +++
 3 files changed, 16 insertions(+), 12 deletions(-)