mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-15 07:43:07 +00:00
6fa41cdd19
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: Samuel Holland <samuel@sholland.org> Acked-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
22 lines
562 B
Text
22 lines
562 B
Text
#
|
|
# Phy drivers for Allwinner platforms
|
|
#
|
|
config PHY_SUN4I_USB
|
|
bool "Allwinner Sun4I USB PHY driver"
|
|
depends on ARCH_SUNXI
|
|
select DM_REGULATOR
|
|
select PHY
|
|
help
|
|
Enable this to support the transceiver that is part of Allwinner
|
|
sunxi SoCs.
|
|
|
|
This driver controls the entire USB PHY block, both the USB OTG
|
|
parts, as well as the 2 regular USB 2 host PHYs.
|
|
|
|
config PHY_SUN50I_USB3
|
|
bool "Allwinner sun50i USB3 PHY driver"
|
|
depends on ARCH_SUNXI
|
|
select PHY
|
|
help
|
|
Enable this to support the USB3 transceiver that is part of
|
|
Allwinner sun50i SoCs.
|