]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: am335x-bone-common: Increase MDIO reset deassert time
authorColin Foster <colin.foster@in-advantage.com>
Fri, 31 May 2024 18:38:17 +0000 (13:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:04:22 +0000 (11:04 +0100)
commit b9bf5612610aa7e38d58fee16f489814db251c01 upstream.

Prior to commit df16c1c51d81 ("net: phy: mdio_device: Reset device only
when necessary") MDIO reset deasserts were performed twice during boot.
Now that the second deassert is no longer performed, device probe
failures happen due to the change in timing with the following error
message:

SMSC LAN8710/LAN8720: probe of 4a101000.mdio:00 failed with error -5

Restore the original effective timing, which resolves the probe
failures.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Link: https://lore.kernel.org/r/20240531183817.2698445-1-colin.foster@in-advantage.com
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Nobuhiro Iwamatsu (CIP) <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/am335x-bone-common.dtsi

index 57004ecf0c34ccfb9115028f3dd44d6f223ba4d0..96269645ec358ce49b7c7370867cf1c3d3f12ba6 100644 (file)
                /* Support GPIO reset on revision C3 boards */
                reset-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
                reset-assert-us = <300>;
-               reset-deassert-us = <6500>;
+               reset-deassert-us = <13000>;
        };
 };