]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: fec_mxc: fix probe of MDIO bus for DM_MDIO
authorMarkus Niebel <Markus.Niebel@ew.tq-group.com>
Fri, 21 Nov 2025 17:34:43 +0000 (18:34 +0100)
committerFabio Estevam <festevam@nabladev.com>
Sat, 29 Nov 2025 17:42:26 +0000 (14:42 -0300)
commit206f38e8dd33371ec383ae73c07adb76b7b7abcb
tree3c855997d2d3641dbc8ea8e5c193d0f187d943a1
parent2aa6880bc582da6f4846e277d63818b059e3dcd0
net: fec_mxc: fix probe of MDIO bus for DM_MDIO

When initializing the MDIO bus the MDC signal needs to be configured.
Otherwise the communication over the bus may fail. Add the call to
fec_mii_setspeed to the DM_MDIO probe handler.

Fixes: 3b8f99a3e762 ("net: fec: add support for DM_MDIO")
Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Alexander Feilke <alexander.feilke@ew.tq-group.com>
drivers/net/fec_mxc.c