This patch set introduces support for an internal MDIO bus in LAN937x switches, enabling the use of a side MDIO channel for PHY management while keeping SPI as the main interface for switch configuration. Oleksij Rempel (5): dt-bindings: net: dsa: ksz: add internal MDIO bus description dt-bindings: net: dsa: ksz: add mdio-parent-bus property for internal MDIO net: dsa: microchip: Refactor MDIO handling for side MDIO access net: dsa: microchip: cleanup error handling in ksz_mdio_register net: dsa: microchip: add support for side MDIO interface in LAN937x .../bindings/net/dsa/microchip,ksz.yaml | 20 +++ drivers/net/dsa/microchip/ksz_common.c | 119 +++++++++++++-- drivers/net/dsa/microchip/ksz_common.h | 7 + drivers/net/dsa/microchip/lan937x.h | 2 + drivers/net/dsa/microchip/lan937x_main.c | 139 ++++++++++++++++-- drivers/net/dsa/microchip/lan937x_reg.h | 4 + 6 files changed, 259 insertions(+), 32 deletions(-) -- 2.39.5