[PATCH net-next v7 0/2] RTL9300 MDIO driver

From: Chris Packham
Date: Tue Feb 25 2025 - 19:08:23 EST


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. This means we need to use the hardware description from
the DTS to compute a mapping of switch port to mdio bus/address.

The dt-bindings have been applied to net-next.

I've dropped a patch that added PHYs to the cameo-rtl9302c board as I know that
will need updating once some of the other in-flight changes make it into
linux-mips.

Chris Packham (2):
net: mdio: Add RTL9300 MDIO driver
mips: dts: realtek: Add MDIO controller

arch/mips/boot/dts/realtek/rtl930x.dtsi | 33 ++
drivers/net/mdio/Kconfig | 7 +
drivers/net/mdio/Makefile | 1 +
drivers/net/mdio/mdio-realtek-rtl9300.c | 475 ++++++++++++++++++++++++
4 files changed, 516 insertions(+)
create mode 100644 drivers/net/mdio/mdio-realtek-rtl9300.c

--
2.48.1