]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: dts: stm32: Keep MDIO bus in AF across suspend DH STM32MP13xx DHCOR DHSBC board
authorMarek Vasut <marex@denx.de>
Fri, 5 Jul 2024 07:59:10 +0000 (09:59 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 5 Sep 2024 09:31:55 +0000 (11:31 +0200)
commitb230e1b21c6217647d8452eab4c43420ef02b58d
tree44522ceeaef65300b2b4e221f300fbade3ed40a0
parent8400291e289ee6b2bf9779ff1c83a291501f017b
ARM: dts: stm32: Keep MDIO bus in AF across suspend DH STM32MP13xx DHCOR DHSBC board

The RTL8211F PHY gets confused when the MDIO bus lines get switched
to ANALOG during suspend/resume cycle. Keep the MDIO and MDC lines
in AF during suspend/resume to avoid confusing the PHY. The PHY can
be brought out of the confused state by restarting auto-negotiation
too, but that seems like an odd workaround and shouldn't be in the
PHY driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi