]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 9 Sep 2019 18:42:35 +0000 (20:42 +0200)
committerMaxime Ripard <mripard@kernel.org>
Mon, 30 Sep 2019 20:12:02 +0000 (22:12 +0200)
commit9a19e7695984ca45e68829dfb80326586ca6fa6e
tree88f85ac328fe8b277c72d125b335d6c318296536
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay

Depending on kernel and bootloader configuration, it's possible that
Realtek ethernet PHY isn't powered on properly. According to the
datasheet, it needs 30ms to power up and then some more time before it
can be used.

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

Fixes: 7bd67adfd189 ("arm64: allwinner: pine64-plus: Enable dwmac-sun8i")
Suggested-by: Ondrej Jirman <megous@megous.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts