]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: mdio: register SerDes bus so it can be looked up 20078/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Thu, 18 Sep 2025 06:35:32 +0000 (02:35 -0400)
committerRobert Marko <robimarko@gmail.com>
Thu, 18 Sep 2025 08:44:36 +0000 (10:44 +0200)
commite2271a1dab16dc98e37dbea5ba652ccbc1ba5c54
treecebedb81d21705df195278d0d5db561da8575608
parentbb783e8548c5e44edcb285393e54c7cd06fd455a
realtek: mdio: register SerDes bus so it can be looked up

The upcoming PCS driver will lookup the SerDes mdio bus via
of_mdio_find_bus() and the devicetree. This is only possible
with proper registration via devm_of_mdiobus_register().

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20078
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c