diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-06-04 12:58:39 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2016-07-04 21:17:56 +0200 |
commit | fc51b632c7b047c25807023b76f3877aed19c770 (patch) | |
tree | d88573a1bd9eaba9fdea4925b51acf68bdb8fa3b /arch/arm/boot/dts/sun4i-a10-a1000.dts | |
parent | ARM: dts: sun9i: cubieboard4: Drop sunxi-common-regulators.dtsi (diff) | |
download | linux-fc51b632c7b047c25807023b76f3877aed19c770.tar.xz linux-fc51b632c7b047c25807023b76f3877aed19c770.zip |
ARM: dts: sunxi: Add a startup delay for fixed regulator enabled phys
It seems that recent kernels have a shorter timeout when scanning for
ethernet phys causing us to hit a timeout on boards where the phy's
regulator gets enabled just before scanning, which leads to non working
ethernet.
A 10ms startup delay seems to be enough to fix it, this commit adds a
20ms startup delay just to be safe.
This has been tested on a sun4i-a10-a1000 and sun5i-a10s-wobo-i5 board,
both of which have non-working ethernet on recent kernels without this
fix.
Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-a1000.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-a1000.dts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-a1000.dts b/arch/arm/boot/dts/sun4i-a10-a1000.dts index c92a1ae33a1e..fa70b8fbf221 100644 --- a/arch/arm/boot/dts/sun4i-a10-a1000.dts +++ b/arch/arm/boot/dts/sun4i-a10-a1000.dts @@ -84,6 +84,7 @@ regulator-name = "emac-3v3"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; + startup-delay-us = <20000>; enable-active-high; gpio = <&pio 7 15 GPIO_ACTIVE_HIGH>; }; |