aboutsummaryrefslogtreecommitdiff
path: root/drivers/phy
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2022-07-14 23:09:19 -0500
committerAndre Przywara <andre.przywara@arm.com>2022-07-18 23:48:09 +0100
commita35628ec33a12032b82cc7be58f8b41c7ab0a4b2 (patch)
tree4d995681bb16fc9d4274679aa186965ea4edc215 /drivers/phy
parent5fd30ed78539e11c2c155001a88f483441a96ebd (diff)
downloadu-boot-a35628ec33a12032b82cc7be58f8b41c7ab0a4b2.zip
u-boot-a35628ec33a12032b82cc7be58f8b41c7ab0a4b2.tar.gz
u-boot-a35628ec33a12032b82cc7be58f8b41c7ab0a4b2.tar.bz2
sunxi: Move INITIAL_USB_SCAN_DELAY to driver Kconfig
This option is used only by the phy-sun4i-usb driver, which does not inherently depend on the ARM architecture. Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'drivers/phy')
-rw-r--r--drivers/phy/allwinner/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/phy/allwinner/Kconfig b/drivers/phy/allwinner/Kconfig
index d3ff82f..f8f1e99 100644
--- a/drivers/phy/allwinner/Kconfig
+++ b/drivers/phy/allwinner/Kconfig
@@ -13,6 +13,16 @@ config PHY_SUN4I_USB
This driver controls the entire USB PHY block, both the USB OTG
parts, as well as the 2 regular USB 2 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