netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] RTL9300 MDIO driver
@ 2025-01-20  4:02 Chris Packham
  2025-01-20  4:02 ` [PATCH v4 1/4] dt-bindings: net: Add Realtek MDIO controller Chris Packham
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Chris Packham @ 2025-01-20  4:02 UTC (permalink / raw)
  To: lee, robh, krzk+dt, conor+dt, andrew+netdev, davem, edumazet,
	kuba, pabeni, tsbogend, hkallweit1, linux, sander,
	markus.stockhausen
  Cc: devicetree, linux-kernel, netdev, linux-mips, 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.

Chris Packham (4):
  dt-bindings: net: Add Realtek MDIO controller
  dt-bindings: mfd: Add MDIO interface to rtl9301-switch
  mips: dts: realtek: Add MDIO controller
  net: mdio: Add RTL9300 MDIO driver

 .../bindings/mfd/realtek,rtl9301-switch.yaml  |  24 +
 .../bindings/net/realtek,rtl9301-mdio.yaml    |  93 ++++
 arch/mips/boot/dts/realtek/rtl930x.dtsi       |  32 ++
 drivers/net/mdio/Kconfig                      |   7 +
 drivers/net/mdio/Makefile                     |   1 +
 drivers/net/mdio/mdio-realtek-rtl9300.c       | 417 ++++++++++++++++++
 6 files changed, 574 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml
 create mode 100644 drivers/net/mdio/mdio-realtek-rtl9300.c

-- 
2.47.1


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

end of thread, other threads:[~2025-01-31  7:26 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-20  4:02 [PATCH v4 0/4] RTL9300 MDIO driver Chris Packham
2025-01-20  4:02 ` [PATCH v4 1/4] dt-bindings: net: Add Realtek MDIO controller Chris Packham
2025-01-22  8:12   ` Krzysztof Kozlowski
2025-01-23 20:45     ` Chris Packham
2025-01-23 22:08       ` Andrew Lunn
2025-01-23 23:40         ` Chris Packham
2025-01-20  4:02 ` [PATCH v4 2/4] dt-bindings: mfd: Add MDIO interface to rtl9301-switch Chris Packham
2025-01-22  8:14   ` Krzysztof Kozlowski
2025-01-22 20:53     ` Chris Packham
2025-01-31  7:26       ` Krzysztof Kozlowski
2025-01-20  4:02 ` [PATCH v4 3/4] mips: dts: realtek: Add MDIO controller Chris Packham
2025-01-20  4:02 ` [PATCH v4 4/4] net: mdio: Add RTL9300 MDIO driver Chris Packham
2025-01-20 10:28   ` Sander Vanheule
2025-01-20 20:32     ` Chris Packham
2025-01-22 21:47       ` Andrew Lunn
2025-01-22 23:02         ` Chris Packham
2025-01-23  3:41           ` Andrew Lunn
2025-01-23  3:47             ` Chris Packham

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).