| 1 |
## |
| 2 |
## |
| 3 |
## SPDX-License-Identifier: GPL-2.0-only |
| 4 |
|
| 5 |
config USB |
| 6 |
bool "USB Support" |
| 7 |
default y |
| 8 |
|
| 9 |
config USB_UHCI |
| 10 |
bool "Support for USB UHCI controllers" |
| 11 |
depends on USB && ARCH_X86 |
| 12 |
default y if !CHROMEOS |
| 13 |
help |
| 14 |
Select this option if you are going to use USB 1.1 on an Intel based |
| 15 |
system. |
| 16 |
|
| 17 |
config USB_OHCI |
| 18 |
bool "Support for USB OHCI controllers" |
| 19 |
depends on USB |
| 20 |
default y if !CHROMEOS |
| 21 |
help |
| 22 |
Select this option if you are going to use USB 1.1 on a non-Intel based |
| 23 |
system. |
| 24 |
|
| 25 |
config USB_EHCI |
| 26 |
bool "Support for USB EHCI controllers" |
| 27 |
depends on USB |
| 28 |
default y if !CHROMEOS |
| 29 |
help |
| 30 |
Select this option if you want to use USB 2.0 |
| 31 |
|
| 32 |
config USB_XHCI |
| 33 |
bool "Support for USB xHCI controllers" |
| 34 |
depends on USB |
| 35 |
default y if !CHROMEOS |
| 36 |
help |
| 37 |
Select this option if you want to use USB 3.0 |
| 38 |
|
| 39 |
config USB_XHCI_MTK_QUIRK |
| 40 |
bool "Support for USB xHCI controllers on MTK SoC" |
| 41 |
depends on USB_XHCI |
| 42 |
help |
| 43 |
Select this option if you want to use USB 3.0 on MTK platform. |
| 44 |
|
| 45 |
config USB_DWC2 |
| 46 |
bool "Support for USB DesignWare HCD controllers" |
| 47 |
depends on USB |
| 48 |
help |
| 49 |
Select this option if you want to use DesignWare USB 2.0 host controller |
| 50 |
|
| 51 |
config USB_HID |
| 52 |
bool "Support for USB keyboards" |
| 53 |
depends on USB |
| 54 |
default y |
| 55 |
help |
| 56 |
Select this option if you want to use devices complying to the |
| 57 |
USB HID (Human Interface Device) standard. Such devices are for |
| 58 |
example keyboards and mice. Currently only keyboards are supported. |
| 59 |
Say Y here unless you know exactly what you are doing. |
| 60 |
|
| 61 |
config USB_HUB |
| 62 |
bool "Support for USB hubs" |
| 63 |
depends on USB |
| 64 |
default y |
| 65 |
help |
| 66 |
Select this option if you want to compile in support for USB hubs. |
| 67 |
Say Y here unless you know exactly what you are doing. |
| 68 |
|
| 69 |
config USB_EHCI_HOSTPC_ROOT_HUB_TT |
| 70 |
bool "Support for USB EHCI ROOT HUB that has TT" |
| 71 |
depends on USB_EHCI |
| 72 |
default n |
| 73 |
help |
| 74 |
Select this option if USB EHCI root hub supports TT (Transaction |
| 75 |
Translator). |
| 76 |
To support this TT feature we read port-speed from non-standard |
| 77 |
register HOSTPC (offset 84h of Operational Register base). |
| 78 |
|
| 79 |
config USB_MSC |
| 80 |
bool "Support for USB storage" |
| 81 |
depends on USB |
| 82 |
default y |
| 83 |
help |
| 84 |
Select this option if you want to compile in support for USB mass |
| 85 |
storage devices (USB memory sticks, hard drives, CDROM/DVD drives) |
| 86 |
Say Y here unless you know exactly what you are doing. |
| 87 |
|
| 88 |
config USB_GEN_HUB |
| 89 |
bool |
| 90 |
default n if (!USB_HUB && !USB_XHCI) |
| 91 |
default y if (USB_HUB || USB_XHCI) |
| 92 |
config USB_PCI |
| 93 |
bool "Auto-scan PCI bus for USB host controllers" |
| 94 |
depends on USB |
| 95 |
default y if ARCH_X86 |
| 96 |
default n |
| 97 |
|
| 98 |
config UDC |
| 99 |
bool "USB device mode support" |
| 100 |
default n |
| 101 |
help |
| 102 |
Select this option to add support for running as |
| 103 |
a USB device. |
| 104 |
|
| 105 |
config UDC_CI |
| 106 |
bool "ChipIdea driver for USB device mode" |
| 107 |
depends on UDC |
| 108 |
default n |
| 109 |
help |
| 110 |
Select this option to add the driver for ChipIdea |
| 111 |
USB device controller. |
| 112 |
|
| 113 |
config UDC_DWC2 |
| 114 |
bool "Designware driver for USB device mode" |
| 115 |
depends on UDC |
| 116 |
default n |
| 117 |
help |
| 118 |
Select this option to add the driver for Designware |
| 119 |
USB device controller. |