]> Git Repo - J-linux.git/commitdiff
ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM
authorMarek Vasut <[email protected]>
Wed, 21 Jul 2021 18:12:53 +0000 (20:12 +0200)
committerAlexandre Torgue <[email protected]>
Fri, 30 Jul 2021 13:10:52 +0000 (15:10 +0200)
The LAN8710 Energy Detect Power Down (EDPD) functionality might cause
unreliable cable detection. There are multiple accounts of this in the
SMSC PHY driver patches which attempted to make EDPD reliable, however
it seems there is always some sort of corner case left. Unfortunatelly,
there is no errata documented which would confirm this to be a silicon
bug on the LAN87xx series of PHYs (LAN8700, LAN8710, LAN8720 at least).

Disable EDPD on the DHCOM SoM, just like multiple other boards already
do as well, to make the cable detection reliable.

Fixes: 34e0c7847dcf ("ARM: dts: stm32: Add DH Electronics DHCOM STM32MP1 SoM and PDK2 board")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Alexandre Torgue <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
To: [email protected]
Signed-off-by: Alexandre Torgue <[email protected]>
arch/arm/boot/dts/stm32mp15xx-dhcom-som.dtsi

index 8349c9099e301ebc5c6b3d85ff47b5c8f900855f..8c41f819f77696171d8da706391979983cbaf5b2 100644 (file)
                        reset-gpios = <&gpioh 3 GPIO_ACTIVE_LOW>;
                        reset-assert-us = <500>;
                        reset-deassert-us = <500>;
+                       smsc,disable-energy-detect;
                        interrupt-parent = <&gpioi>;
                        interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                };
This page took 0.063272 seconds and 4 git commands to generate.