]> asedeno.scripts.mit.edu Git - linux.git/commit
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)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 4 Jul 2016 19:17:56 +0000 (21:17 +0200)
commitfc51b632c7b047c25807023b76f3877aed19c770
treed88573a1bd9eaba9fdea4925b51acf68bdb8fa3b
parent1f241993d4cff64e4125e982a3172f846b5d6909
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>
arch/arm/boot/dts/sun4i-a10-a1000.dts
arch/arm/boot/dts/sun4i-a10-hackberry.dts
arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts
arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts