mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 22:03:15 +00:00
830b3a8e40
Now that the Allwinner USB PHY driver supports the H616 quirk, let's enable support for USB ports on that SoC. We connect the compatible string to a new struct describing the SoCs USB PHY properties, and unblock the PHY driver selection in Kconfig. A later patch will enable USB support in the H616 boards' defconfigs. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
35 lines
987 B
Text
35 lines
987 B
Text
#
|
|
# Phy drivers for Allwinner platforms
|
|
#
|
|
config PHY_SUN4I_USB
|
|
bool "Allwinner Sun4I USB PHY driver"
|
|
depends on ARCH_SUNXI
|
|
depends on !MACH_SUN9I
|
|
default n if MACH_SUN8I_V3S
|
|
default y
|
|
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 regular USB HCI host PHYs.
|
|
|
|
config INITIAL_USB_SCAN_DELAY
|
|
int "Delay initial USB scan by x ms to allow builtin devices to init"
|
|
depends on PHY_SUN4I_USB
|
|
default 0
|
|
help
|
|
Some boards have on board usb devices which need longer than
|
|
the USB spec's 1 second to connect from board powerup. Set
|
|
this option to a nonzero value to add an extra delay before
|
|
the first USB bus scan.
|
|
|
|
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.
|