Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 1 | # |
| 2 | # USB Host Controller Drivers |
| 3 | # |
| 4 | comment "USB Host Controller Drivers" |
| 5 | |
Masahiro Yamada | 2b58e1b | 2016-08-01 00:16:34 +0900 | [diff] [blame] | 6 | config USB_HOST |
| 7 | bool |
| 8 | |
Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 9 | config USB_XHCI_HCD |
| 10 | bool "xHCI HCD (USB 3.0) support" |
Masahiro Yamada | 2b58e1b | 2016-08-01 00:16:34 +0900 | [diff] [blame] | 11 | select USB_HOST |
Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 12 | ---help--- |
| 13 | The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0 |
| 14 | "SuperSpeed" host controller hardware. |
| 15 | |
Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 16 | if USB_XHCI_HCD |
| 17 | |
Masahiro Yamada | 1e7df7c | 2015-02-27 02:27:00 +0900 | [diff] [blame] | 18 | config USB_XHCI_UNIPHIER |
Masahiro Yamada | b6ef3a3 | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 19 | bool "Support for UniPhier on-chip xHCI USB controller" |
Masahiro Yamada | 1e7df7c | 2015-02-27 02:27:00 +0900 | [diff] [blame] | 20 | depends on ARCH_UNIPHIER |
| 21 | default y |
| 22 | ---help--- |
Masahiro Yamada | b6ef3a3 | 2015-05-29 17:30:01 +0900 | [diff] [blame] | 23 | Enables support for the on-chip xHCI controller on UniPhier SoCs. |
Masahiro Yamada | 1e7df7c | 2015-02-27 02:27:00 +0900 | [diff] [blame] | 24 | |
Masahiro Yamada | 10db750 | 2016-06-04 07:35:04 +0900 | [diff] [blame] | 25 | config USB_XHCI_DWC3 |
| 26 | bool "DesignWare USB3 DRD Core Support" |
| 27 | help |
| 28 | Say Y or if your system has a Dual Role SuperSpeed |
| 29 | USB controller based on the DesignWare USB3 IP Core. |
| 30 | |
Masahiro Yamada | 93cb824 | 2016-08-01 00:16:32 +0900 | [diff] [blame] | 31 | endif # USB_XHCI_HCD |
Alexey Brodkin | fee331f | 2015-12-14 17:18:50 +0300 | [diff] [blame] | 32 | |
Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 33 | config USB_EHCI_HCD |
| 34 | bool "EHCI HCD (USB 2.0) support" |
Masahiro Yamada | 2b58e1b | 2016-08-01 00:16:34 +0900 | [diff] [blame] | 35 | select USB_HOST |
Masahiro Yamada | 6e7e929 | 2014-11-07 18:48:31 +0900 | [diff] [blame] | 36 | ---help--- |
| 37 | The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0 |
| 38 | "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware. |
| 39 | If your USB host controller supports USB 2.0, you will likely want to |
| 40 | configure this Host Controller Driver. |
| 41 | |
| 42 | EHCI controllers are packaged with "companion" host controllers (OHCI |
| 43 | or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports |
| 44 | will connect to EHCI if the device is high speed, otherwise they |
| 45 | connect to a companion controller. If you configure EHCI, you should |
| 46 | probably configure the OHCI (for NEC and some other vendors) USB Host |
| 47 | Controller Driver or UHCI (for Via motherboards) Host Controller |
| 48 | Driver too. |
| 49 | |
| 50 | You may want to read <file:Documentation/usb/ehci.txt>. |
| 51 | |
| 52 | config USB_EHCI |
| 53 | bool |
| 54 | default USB_EHCI_HCD |
| 55 | ---help--- |
| 56 | TODO: rename after most boards switch to Kconfig |
| 57 | |
| 58 | if USB_EHCI_HCD |
| 59 | |
Wenyou Yang | 17b68b5 | 2016-08-05 08:57:35 +0800 | [diff] [blame^] | 60 | config USB_EHCI_ATMEL |
| 61 | bool "Support for Atmel on-chip EHCI USB controller" |
| 62 | depends on ARCH_AT91 |
| 63 | default y |
| 64 | ---help--- |
| 65 | Enables support for the on-chip EHCI controller on Atmel chips. |
| 66 | |
Stefan Roese | cd48225 | 2015-09-01 11:39:44 +0200 | [diff] [blame] | 67 | config USB_EHCI_MARVELL |
| 68 | bool "Support for MVEBU (AXP / A38x) on-chip EHCI USB controller" |
| 69 | depends on ARCH_MVEBU |
| 70 | default y |
| 71 | ---help--- |
| 72 | Enables support for the on-chip EHCI controller on MVEBU SoCs. |
| 73 | |
Nikita Kiryanov | 919e802 | 2015-07-23 17:19:35 +0300 | [diff] [blame] | 74 | config USB_EHCI_MX6 |
| 75 | bool "Support for i.MX6 on-chip EHCI USB controller" |
| 76 | depends on ARCH_MX6 |
| 77 | default y |
| 78 | ---help--- |
| 79 | Enables support for the on-chip EHCI controller on i.MX6 SoCs. |
| 80 | |
Stefan Agner | 2deebe2 | 2016-07-13 00:25:36 -0700 | [diff] [blame] | 81 | config USB_EHCI_MX7 |
| 82 | bool "Support for i.MX7 on-chip EHCI USB controller" |
| 83 | depends on ARCH_MX7 |
| 84 | default y |
| 85 | ---help--- |
| 86 | Enables support for the on-chip EHCI controller on i.MX7 SoCs. |
| 87 | |
Stefan Agner | c448309 | 2016-07-13 00:25:38 -0700 | [diff] [blame] | 88 | if USB_EHCI_MX7 |
| 89 | |
| 90 | config MXC_USB_OTG_HACTIVE |
| 91 | bool "USB Power pin high active" |
| 92 | ---help--- |
| 93 | Set the USB Power pin polarity to be high active (PWR_POL) |
| 94 | |
| 95 | endif |
| 96 | |
Mateusz Kulikowski | 5a82211 | 2016-03-31 23:12:26 +0200 | [diff] [blame] | 97 | config USB_EHCI_MSM |
| 98 | bool "Support for Qualcomm on-chip EHCI USB controller" |
| 99 | depends on DM_USB |
| 100 | select USB_ULPI_VIEWPORT |
| 101 | default n |
| 102 | ---help--- |
| 103 | Enables support for the on-chip EHCI controller on Qualcomm |
| 104 | Snapdragon SoCs. |
| 105 | This driver supports combination of Chipidea USB controller |
| 106 | and Synapsys USB PHY in host mode only. |
| 107 | |
Siva Durga Prasad Paladugu | 2cdc778 | 2016-07-22 14:51:51 +0530 | [diff] [blame] | 108 | config USB_EHCI_ZYNQ |
| 109 | bool "Support for Xilinx Zynq on-chip EHCI USB controller" |
| 110 | depends on ARCH_ZYNQ |
| 111 | default y |
| 112 | ---help--- |
| 113 | Enable support for Zynq on-chip EHCI USB controller |
| 114 | |
Alexey Brodkin | 90fbb28 | 2015-12-02 12:32:02 +0300 | [diff] [blame] | 115 | config USB_EHCI_GENERIC |
| 116 | bool "Support for generic EHCI USB controller" |
| 117 | depends on OF_CONTROL |
| 118 | depends on DM_USB |
| 119 | default n |
| 120 | ---help--- |
| 121 | Enables support for generic EHCI controller. |
| 122 | |
Masahiro Yamada | 93cb824 | 2016-08-01 00:16:32 +0900 | [diff] [blame] | 123 | endif # USB_EHCI_HCD |
| 124 | |
| 125 | config USB_OHCI_HCD |
| 126 | bool "OHCI HCD (USB 1.1) support" |
| 127 | ---help--- |
| 128 | The Open Host Controller Interface (OHCI) is a standard for accessing |
| 129 | USB 1.1 host controller hardware. It does more in hardware than Intel's |
| 130 | UHCI specification. If your USB host controller follows the OHCI spec, |
| 131 | say Y. On most non-x86 systems, and on x86 hardware that's not using a |
| 132 | USB controller from Intel or VIA, this is appropriate. If your host |
| 133 | controller doesn't use PCI, this is probably appropriate. For a PCI |
| 134 | based system where you're not sure, the "lspci -v" entry will list the |
| 135 | right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI. |
| 136 | |
| 137 | if USB_OHCI_HCD |
| 138 | |
| 139 | config USB_OHCI_GENERIC |
| 140 | bool "Support for generic OHCI USB controller" |
| 141 | depends on OF_CONTROL |
| 142 | depends on DM_USB |
Masahiro Yamada | 2b58e1b | 2016-08-01 00:16:34 +0900 | [diff] [blame] | 143 | select USB_HOST |
Masahiro Yamada | 93cb824 | 2016-08-01 00:16:32 +0900 | [diff] [blame] | 144 | ---help--- |
| 145 | Enables support for generic OHCI controller. |
| 146 | |
| 147 | endif # USB_OHCI_HCD |
Masahiro Yamada | 96d8284 | 2016-08-01 00:16:33 +0900 | [diff] [blame] | 148 | |
| 149 | config USB_UHCI_HCD |
| 150 | bool "UHCI HCD (most Intel and VIA) support" |
Masahiro Yamada | 2b58e1b | 2016-08-01 00:16:34 +0900 | [diff] [blame] | 151 | select USB_HOST |
Masahiro Yamada | 96d8284 | 2016-08-01 00:16:33 +0900 | [diff] [blame] | 152 | ---help--- |
| 153 | The Universal Host Controller Interface is a standard by Intel for |
| 154 | accessing the USB hardware in the PC (which is also called the USB |
| 155 | host controller). If your USB host controller conforms to this |
| 156 | standard, you may want to say Y, but see below. All recent boards |
| 157 | with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX, |
| 158 | i810, i820) conform to this standard. Also all VIA PCI chipsets |
| 159 | (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro |
| 160 | 133) and LEON/GRLIB SoCs with the GRUSBHC controller. |
| 161 | If unsure, say Y. |
| 162 | |
| 163 | if USB_UHCI_HCD |
| 164 | |
| 165 | endif # USB_UHCI_HCD |