Jagan Teki | d3c3828 | 2018-05-07 13:03:26 +0530 | [diff] [blame] | 1 | # |
| 2 | # Phy drivers for Allwinner platforms |
| 3 | # |
| 4 | config PHY_SUN4I_USB |
| 5 | bool "Allwinner Sun4I USB PHY driver" |
| 6 | depends on ARCH_SUNXI |
Andre Przywara | 7eb54e9 | 2023-06-12 00:32:37 +0100 | [diff] [blame] | 7 | depends on !MACH_SUN9I |
Andre Przywara | 7eb54e9 | 2023-06-12 00:32:37 +0100 | [diff] [blame] | 8 | default n if MACH_SUN8I_V3S |
| 9 | default y |
Samuel Holland | c70137c | 2021-09-12 09:22:42 -0500 | [diff] [blame] | 10 | select DM_REGULATOR |
Jagan Teki | d3c3828 | 2018-05-07 13:03:26 +0530 | [diff] [blame] | 11 | select PHY |
| 12 | help |
| 13 | Enable this to support the transceiver that is part of Allwinner |
| 14 | sunxi SoCs. |
| 15 | |
| 16 | This driver controls the entire USB PHY block, both the USB OTG |
Andre Przywara | 7eb54e9 | 2023-06-12 00:32:37 +0100 | [diff] [blame] | 17 | parts, as well as the regular USB HCI host PHYs. |
Samuel Holland | 208d99e | 2021-07-05 13:29:01 +0100 | [diff] [blame] | 18 | |
Samuel Holland | acfdc46 | 2022-07-14 23:09:19 -0500 | [diff] [blame] | 19 | config INITIAL_USB_SCAN_DELAY |
| 20 | int "Delay initial USB scan by x ms to allow builtin devices to init" |
| 21 | depends on PHY_SUN4I_USB |
| 22 | default 0 |
| 23 | help |
| 24 | Some boards have on board usb devices which need longer than |
| 25 | the USB spec's 1 second to connect from board powerup. Set |
| 26 | this option to a nonzero value to add an extra delay before |
| 27 | the first USB bus scan. |
| 28 | |
Samuel Holland | 208d99e | 2021-07-05 13:29:01 +0100 | [diff] [blame] | 29 | config PHY_SUN50I_USB3 |
| 30 | bool "Allwinner sun50i USB3 PHY driver" |
| 31 | depends on ARCH_SUNXI |
| 32 | select PHY |
| 33 | help |
| 34 | Enable this to support the USB3 transceiver that is part of |
| 35 | Allwinner sun50i SoCs. |