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.
35 config USB_XHCI_EXYNOS
36 bool "Support for Samsung Exynos5 family on-chip xHCI USB controller"
37 depends on ARCH_EXYNOS5
40 Enables support for he on-chip xHCI controller on Samsung Exynos5
44 bool "Support for MediaTek on-chip xHCI USB controller"
45 depends on ARCH_MEDIATEK || SOC_MT7621
47 Enables support for the on-chip xHCI controller on MediaTek SoCs.
50 bool "MVEBU USB 3.0 support"
55 Choose this option to add support for USB 3.0 driver on mvebu
56 SoCs, which includes Armada8K, Armada3700 and other Armada
59 config USB_XHCI_OCTEON
60 bool "Support for Marvell Octeon family on-chip xHCI USB controller"
61 depends on ARCH_OCTEON
64 Enables support for the on-chip xHCI controller on Marvell Octeon
65 family SoCs. This is a driver for the dwc3 to provide the glue logic
66 to configure the controller.
69 bool "Support for TI OMAP family xHCI USB controller"
70 depends on ARCH_OMAP2PLUS
72 Enables support for the on-chip xHCI controller found on some TI SoC
73 families. Note that some families have multiple contollers while
74 others only have something such as DesignWare-based controllers.
75 Consult the SoC documentation to determine if this option applies
79 bool "Support for PCI-based xHCI USB controller"
83 Enables support for the PCI-based xHCI controller.
86 bool "Renesas RCar USB 3.0 support"
88 depends on ARCH_RMOBILE
90 Choose this option to add support for USB 3.0 driver on Renesas
94 bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
98 Enables support for the on-chip xHCI controller on STMicroelectronics
99 STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
100 to configure the controller.
102 config USB_XHCI_DRA7XX_INDEX
103 int "DRA7XX xHCI USB index"
108 Select the DRA7XX xHCI USB index.
109 Current supported values: 0, 1.
112 bool "Support for NXP Layerscape on-chip xHCI USB controller"
113 default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
114 depends on !SPL_NO_USB
116 Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
119 bool "Broadcom USB3 Host XHCI controller"
122 USB controller based on the Broadcom USB3 IP Core.
123 Supports USB2/3 functionality.
127 config EHCI_DESC_BIG_ENDIAN
130 config EHCI_MMIO_BIG_ENDIAN
134 bool "EHCI HCD (USB 2.0) support"
135 default y if ARCH_MX5 || ARCH_MX6
136 depends on DM && OF_CONTROL
138 select EHCI_DESC_BIG_ENDIAN if SYS_BIG_ENDIAN
139 select EHCI_MMIO_BIG_ENDIAN if SYS_BIG_ENDIAN
141 The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
142 "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
143 If your USB host controller supports USB 2.0, you will likely want to
144 configure this Host Controller Driver.
146 EHCI controllers are packaged with "companion" host controllers (OHCI
147 or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
148 will connect to EHCI if the device is high speed, otherwise they
149 connect to a companion controller. If you configure EHCI, you should
150 probably configure the OHCI (for NEC and some other vendors) USB Host
151 Controller Driver or UHCI (for Via motherboards) Host Controller
154 You may want to read <file:Documentation/usb/ehci.txt>.
158 config USB_EHCI_IS_TDI
161 config USB_EHCI_ATMEL
162 bool "Support for Atmel on-chip EHCI USB controller"
166 Enables support for the on-chip EHCI controller on Atmel chips.
168 config USB_EHCI_EXYNOS
169 bool "Support for Samsung Exynos EHCI USB controller"
170 depends on ARCH_EXYNOS
173 Enables support for the on-chip EHCI controller on Samsung Exynos
176 config USB_EHCI_MARVELL
177 bool "Support for Marvell on-chip EHCI USB controller"
178 depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
180 select USB_EHCI_IS_TDI if !ARM64
182 Enables support for the on-chip EHCI controller on MVEBU SoCs.
185 bool "Support for i.MX5 on-chip EHCI USB controller"
188 Enables support for the on-chip EHCI controller on i.MX5 SoCs.
191 bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
192 depends on ARCH_MX6 || ARCH_MX7ULP || ARCH_IMXRT
193 select EHCI_HCD_INIT_AFTER_RESET
196 Enables support for the on-chip EHCI controller on i.MX6 SoCs.
199 bool "Support for i.MX7 on-chip EHCI USB controller"
200 depends on ARCH_MX7 || IMX8M
201 select EHCI_HCD_INIT_AFTER_RESET if ARCH_MX7
203 select NOP_PHY if IMX8M
206 Enables support for the on-chip EHCI controller on i.MX7 SoCs.
209 bool "Support for i.MX23/i.MX28 EHCI USB controller"
210 depends on ARCH_MX23 || ARCH_MX28
212 select USB_EHCI_IS_TDI
214 Enables support for the on-chip EHCI controller on i.MX23 and
218 bool "Support for Nuvoton NPCM on-chip EHCI USB controller"
222 Enables support for the on-chip EHCI controller on
226 bool "Support for OMAP3+ on-chip EHCI USB controller"
227 depends on ARCH_OMAP2PLUS
232 Enables support for the on-chip EHCI controller on OMAP3 and later
236 bool "Support for Vybrid on-chip EHCI USB controller"
237 depends on ARCH_VF610
240 Enables support for the on-chip EHCI controller on Vybrid SoCs.
242 if USB_EHCI_MX6 || USB_EHCI_MX7
244 config MXC_USB_OTG_HACTIVE
245 bool "USB Power pin high active"
247 Set the USB Power pin polarity to be high active (PWR_POL)
252 bool "Support for Qualcomm on-chip EHCI USB controller"
254 select USB_ULPI_VIEWPORT
255 select MSM8916_USB_PHY
257 Enables support for the on-chip EHCI controller on Qualcomm
261 bool "Support for PCI-based EHCI USB controller"
264 Enables support for the PCI-based EHCI controller.
266 config USB_EHCI_TEGRA
267 bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
268 depends on ARCH_TEGRA
269 select USB_EHCI_IS_TDI
271 Enable support for Tegra on-chip EHCI USB controller
274 bool "Support for Xilinx Zynq on-chip EHCI USB controller"
275 default y if ARCH_ZYNQ
276 select USB_EHCI_IS_TDI
278 Enable support for Zynq on-chip EHCI USB controller
280 config USB_EHCI_GENERIC
281 bool "Support for generic EHCI USB controller"
285 Enables support for generic EHCI controller.
287 config EHCI_HCD_INIT_AFTER_RESET
291 bool "Support for FSL on-chip EHCI USB controller"
292 select EHCI_HCD_INIT_AFTER_RESET
293 select SYS_FSL_USB_INTERNAL_UTMI_PHY if MPC85xx && \
294 !(ARCH_B4860 || ARCH_B4420 || ARCH_P4080 || ARCH_P1020 || ARCH_P2020)
296 Enables support for the on-chip EHCI controller on FSL chips.
298 config SYS_FSL_USB_INTERNAL_UTMI_PHY
300 depends on USB_EHCI_FSL
302 config USB_EHCI_TXFIFO_THRESH
304 depends on USB_EHCI_TEGRA
307 This parameter affects a TXFILLTUNING field that controls how much
308 data is sent to the latency fifo before it is sent to the wire.
309 Without this parameter, the default (2) causes occasional Data Buffer
310 Errors in OUT packets depending on the buffer address and size.
317 config SYS_USB_OHCI_CPU_INIT
321 bool "OHCI HCD (USB 1.1) support"
322 depends on DM && OF_CONTROL
326 The Open Host Controller Interface (OHCI) is a standard for accessing
327 USB 1.1 host controller hardware. It does more in hardware than Intel's
328 UHCI specification. If your USB host controller follows the OHCI spec,
329 say Y. On most non-x86 systems, and on x86 hardware that's not using a
330 USB controller from Intel or VIA, this is appropriate. If your host
331 controller doesn't use PCI, this is probably appropriate. For a PCI
332 based system where you're not sure, the "lspci -v" entry will list the
333 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
338 bool "Support for PCI-based OHCI USB controller"
341 Enables support for the PCI-based OHCI controller.
343 config USB_OHCI_GENERIC
344 bool "Support for generic OHCI USB controller"
347 Enables support for generic OHCI controller.
349 config USB_OHCI_DA8XX
350 bool "Support for da850 OHCI USB controller"
352 Enable support for the da850 USB controller.
355 bool "Support for Nuvoton NPCM on-chip OHCI USB controller"
359 Enables support for the on-chip OHCI controller on
364 config SYS_USB_OHCI_SLOT_NAME
365 string "Display name for the OHCI controller"
366 depends on USB_OHCI_NEW && !DM_USB
368 config SYS_USB_OHCI_MAX_ROOT_PORTS
369 int "Maximal number of ports of the root hub"
370 depends on USB_OHCI_NEW
371 default 1 if ARCH_SUNXI
373 config SYS_OHCI_SWAP_REG_ACCESS
374 bool "Perform byte swapping on OHCI controller register accesses"
375 depends on USB_OHCI_NEW
378 bool "UHCI HCD (most Intel and VIA) support"
381 The Universal Host Controller Interface is a standard by Intel for
382 accessing the USB hardware in the PC (which is also called the USB
383 host controller). If your USB host controller conforms to this
384 standard, you may want to say Y, but see below. All recent boards
385 with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
386 i810, i820) conform to this standard. Also all VIA PCI chipsets
387 (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
388 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
396 bool "DesignWare USB2 Core support"
397 depends on DM && OF_CONTROL
400 The DesignWare USB 2.0 controller is compliant with the
401 USB-Implementers Forum (USB-IF) USB 2.0 specifications.
402 Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
403 operation is compliant to the controller Supplement. If you want to
404 enable this controller in host mode, say Y.
407 config USB_DWC2_BUFFER_SIZE
408 int "Data buffer size in kB"
411 By default 64 kB buffer is used but if amount of RAM avaialble on
412 the target is not enough to accommodate allocation of buffer of
413 that size it is possible to shrink it. Smaller sizes should be fine
414 because larger transactions could be split in smaller ones.
418 config USB_R8A66597_HCD
419 bool "Renesas R8A66597 USB Core support"
420 depends on DM && OF_CONTROL
423 This enables support for the on-chip Renesas R8A66597 USB 2.0
424 controller, present in various RZ and SH SoCs.
427 bool "AT91 OHCI USB support"
429 select SYS_USB_OHCI_CPU_INIT
433 prompt "Clock for OHCI"
436 config USB_ATMEL_CLK_SEL_PLLB
439 config USB_ATMEL_CLK_SEL_UPLL
444 config USB_OHCI_LPC32XX
445 bool "LPC32xx USB OHCI support"
446 depends on ARCH_LPC32XX
447 select SYS_USB_OHCI_CPU_INIT
450 config USB_MAX_CONTROLLER_COUNT
451 int "Maximum number of USB host controllers"
452 depends on USB_EHCI_FSL || USB_XHCI_FSL || \
453 (SPL_USB_HOST && !DM_SPL_USB) || (USB_HOST && !DM_USB)