]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: dsa: lantiq_gswip: support standard MDIO node name
authorDaniel Golle <daniel@makrotopia.org>
Sat, 30 Aug 2025 02:34:23 +0000 (03:34 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Sep 2025 00:45:43 +0000 (17:45 -0700)
commit720412c4aebc91fdb6c880353a9465ab36a26614
tree8d4af567770b131d8923df4dc2864cc8bb6f3c00
parent5157820326f34e41d69b6a93d3c1c8302354c024
net: dsa: lantiq_gswip: support standard MDIO node name

Instead of matching against the child node's compatible string also
support locating the node of the device tree node of the MDIO bus
in the standard way by referencing the node name ("mdio").

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Reviewed-by: Hauke Mehrtens <hauke@hauke-m.de>
Link: https://patch.msgid.link/5a9a3d659ef0d8b7eca37fb69ec87ff5a3192820.1756520811.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/lantiq/lantiq_gswip.c