ARM: dts: sunxi: Add a startup delay for fixed regulator enabled phys
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Jun 2016 10:58:39 +0000 (12:58 +0200)
committerSasha Levin <alexander.levin@verizon.com>
Wed, 17 Aug 2016 16:58:31 +0000 (12:58 -0400)
commit2fc0cdf6e9a858c5bf3a1f23a7b673fbf9a3abf4
tree57c66f4604a6bf5a8563fd490a3e0566774d7184
parente19f0ec5aeb659cb7dd2bf6e4f1e842f5ad71fcf
ARM: dts: sunxi: Add a startup delay for fixed regulator enabled phys

[ Upstream commit fc51b632c7b047c25807023b76f3877aed19c770 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
arch/arm/boot/dts/sun4i-a10-a1000.dts
arch/arm/boot/dts/sun4i-a10-hackberry.dts