]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: mdio: Add RTL9300 MDIO driver
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Wed, 9 Apr 2025 23:15:54 +0000 (11:15 +1200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 15 Apr 2025 09:00:37 +0000 (11:00 +0200)
commit24e31e4747698dc50d408f0082d7eb9b9520d2f6
treee1ad80e38ad8ce2d5c2115c69173f1cc0e8c26a6
parent23f09f01b495cc510a19b30b6093fb4cb0284aaf
net: mdio: Add RTL9300 MDIO driver

Add a driver for the MDIO controller on the RTL9300 family of Ethernet
switches with integrated SoC. There are 4 physical SMI interfaces on the
RTL9300 however access is done using the switch ports. The driver takes
the MDIO bus hierarchy from the DTS and uses this to configure the
switch ports so they are associated with the correct PHY. This mapping
is also used when dealing with software requests from phylib.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250409231554.3943115-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/mdio/Kconfig
drivers/net/mdio/Makefile
drivers/net/mdio/mdio-realtek-rtl9300.c [new file with mode: 0644]