mbox series

[0/3] net: dsa: b53: mmap: add MDIO Mux bus controller

Message ID 20230317113427.302162-1-noltari@gmail.com (mailing list archive)
Headers show
Series net: dsa: b53: mmap: add MDIO Mux bus controller | expand

Message

Álvaro Fernández Rojas March 17, 2023, 11:34 a.m. UTC
B53 MMAP devices have a MDIO Mux bus controller that must be registered after
properly initializing the switch.
If the MDIO Mux controller is registered from a separate driver and the device
has an external switch present, it will cause a race condition which will hang
the device.

Álvaro Fernández Rojas (3):
  dt-bindings: net: move bcm6368-mdio-mux bindings to b53
  net: dsa: b53: mmap: register MDIO Mux bus controller
  net: mdio: remove BCM6368 MDIO mux bus driver

 .../bindings/net/brcm,bcm6368-mdio-mux.yaml   |  52 -----
 .../devicetree/bindings/net/dsa/brcm,b53.yaml | 131 +++++++++++++
 drivers/net/dsa/b53/Kconfig                   |   1 +
 drivers/net/dsa/b53/b53_mmap.c                | 127 +++++++++++-
 drivers/net/mdio/Kconfig                      |  11 --
 drivers/net/mdio/Makefile                     |   1 -
 drivers/net/mdio/mdio-mux-bcm6368.c           | 184 ------------------
 7 files changed, 258 insertions(+), 249 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml
 delete mode 100644 drivers/net/mdio/mdio-mux-bcm6368.c