mbox series

[v3,0/3] RTL9300 MDIO driver

Message ID 20241217224501.398039-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series RTL9300 MDIO driver | expand

Message

Chris Packham Dec. 17, 2024, 10:44 p.m. UTC
This series adds a driver for the MDIO controller on the RTL9300 family
of devices. The controller is a little unique in that we can't access
the SMI interfaces directly. Instead we associate the SMI interface with
a switch port and use the port number to address the SMI bus in
software.

Lee has picked up the mfd binding change so I've dropped it from this round.

Chris Packham (3):
  dt-bindings: net: Add Realtek MDIO controller
  mips: dts: realtek: Add MDIO controller
  net: mdio: Add RTL9300 MDIO driver

 .../bindings/net/realtek,rtl9301-mdio.yaml    |  82 +++++
 arch/mips/boot/dts/realtek/rtl930x.dtsi       |   8 +
 drivers/net/mdio/Kconfig                      |   7 +
 drivers/net/mdio/Makefile                     |   1 +
 drivers/net/mdio/mdio-realtek-rtl.c           | 341 ++++++++++++++++++
 5 files changed, 439 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
 create mode 100644 drivers/net/mdio/mdio-realtek-rtl.c