openwrt/target/linux/realtek
Markus Stockhausen 084da38a2e realtek: mdio: activate multiple busses
The mdio controller inside the Realtek switches drives multiple busses.
Until now the driver exposed a flattened single bus (aka port view).
Align to the upstream driver and expose up to 4 busses depending on
the dts definition. For this:

1. Adapt rtmdio_probe() so it calls rtmdio_probe_one() for each child
dts child node that represents a single bus.

2. Adapt rtmdio_probe_one() so it registers a single bus in "full-auto"
mode. No more hacks via fwnode_mdiobus_register_phy() needed.

3. Adapt rtmdio_phy_to_port() so it uses a lookup based on the new
topology.

4. Adapt rtmdio_get_phy_info() for multiple busses.

5. In the DSA driver adapt the mdio controller load check to wait
until all busses have been registered.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22830
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-09 10:46:36 +02:00
..
base-files realtek: add support for Datto L8 2026-04-02 22:25:37 +02:00
dts treewide: strip trailing whitespace 2026-04-08 10:05:53 +02:00
files-6.12 treewide: strip trailing whitespace 2026-04-08 10:05:53 +02:00
files-6.18 realtek: mdio: activate multiple busses 2026-04-09 10:46:36 +02:00
image treewide: strip trailing whitespace 2026-04-08 10:05:53 +02:00
patches-6.12 realtek: Indicate that RTL8231 LED ops can sleep 2026-04-06 00:03:25 +02:00
patches-6.18 realtek: add RTL8224 initialization to Realtek driver 2026-04-08 18:46:32 +02:00
profiles
rtl838x kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
rtl839x kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
rtl930x kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
rtl930x_nand kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
rtl931x kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
rtl931x_nand kernel: 6.18: move CONFIG_CRYPTO_LIB_SHA256 to generic 2026-04-06 01:38:41 +02:00
Makefile realtek: add v6.18 as testing kernel 2026-03-29 18:08:21 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00