Skip to content
Commit 6fa41cdd authored by Samuel Holland's avatar Samuel Holland Committed by Andre Przywara
Browse files

phy: sun4i-usb: Support VBUS detection via power supply



The device tree binding provides for getting VBUS state from a device
referenced by phandle, as an optional alternative to using a GPIO. In
U-Boot, where there is no power supply class, this VBUS detection will
be implemented using a regulator device and its get_enable method.
Let's hook this up to the PHY driver.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Acked-by: default avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent 1da7b88c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment