[PATCH net-next v2 00/11] net: stmmac: mdio cleanups

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Mon Sep 8 18:30:36 PDT 2025


Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Thu, 4 Sep 2025 13:10:42 +0100 you wrote:
> On Wed, Sep 03, 2025 at 01:38:57PM +0100, Russell King (Oracle) wrote:
> Hi,
> 
> Clean up the stmmac MDIO code:
> - provide an address register formatter to avoid repeated code
> - provide a common function to wait for the busy bit to clear
> - pre-compute the CR field (mdio clock divider)
> - move address formatter into read/write functions
> - combine the read/write functions into a common accessor function
> - move runtime PM handling into common accessor function
> - rename register constants to better reflect manufacturer names
> - move stmmac_clk_csr_set() into stmmac_mdio
> - make stmmac_clk_csr_set() return the CR field value and remove
>   priv->clk_csr
> - clean up if() range tests in stmmac_clk_csr_set()
> - use STMMAC_CSR_xxx definitions in initialisers
> 
> [...]

Here is the summary with links:
  - [net-next,v2,01/11] net: stmmac: mdio: provide address register formatter
    https://git.kernel.org/netdev/net-next/c/16e03235d51b
  - [net-next,v2,02/11] net: stmmac: mdio: provide stmmac_mdio_wait()
    https://git.kernel.org/netdev/net-next/c/9eb633ad1d69
  - [net-next,v2,03/11] net: stmmac: mdio: provide priv->gmii_address_bus_config
    https://git.kernel.org/netdev/net-next/c/6717746f33ab
  - [net-next,v2,04/11] net: stmmac: mdio: move stmmac_mdio_format_addr() into read/write
    https://git.kernel.org/netdev/net-next/c/6cb3d67ad624
  - [net-next,v2,05/11] net: stmmac: mdio: merge stmmac_mdio_read() and stmmac_mdio_write()
    https://git.kernel.org/netdev/net-next/c/9b0ed33a4256
  - [net-next,v2,06/11] net: stmmac: mdio: move runtime PM into stmmac_mdio_access()
    https://git.kernel.org/netdev/net-next/c/9b88194a3b68
  - [net-next,v2,07/11] net: stmmac: mdio: improve mdio register field definitions
    https://git.kernel.org/netdev/net-next/c/3581acbb789a
  - [net-next,v2,08/11] net: stmmac: mdio: move initialisation of priv->clk_csr to stmmac_mdio
    https://git.kernel.org/netdev/net-next/c/661a868937a1
  - [net-next,v2,09/11] net: stmmac: mdio: return clk_csr value from stmmac_clk_csr_set()
    https://git.kernel.org/netdev/net-next/c/231e2b016fb2
  - [net-next,v2,10/11] net: stmmac: mdio: remove redundant clock rate tests
    https://git.kernel.org/netdev/net-next/c/78c91bec8fb9
  - [net-next,v2,11/11] net: stmmac: use STMMAC_CSR_xxx definitions in platform glue
    https://git.kernel.org/netdev/net-next/c/fc8f62c827ea

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the linux-arm-kernel mailing list