mbox series

[net-next,v1,0/5] Side MDIO Support for LAN937x Switches

Message ID 20241026063538.2506143-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series Side MDIO Support for LAN937x Switches | expand

Message

Oleksij Rempel Oct. 26, 2024, 6:35 a.m. UTC
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