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