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