public inbox for linux-mips@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v7 0/2] RTL9300 MDIO driver
@ 2025-02-26  0:07 Chris Packham
  2025-02-26  0:07 ` [PATCH net-next v7 1/2] net: mdio: Add " Chris Packham
  2025-02-26  0:07 ` [PATCH net-next v7 2/2] mips: dts: realtek: Add MDIO controller Chris Packham
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Packham @ 2025-02-26  0:07 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, tsbogend, andrew, hkallweit1, linux,
	davem, edumazet, kuba, pabeni, sander, markus.stockhausen
  Cc: devicetree, linux-mips, linux-kernel, netdev, Chris Packham

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-02-26 19:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  0:07 [PATCH net-next v7 0/2] RTL9300 MDIO driver Chris Packham
2025-02-26  0:07 ` [PATCH net-next v7 1/2] net: mdio: Add " Chris Packham
2025-02-26  7:45   ` Maxime Chevallier
2025-02-26 19:35     ` Chris Packham
2025-02-26  0:07 ` [PATCH net-next v7 2/2] mips: dts: realtek: Add MDIO controller Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox