]> Git Repo - J-u-boot.git/commit
sunxi: Pine-H64: Explicitly enable PHY regulator
authorAndre Przywara <[email protected]>
Mon, 6 Jul 2020 00:40:46 +0000 (01:40 +0100)
committerJagan Teki <[email protected]>
Wed, 21 Oct 2020 18:15:50 +0000 (23:45 +0530)
commit3940a471553a31cda4e19024a1bf5bbdc4ac9e46
tree6709e1c809c2cc89f6a1e3dd0cbf3f6b1f36121e
parent4f0278dac56a658ef1e0967fec0bb95372a875bd
sunxi: Pine-H64: Explicitly enable PHY regulator

According to the devicetree and the schematic, the 3.3V power rail for
the PHY is enabled by GPIO PC16. It's wired as active-high, with a
pull-up resistor, so actually works already when the GPIO is in
High-Z state.

However we should not take any chances and explicitly set the GPIO pin
to high, to avoid accidentally losing the PHY power.
The existing MACPWR Kconfig allows to do this easily.

Signed-off-by: Andre Przywara <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Tested-by: Amit Singh Tomar <[email protected]> # Pine64+
Reviewed-by: Jagan Teki <[email protected]>
configs/pine_h64_defconfig
This page took 0.033831 seconds and 4 git commands to generate.