mbox series

[net-next,v3,0/6] Side MDIO Support for LAN937x Switches

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

Message

Oleksij Rempel Nov. 5, 2024, 9:09 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.

changes v3:
- add "net: dsa: microchip: parse PHY config from device tree" patch

other changelogs are added to separate patches.

Oleksij Rempel (6):
  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
  net: dsa: microchip: parse PHY config from device tree

 .../bindings/net/dsa/microchip,ksz.yaml       |  20 ++
 drivers/net/dsa/microchip/ksz_common.c        | 260 ++++++++++++++++--
 drivers/net/dsa/microchip/ksz_common.h        |  59 ++++
 drivers/net/dsa/microchip/lan937x.h           |   2 +
 drivers/net/dsa/microchip/lan937x_main.c      | 226 +++++++++++++--
 drivers/net/dsa/microchip/lan937x_reg.h       |   4 +
 6 files changed, 539 insertions(+), 32 deletions(-)

--
2.39.5