From: Jakub Kicinski Date: Fri, 28 Feb 2025 18:20:50 +0000 (-0800) Subject: Merge branch 'net-stmmac-cleanup-transmit-clock-setting' X-Git-Tag: io_uring-6.15-20250403~82^2~198 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=8e7e3d97f9a7eb65c98894e6a8d68eb0c49dec4b;p=linux-block.git Merge branch 'net-stmmac-cleanup-transmit-clock-setting' Russell King says: ==================== net: stmmac: cleanup transmit clock setting A lot of stmmac platform code which sets the transmit clock is very similar - they decode the speed to the clock rate (125, 25 or 2.5 MHz) and then set a clock to that rate. The DWMAC core appears to have a clock input for the transmit section called clk_tx_i which requires this rate. This series moves the code which sets this clock into the core stmmac code. Patch 1 adds a hook that platforms can use to configure the clock rate. Patch 2 adds a generic implementation. The remainder of the patches convert the glue code for various platforms to use this new infrastructure. ==================== Link: https://patch.msgid.link/Z8AtX-wyPal1auVO@shell.armlinux.org.uk Signed-off-by: Jakub Kicinski --- 8e7e3d97f9a7eb65c98894e6a8d68eb0c49dec4b