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