2 # USB Host Controller Drivers
4 comment "USB Host Controller Drivers"
11 bool "xHCI HCD (USB 3.0) support"
12 depends on DM && OF_CONTROL
15 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
16 "SuperSpeed" host controller hardware.
21 bool "DesignWare USB3 DRD Core Support"
23 Say Y or if your system has a Dual Role SuperSpeed
24 USB controller based on the DesignWare USB3 IP Core.
26 config USB_XHCI_DWC3_OF_SIMPLE
27 bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
29 default y if ARCH_ROCKCHIP
32 Support USB2/3 functionality in simple SoC integrations with
33 USB controller based on the DesignWare USB3 IP Core.
36 bool "Support for MediaTek on-chip xHCI USB controller"
37 depends on ARCH_MEDIATEK
39 Enables support for the on-chip xHCI controller on MediaTek SoCs.
42 bool "MVEBU USB 3.0 support"
47 Choose this option to add support for USB 3.0 driver on mvebu
48 SoCs, which includes Armada8K, Armada3700 and other Armada
51 config USB_XHCI_OCTEON
52 bool "Support for Marvell Octeon family on-chip xHCI USB controller"
53 depends on ARCH_OCTEON
56 Enables support for the on-chip xHCI controller on Marvell Octeon
57 family SoCs. This is a driver for the dwc3 to provide the glue logic
58 to configure the controller.
61 bool "Support for TI OMAP family xHCI USB controller"
62 depends on ARCH_OMAP2PLUS
64 Enables support for the on-chip xHCI controller found on some TI SoC
65 families. Note that some families have multiple contollers while
66 others only have something such as DesignWare-based controllers.
67 Consult the SoC documentation to determine if this option applies
71 bool "Support for PCI-based xHCI USB controller"
75 Enables support for the PCI-based xHCI controller.
78 bool "Renesas RCar USB 3.0 support"
80 depends on ARCH_RMOBILE
82 Choose this option to add support for USB 3.0 driver on Renesas
86 bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
90 Enables support for the on-chip xHCI controller on STMicroelectronics
91 STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
92 to configure the controller.
94 config USB_XHCI_DRA7XX_INDEX
95 int "DRA7XX xHCI USB index"
100 Select the DRA7XX xHCI USB index.
101 Current supported values: 0, 1.
104 bool "Support for NXP Layerscape on-chip xHCI USB controller"
105 default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
106 depends on !SPL_NO_USB
108 Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
111 bool "Broadcom USB3 Host XHCI controller"
114 USB controller based on the Broadcom USB3 IP Core.
115 Supports USB2/3 functionality.
119 config EHCI_DESC_BIG_ENDIAN
122 config EHCI_MMIO_BIG_ENDIAN
126 bool "EHCI HCD (USB 2.0) support"
127 default y if ARCH_MX5 || ARCH_MX6
128 depends on DM && OF_CONTROL
130 select EHCI_DESC_BIG_ENDIAN if SYS_BIG_ENDIAN
131 select EHCI_MMIO_BIG_ENDIAN if SYS_BIG_ENDIAN
133 The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
134 "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
135 If your USB host controller supports USB 2.0, you will likely want to
136 configure this Host Controller Driver.
138 EHCI controllers are packaged with "companion" host controllers (OHCI
139 or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
140 will connect to EHCI if the device is high speed, otherwise they
141 connect to a companion controller. If you configure EHCI, you should
142 probably configure the OHCI (for NEC and some other vendors) USB Host
143 Controller Driver or UHCI (for Via motherboards) Host Controller
146 You may want to read <file:Documentation/usb/ehci.txt>.
150 config USB_EHCI_IS_TDI
153 config USB_EHCI_ATMEL
154 bool "Support for Atmel on-chip EHCI USB controller"
158 Enables support for the on-chip EHCI controller on Atmel chips.
160 config USB_EHCI_MARVELL
161 bool "Support for Marvell on-chip EHCI USB controller"
162 depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
164 select USB_EHCI_IS_TDI if !ARM64
166 Enables support for the on-chip EHCI controller on MVEBU SoCs.
169 bool "Support for i.MX5 on-chip EHCI USB controller"
172 Enables support for the on-chip EHCI controller on i.MX5 SoCs.
175 bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
176 depends on ARCH_MX6 || ARCH_MX7ULP || ARCH_IMXRT
177 select EHCI_HCD_INIT_AFTER_RESET
180 Enables support for the on-chip EHCI controller on i.MX6 SoCs.
183 bool "Support for i.MX7 on-chip EHCI USB controller"
184 depends on ARCH_MX7 || IMX8M
185 select EHCI_HCD_INIT_AFTER_RESET if ARCH_MX7
187 select NOP_PHY if IMX8M
190 Enables support for the on-chip EHCI controller on i.MX7 SoCs.
193 bool "Support for i.MX23/i.MX28 EHCI USB controller"
194 depends on ARCH_MX23 || ARCH_MX28
196 select USB_EHCI_IS_TDI
198 Enables support for the on-chip EHCI controller on i.MX23 and
202 bool "Support for OMAP3+ on-chip EHCI USB controller"
203 depends on ARCH_OMAP2PLUS
208 Enables support for the on-chip EHCI controller on OMAP3 and later
212 bool "Support for Vybrid on-chip EHCI USB controller"
213 depends on ARCH_VF610
216 Enables support for the on-chip EHCI controller on Vybrid SoCs.
218 if USB_EHCI_MX6 || USB_EHCI_MX7
220 config MXC_USB_OTG_HACTIVE
221 bool "USB Power pin high active"
223 Set the USB Power pin polarity to be high active (PWR_POL)
228 bool "Support for Qualcomm on-chip EHCI USB controller"
230 select USB_ULPI_VIEWPORT
231 select MSM8916_USB_PHY
233 Enables support for the on-chip EHCI controller on Qualcomm
237 bool "Support for PCI-based EHCI USB controller"
240 Enables support for the PCI-based EHCI controller.
242 config USB_EHCI_TEGRA
243 bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
244 depends on ARCH_TEGRA
245 select USB_EHCI_IS_TDI
247 Enable support for Tegra on-chip EHCI USB controller
250 bool "Support for Xilinx Zynq on-chip EHCI USB controller"
251 default y if ARCH_ZYNQ
252 select USB_EHCI_IS_TDI
254 Enable support for Zynq on-chip EHCI USB controller
256 config USB_EHCI_GENERIC
257 bool "Support for generic EHCI USB controller"
261 Enables support for generic EHCI controller.
263 config EHCI_HCD_INIT_AFTER_RESET
267 bool "Support for FSL on-chip EHCI USB controller"
268 select EHCI_HCD_INIT_AFTER_RESET
270 Enables support for the on-chip EHCI controller on FSL chips.
272 config USB_EHCI_TXFIFO_THRESH
274 depends on USB_EHCI_TEGRA
277 This parameter affects a TXFILLTUNING field that controls how much
278 data is sent to the latency fifo before it is sent to the wire.
279 Without this parameter, the default (2) causes occasional Data Buffer
280 Errors in OUT packets depending on the buffer address and size.
285 bool "OHCI HCD (USB 1.1) support"
286 depends on DM && OF_CONTROL
289 The Open Host Controller Interface (OHCI) is a standard for accessing
290 USB 1.1 host controller hardware. It does more in hardware than Intel's
291 UHCI specification. If your USB host controller follows the OHCI spec,
292 say Y. On most non-x86 systems, and on x86 hardware that's not using a
293 USB controller from Intel or VIA, this is appropriate. If your host
294 controller doesn't use PCI, this is probably appropriate. For a PCI
295 based system where you're not sure, the "lspci -v" entry will list the
296 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
301 bool "Support for PCI-based OHCI USB controller"
304 Enables support for the PCI-based OHCI controller.
306 config USB_OHCI_GENERIC
307 bool "Support for generic OHCI USB controller"
310 Enables support for generic OHCI controller.
312 config USB_OHCI_DA8XX
313 bool "Support for da850 OHCI USB controller"
315 Enable support for the da850 USB controller.
320 bool "UHCI HCD (most Intel and VIA) support"
323 The Universal Host Controller Interface is a standard by Intel for
324 accessing the USB hardware in the PC (which is also called the USB
325 host controller). If your USB host controller conforms to this
326 standard, you may want to say Y, but see below. All recent boards
327 with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
328 i810, i820) conform to this standard. Also all VIA PCI chipsets
329 (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
330 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
338 bool "DesignWare USB2 Core support"
339 depends on DM && OF_CONTROL
342 The DesignWare USB 2.0 controller is compliant with the
343 USB-Implementers Forum (USB-IF) USB 2.0 specifications.
344 Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
345 operation is compliant to the controller Supplement. If you want to
346 enable this controller in host mode, say Y.
349 config USB_DWC2_BUFFER_SIZE
350 int "Data buffer size in kB"
353 By default 64 kB buffer is used but if amount of RAM avaialble on
354 the target is not enough to accommodate allocation of buffer of
355 that size it is possible to shrink it. Smaller sizes should be fine
356 because larger transactions could be split in smaller ones.
360 config USB_R8A66597_HCD
361 bool "Renesas R8A66597 USB Core support"
362 depends on DM && OF_CONTROL
365 This enables support for the on-chip Renesas R8A66597 USB 2.0
366 controller, present in various RZ and SH SoCs.
368 config USB_MAX_CONTROLLER_COUNT
369 int "Maximum number of USB host controllers"
370 depends on USB_EHCI_FSL || USB_XHCI_FSL || \
371 (SPL_USB_HOST && !DM_SPL_USB) || (USB_HOST && !DM_USB)