linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v8 0/2] RTL9300 MDIO driver
@ 2025-02-27 21:32 Chris Packham
  2025-02-27 21:32 ` [PATCH net-next v8 1/2] net: mdio: Add " Chris Packham
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chris Packham @ 2025-02-27 21:32 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] 4+ messages in thread

end of thread, other threads:[~2025-03-04  1:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 21:32 [PATCH net-next v8 0/2] RTL9300 MDIO driver Chris Packham
2025-02-27 21:32 ` [PATCH net-next v8 1/2] net: mdio: Add " Chris Packham
2025-02-27 21:32 ` [PATCH net-next v8 2/2] mips: dts: realtek: Add MDIO controller Chris Packham
2025-03-04  1:32 ` [PATCH net-next v8 0/2] RTL9300 MDIO driver Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).