]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sunxi: Banana Pi: increase startup-delay for the GMAC PHY regulator
authorKarsten Merker <merker@debian.org>
Tue, 11 Nov 2014 23:01:46 +0000 (00:01 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 12 Nov 2014 13:37:15 +0000 (14:37 +0100)
commite641cc69c3d6e979f366d517c35cff2b4de7f0a5
tree55ef1bf308bfc79334b2614ad7795d1386be0b2f
parent78410115f9b38ae5842a8dece95964efcae6d3c6
ARM: dts: sunxi: Banana Pi: increase startup-delay for the GMAC PHY regulator

On the LeMaker Banana Pi, probing the external ethernet PHY connected
to the SoC's internal GMAC module sometimes fails. The PHY power
supply is handled via a GPIO-controlled regulator, and the existing
regulator startup-delay of 50000us is too short to make sure that the
PHY is always fully powered up when it is queried by phylib. Tests
have shown that to provide a reliable PHY detection, the startup-delay
has to be increased to at least 60000us. To have a certain safety margin
and to cater for manufacturing variations between different boards,
the delay gets set to 100000us as discussed on the linux-arm-kernel
mailinglist.

Signed-off-by: Karsten Merker <merker@debian.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20-bananapi.dts