]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
authorJernej Skrabec <jernej.skrabec@siol.net>
Sun, 29 Sep 2019 08:52:59 +0000 (10:52 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 30 Sep 2019 20:12:03 +0000 (22:12 +0200)
commit9014dcb976388afd01fa9f4e4e62284def58a167
tree5c7b8a74f534373339605c9b14c795b822585a34
parent1d821b4a2679d7cfda4b6666799e6b38489b53bb
arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay

It turns out that sopine-baseboard needs same fix as pine64-plus
for ethernet PHY. Here too Realtek ethernet PHY chip needs additional
power on delay to properly initialize. Datasheet mentions that chip
needs 30 ms to be properly powered on and that it needs some more time
to be initialized.

Fix that by adding 100ms ramp delay to regulator responsible for
powering PHY.

Note that issue was found out and fix tested on pine64-lts, but it's
basically the same as sopine-baseboard, only layout and connectors
differ.

Fixes: f06797ef8569 ("arm64: allwinner: a64: add Ethernet PHY regulator for several boards")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts