blob: 1a883babf4c24f04a5451e20fb50d366de95163e [file] [log] [blame]
Masahiro Yamada6e7e9292014-11-07 18:48:31 +09001#
2# USB Host Controller Drivers
3#
4comment "USB Host Controller Drivers"
5
Masahiro Yamada2b58e1b2016-08-01 00:16:34 +09006config USB_HOST
7 bool
Tom Rinibe5c0602021-07-09 10:11:56 -04008 select DM_USB
Marek Vasutdf104412023-05-06 16:42:37 +02009 help
10 Enable access to USB (Universal Serial Bus) host devices so that
11 SPL can load U-Boot from a connected USB peripheral, such as a USB
12 flash stick. While USB takes a little longer to start up than most
13 buses, it is very flexible since many different types of storage
14 device can be attached.
15
16config SPL_USB_HOST
17 bool "Support USB host drivers"
18 depends on SPL
19 help
20 For detailed help see USB_HOST Kconfig symbol. This option enables
21 the drivers in drivers/usb/host as part of an SPL build.
Masahiro Yamada2b58e1b2016-08-01 00:16:34 +090022
Masahiro Yamada6e7e9292014-11-07 18:48:31 +090023config USB_XHCI_HCD
24 bool "xHCI HCD (USB 3.0) support"
Tom Rinibe5c0602021-07-09 10:11:56 -040025 depends on DM && OF_CONTROL
Masahiro Yamada2b58e1b2016-08-01 00:16:34 +090026 select USB_HOST
Masahiro Yamada6e7e9292014-11-07 18:48:31 +090027 ---help---
28 The eXtensible Host Controller Interface (xHCI) is standard for USB 3.0
29 "SuperSpeed" host controller hardware.
30
Masahiro Yamada6e7e9292014-11-07 18:48:31 +090031if USB_XHCI_HCD
32
Masahiro Yamada10db7502016-06-04 07:35:04 +090033config USB_XHCI_DWC3
34 bool "DesignWare USB3 DRD Core Support"
35 help
36 Say Y or if your system has a Dual Role SuperSpeed
37 USB controller based on the DesignWare USB3 IP Core.
38
Neil Armstrongca7fdc82018-04-11 17:08:00 +020039config USB_XHCI_DWC3_OF_SIMPLE
40 bool "DesignWare USB3 DRD Generic OF Simple Glue Layer"
Jean-Jacques Hiblot103774b2018-04-12 10:41:10 +020041 depends on DM_USB
Mark Kettenisaaa8d6b2019-06-30 18:01:54 +020042 default y if ARCH_ROCKCHIP
Jean-Jacques Hiblotcc73ba92018-04-12 10:41:11 +020043 default y if DRA7XX
Neil Armstrongca7fdc82018-04-11 17:08:00 +020044 help
45 Support USB2/3 functionality in simple SoC integrations with
46 USB controller based on the DesignWare USB3 IP Core.
47
Tom Riniabba59f2022-06-10 23:03:00 -040048config USB_XHCI_EXYNOS
49 bool "Support for Samsung Exynos5 family on-chip xHCI USB controller"
50 depends on ARCH_EXYNOS5
51 default y
52 help
53 Enables support for he on-chip xHCI controller on Samsung Exynos5
54 SoCs.
55
Chunfeng Yun74102832020-05-02 11:35:18 +020056config USB_XHCI_MTK
57 bool "Support for MediaTek on-chip xHCI USB controller"
Weijie Gao5ac88d12022-05-20 11:22:56 +080058 depends on ARCH_MEDIATEK || SOC_MT7621
Chunfeng Yun74102832020-05-02 11:35:18 +020059 help
60 Enables support for the on-chip xHCI controller on MediaTek SoCs.
61
Stefan Roese81c1f6f2016-07-14 11:39:20 +020062config USB_XHCI_MVEBU
63 bool "MVEBU USB 3.0 support"
64 default y
65 depends on ARCH_MVEBU
Konstantin Porotchkin81192b72017-02-12 11:10:30 +020066 select DM_REGULATOR
Stefan Roese81c1f6f2016-07-14 11:39:20 +020067 help
68 Choose this option to add support for USB 3.0 driver on mvebu
69 SoCs, which includes Armada8K, Armada3700 and other Armada
70 family SoCs.
71
Stefan Roese92ca2fe2020-08-24 13:04:38 +020072config USB_XHCI_OCTEON
73 bool "Support for Marvell Octeon family on-chip xHCI USB controller"
74 depends on ARCH_OCTEON
75 default y
76 help
77 Enables support for the on-chip xHCI controller on Marvell Octeon
78 family SoCs. This is a driver for the dwc3 to provide the glue logic
79 to configure the controller.
80
Tom Rini8d8d7e92021-09-12 20:32:22 -040081config USB_XHCI_OMAP
82 bool "Support for TI OMAP family xHCI USB controller"
83 depends on ARCH_OMAP2PLUS
84 help
85 Enables support for the on-chip xHCI controller found on some TI SoC
86 families. Note that some families have multiple contollers while
87 others only have something such as DesignWare-based controllers.
88 Consult the SoC documentation to determine if this option applies
89 to your hardware.
90
Bin Mengd7cde282017-07-19 21:50:08 +080091config USB_XHCI_PCI
92 bool "Support for PCI-based xHCI USB controller"
Bin Meng978f6a32017-07-19 21:51:07 +080093 depends on DM_USB
Bin Mengd7cde282017-07-19 21:50:08 +080094 default y if X86
95 help
96 Enables support for the PCI-based xHCI controller.
97
Marek Vasute1cc60c2017-10-15 15:01:29 +020098config USB_XHCI_RCAR
99 bool "Renesas RCar USB 3.0 support"
100 default y
101 depends on ARCH_RMOBILE
102 help
103 Choose this option to add support for USB 3.0 driver on Renesas
104 RCar Gen3 SoCs.
105
Patrice Chotard40d1a312017-09-05 11:04:24 +0200106config USB_XHCI_STI
107 bool "Support for STMicroelectronics STiH407 family on-chip xHCI USB controller"
108 depends on ARCH_STI
109 default y
110 help
111 Enables support for the on-chip xHCI controller on STMicroelectronics
112 STiH407 family SoCs. This is a driver for the dwc3 to provide the glue logic
113 to configure the controller.
114
Uri Mashiachef3f3b82017-02-23 15:39:36 +0200115config USB_XHCI_DRA7XX_INDEX
116 int "DRA7XX xHCI USB index"
117 range 0 1
118 default 0
119 depends on DRA7XX
120 help
121 Select the DRA7XX xHCI USB index.
122 Current supported values: 0, 1.
123
Ran Wang420b0eb2017-10-23 10:09:22 +0800124config USB_XHCI_FSL
125 bool "Support for NXP Layerscape on-chip xHCI USB controller"
126 default y if ARCH_LS1021A || FSL_LSCH3 || FSL_LSCH2
127 depends on !SPL_NO_USB
128 help
129 Enables support for the on-chip xHCI controller on NXP Layerscape SoCs.
Rayagonda Kokatanur9cadf052020-04-09 09:23:15 +0530130
131config USB_XHCI_BRCM
132 bool "Broadcom USB3 Host XHCI controller"
133 depends on DM_USB
134 help
135 USB controller based on the Broadcom USB3 IP Core.
136 Supports USB2/3 functionality.
137
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900138endif # USB_XHCI_HCD
Alexey Brodkinfee331f2015-12-14 17:18:50 +0300139
Tom Rini879b0b12022-06-08 08:24:26 -0400140config EHCI_DESC_BIG_ENDIAN
141 bool
142
143config EHCI_MMIO_BIG_ENDIAN
144 bool
145
Masahiro Yamada6e7e9292014-11-07 18:48:31 +0900146config USB_EHCI_HCD
147 bool "EHCI HCD (USB 2.0) support"
Tom Rini64d6ac52017-05-12 22:33:28 -0400148 default y if ARCH_MX5 || ARCH_MX6
Tom Rinibe5c0602021-07-09 10:11:56 -0400149 depends on DM && OF_CONTROL
Masahiro Yamada2b58e1b2016-08-01 00:16:34 +0900150 select USB_HOST
Tom Rini879b0b12022-06-08 08:24:26 -0400151 select EHCI_DESC_BIG_ENDIAN if SYS_BIG_ENDIAN
152 select EHCI_MMIO_BIG_ENDIAN if SYS_BIG_ENDIAN
Masahiro Yamada6e7e9292014-11-07 18:48:31 +0900153 ---help---
154 The Enhanced Host Controller Interface (EHCI) is standard for USB 2.0
155 "high speed" (480 Mbit/sec, 60 Mbyte/sec) host controller hardware.
156 If your USB host controller supports USB 2.0, you will likely want to
157 configure this Host Controller Driver.
158
159 EHCI controllers are packaged with "companion" host controllers (OHCI
160 or UHCI) to handle USB 1.1 devices connected to root hub ports. Ports
161 will connect to EHCI if the device is high speed, otherwise they
162 connect to a companion controller. If you configure EHCI, you should
163 probably configure the OHCI (for NEC and some other vendors) USB Host
164 Controller Driver or UHCI (for Via motherboards) Host Controller
165 Driver too.
166
167 You may want to read <file:Documentation/usb/ehci.txt>.
168
Masahiro Yamada6e7e9292014-11-07 18:48:31 +0900169if USB_EHCI_HCD
170
Marek Behún56882dc2021-10-09 15:27:35 +0200171config USB_EHCI_IS_TDI
172 bool
173
Wenyou Yang17b68b52016-08-05 08:57:35 +0800174config USB_EHCI_ATMEL
175 bool "Support for Atmel on-chip EHCI USB controller"
176 depends on ARCH_AT91
177 default y
178 ---help---
179 Enables support for the on-chip EHCI controller on Atmel chips.
180
Tom Riniabba59f2022-06-10 23:03:00 -0400181config USB_EHCI_EXYNOS
182 bool "Support for Samsung Exynos EHCI USB controller"
183 depends on ARCH_EXYNOS
184 default y
185 ---help---
186 Enables support for the on-chip EHCI controller on Samsung Exynos
187 SoCs.
188
Stefan Roesecd482252015-09-01 11:39:44 +0200189config USB_EHCI_MARVELL
Tom Rini80f1f322017-05-12 22:33:29 -0400190 bool "Support for Marvell on-chip EHCI USB controller"
Trevor Woernerbb0fb4c2020-05-06 08:02:40 -0400191 depends on ARCH_MVEBU || ARCH_KIRKWOOD || ARCH_ORION5X
Stefan Roesecd482252015-09-01 11:39:44 +0200192 default y
Marek Behún56882dc2021-10-09 15:27:35 +0200193 select USB_EHCI_IS_TDI if !ARM64
Chris Packham515fe1e2022-11-05 17:23:57 +1300194 select USB_EHCI_IS_TDI if ALLEYCAT_5
Stefan Roesecd482252015-09-01 11:39:44 +0200195 ---help---
196 Enables support for the on-chip EHCI controller on MVEBU SoCs.
197
Lukasz Majewski400b9722019-04-04 12:26:55 +0200198config USB_EHCI_MX5
199 bool "Support for i.MX5 on-chip EHCI USB controller"
200 depends on ARCH_MX5
Lukasz Majewski400b9722019-04-04 12:26:55 +0200201 help
202 Enables support for the on-chip EHCI controller on i.MX5 SoCs.
203
Nikita Kiryanov919e8022015-07-23 17:19:35 +0300204config USB_EHCI_MX6
Ye Li235f5e12019-10-24 10:29:32 -0300205 bool "Support for i.MX6/i.MX7ULP on-chip EHCI USB controller"
Giulio Benettie7e81e82021-05-20 16:10:15 +0200206 depends on ARCH_MX6 || ARCH_MX7ULP || ARCH_IMXRT
Tom Rini879b0b12022-06-08 08:24:26 -0400207 select EHCI_HCD_INIT_AFTER_RESET
Nikita Kiryanov919e8022015-07-23 17:19:35 +0300208 default y
209 ---help---
210 Enables support for the on-chip EHCI controller on i.MX6 SoCs.
211
Stefan Agner2deebe22016-07-13 00:25:36 -0700212config USB_EHCI_MX7
213 bool "Support for i.MX7 on-chip EHCI USB controller"
Marek Vasut5e7e2a82021-04-02 14:07:22 +0200214 depends on ARCH_MX7 || IMX8M
Tom Rini879b0b12022-06-08 08:24:26 -0400215 select EHCI_HCD_INIT_AFTER_RESET if ARCH_MX7
Marek Vasut5e7e2a82021-04-02 14:07:22 +0200216 select PHY if IMX8M
217 select NOP_PHY if IMX8M
Stefan Agner2deebe22016-07-13 00:25:36 -0700218 default y
219 ---help---
220 Enables support for the on-chip EHCI controller on i.MX7 SoCs.
221
Marek Behún7b805002021-10-09 15:27:33 +0200222config USB_EHCI_MXS
Lukasz Majewskif82feb72021-12-22 10:55:06 +0100223 bool "Support for i.MX23/i.MX28 EHCI USB controller"
224 depends on ARCH_MX23 || ARCH_MX28
Marek Behún7b805002021-10-09 15:27:33 +0200225 default y
Marek Behún56882dc2021-10-09 15:27:35 +0200226 select USB_EHCI_IS_TDI
Marek Behún7b805002021-10-09 15:27:33 +0200227 help
Lukasz Majewskif82feb72021-12-22 10:55:06 +0100228 Enables support for the on-chip EHCI controller on i.MX23 and
229 i.MX28 SoCs.
Marek Behún7b805002021-10-09 15:27:33 +0200230
Jim Liu693765a2022-06-21 17:09:02 +0800231config USB_EHCI_NPCM
232 bool "Support for Nuvoton NPCM on-chip EHCI USB controller"
233 depends on ARCH_NPCM
234 default n
235 ---help---
236 Enables support for the on-chip EHCI controller on
237 Nuvoton NPCM chips.
238
Tom Rini1d1ab612017-05-12 22:33:30 -0400239config USB_EHCI_OMAP
240 bool "Support for OMAP3+ on-chip EHCI USB controller"
241 depends on ARCH_OMAP2PLUS
Adam Fordd11f9952022-02-19 17:08:44 -0600242 select PHY
243 imply NOP_PHY
Tom Rini1d1ab612017-05-12 22:33:30 -0400244 default y
245 ---help---
246 Enables support for the on-chip EHCI controller on OMAP3 and later
247 SoCs.
248
Marcel Ziswiler20df4b52019-03-25 17:24:54 +0100249config USB_EHCI_VF
250 bool "Support for Vybrid on-chip EHCI USB controller"
251 depends on ARCH_VF610
252 default y
253 help
254 Enables support for the on-chip EHCI controller on Vybrid SoCs.
255
Ye Li235f5e12019-10-24 10:29:32 -0300256if USB_EHCI_MX6 || USB_EHCI_MX7
Stefan Agnerc4483092016-07-13 00:25:38 -0700257
258config MXC_USB_OTG_HACTIVE
259 bool "USB Power pin high active"
260 ---help---
261 Set the USB Power pin polarity to be high active (PWR_POL)
262
263endif
264
Mateusz Kulikowski5a822112016-03-31 23:12:26 +0200265config USB_EHCI_MSM
266 bool "Support for Qualcomm on-chip EHCI USB controller"
267 depends on DM_USB
268 select USB_ULPI_VIEWPORT
Ramon Fried0ac0b6e2018-09-21 13:35:50 +0300269 select MSM8916_USB_PHY
Mateusz Kulikowski5a822112016-03-31 23:12:26 +0200270 ---help---
271 Enables support for the on-chip EHCI controller on Qualcomm
272 Snapdragon SoCs.
Mateusz Kulikowski5a822112016-03-31 23:12:26 +0200273
Bin Menga11a5b82017-08-09 00:21:54 -0700274config USB_EHCI_PCI
275 bool "Support for PCI-based EHCI USB controller"
276 default y if X86
277 help
278 Enables support for the PCI-based EHCI controller.
279
Peter Robinson747fed52019-02-20 12:17:27 +0000280config USB_EHCI_TEGRA
281 bool "Support for NVIDIA Tegra on-chip EHCI USB controller"
Trevor Woerner18138ab2020-05-06 08:02:41 -0400282 depends on ARCH_TEGRA
Marek Behún56882dc2021-10-09 15:27:35 +0200283 select USB_EHCI_IS_TDI
Peter Robinson747fed52019-02-20 12:17:27 +0000284 ---help---
285 Enable support for Tegra on-chip EHCI USB controller
286
Siva Durga Prasad Paladugu2cdc7782016-07-22 14:51:51 +0530287config USB_EHCI_ZYNQ
288 bool "Support for Xilinx Zynq on-chip EHCI USB controller"
Michal Simek54fdef22020-08-24 14:41:51 +0200289 default y if ARCH_ZYNQ
Marek Behún56882dc2021-10-09 15:27:35 +0200290 select USB_EHCI_IS_TDI
Siva Durga Prasad Paladugu2cdc7782016-07-22 14:51:51 +0530291 ---help---
292 Enable support for Zynq on-chip EHCI USB controller
293
Alexey Brodkin90fbb282015-12-02 12:32:02 +0300294config USB_EHCI_GENERIC
295 bool "Support for generic EHCI USB controller"
Alexey Brodkin90fbb282015-12-02 12:32:02 +0300296 depends on DM_USB
Jagan Teki29d280c2018-12-22 18:18:10 +0530297 default ARCH_SUNXI
Alexey Brodkin90fbb282015-12-02 12:32:02 +0300298 ---help---
299 Enables support for generic EHCI controller.
300
Tom Rinie78e8802022-06-08 08:24:27 -0400301config EHCI_HCD_INIT_AFTER_RESET
302 bool
303
Ran Wang91f4fb92017-12-20 10:34:20 +0800304config USB_EHCI_FSL
305 bool "Support for FSL on-chip EHCI USB controller"
Tom Rinie78e8802022-06-08 08:24:27 -0400306 select EHCI_HCD_INIT_AFTER_RESET
Tom Riniff4e87c2022-07-31 21:08:29 -0400307 select SYS_FSL_USB_INTERNAL_UTMI_PHY if MPC85xx && \
308 !(ARCH_B4860 || ARCH_B4420 || ARCH_P4080 || ARCH_P1020 || ARCH_P2020)
Ran Wang91f4fb92017-12-20 10:34:20 +0800309 ---help---
310 Enables support for the on-chip EHCI controller on FSL chips.
Tom Rinid4ae1522022-06-08 08:24:31 -0400311
Tom Riniff4e87c2022-07-31 21:08:29 -0400312config SYS_FSL_USB_INTERNAL_UTMI_PHY
313 bool
314 depends on USB_EHCI_FSL
315
Tom Rinid4ae1522022-06-08 08:24:31 -0400316config USB_EHCI_TXFIFO_THRESH
317 hex
318 depends on USB_EHCI_TEGRA
319 default 0x10
320 help
321 This parameter affects a TXFILLTUNING field that controls how much
322 data is sent to the latency fifo before it is sent to the wire.
323 Without this parameter, the default (2) causes occasional Data Buffer
324 Errors in OUT packets depending on the buffer address and size.
325
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900326endif # USB_EHCI_HCD
327
Tom Rinicd6a45a2022-06-25 11:02:31 -0400328config USB_OHCI_NEW
329 bool
330
331config SYS_USB_OHCI_CPU_INIT
332 bool
333
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900334config USB_OHCI_HCD
335 bool "OHCI HCD (USB 1.1) support"
Tom Rinibe5c0602021-07-09 10:11:56 -0400336 depends on DM && OF_CONTROL
337 select USB_HOST
Tom Rinicd6a45a2022-06-25 11:02:31 -0400338 select USB_OHCI_NEW
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900339 ---help---
340 The Open Host Controller Interface (OHCI) is a standard for accessing
341 USB 1.1 host controller hardware. It does more in hardware than Intel's
342 UHCI specification. If your USB host controller follows the OHCI spec,
343 say Y. On most non-x86 systems, and on x86 hardware that's not using a
344 USB controller from Intel or VIA, this is appropriate. If your host
345 controller doesn't use PCI, this is probably appropriate. For a PCI
346 based system where you're not sure, the "lspci -v" entry will list the
347 right "prog-if" for your USB controller(s): EHCI, OHCI, or UHCI.
348
Tom Rinibe5c0602021-07-09 10:11:56 -0400349if USB_OHCI_HCD
350
Heiko Schocher991e6602019-07-16 10:49:07 +0200351config USB_OHCI_PCI
352 bool "Support for PCI-based OHCI USB controller"
Tom Rinibe5c0602021-07-09 10:11:56 -0400353 depends on PCI
Heiko Schocher991e6602019-07-16 10:49:07 +0200354 help
355 Enables support for the PCI-based OHCI controller.
356
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900357config USB_OHCI_GENERIC
358 bool "Support for generic OHCI USB controller"
Jagan Teki29d280c2018-12-22 18:18:10 +0530359 default ARCH_SUNXI
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900360 ---help---
361 Enables support for generic OHCI controller.
362
Adam Ford9da54742019-04-30 05:21:41 -0500363config USB_OHCI_DA8XX
364 bool "Support for da850 OHCI USB controller"
365 help
366 Enable support for the da850 USB controller.
367
Jim Liu693765a2022-06-21 17:09:02 +0800368config USB_OHCI_NPCM
369 bool "Support for Nuvoton NPCM on-chip OHCI USB controller"
370 depends on ARCH_NPCM
371 default n
372 ---help---
373 Enables support for the on-chip OHCI controller on
374 Nuvoton NPCM chips.
375
Masahiro Yamada93cb8242016-08-01 00:16:32 +0900376endif # USB_OHCI_HCD
Masahiro Yamada96d82842016-08-01 00:16:33 +0900377
Tom Rinicd6a45a2022-06-25 11:02:31 -0400378config SYS_USB_OHCI_SLOT_NAME
379 string "Display name for the OHCI controller"
380 depends on USB_OHCI_NEW && !DM_USB
381
Tom Rinicd6a45a2022-06-25 11:02:31 -0400382config SYS_OHCI_SWAP_REG_ACCESS
383 bool "Perform byte swapping on OHCI controller register accesses"
384 depends on USB_OHCI_NEW
385
Masahiro Yamada96d82842016-08-01 00:16:33 +0900386config USB_UHCI_HCD
387 bool "UHCI HCD (most Intel and VIA) support"
Masahiro Yamada2b58e1b2016-08-01 00:16:34 +0900388 select USB_HOST
Masahiro Yamada96d82842016-08-01 00:16:33 +0900389 ---help---
390 The Universal Host Controller Interface is a standard by Intel for
391 accessing the USB hardware in the PC (which is also called the USB
392 host controller). If your USB host controller conforms to this
393 standard, you may want to say Y, but see below. All recent boards
394 with Intel PCI chipsets (like intel 430TX, 440FX, 440LX, 440BX,
395 i810, i820) conform to this standard. Also all VIA PCI chipsets
396 (like VIA VP2, VP3, MVP3, Apollo Pro, Apollo Pro II or Apollo Pro
397 133) and LEON/GRLIB SoCs with the GRUSBHC controller.
398 If unsure, say Y.
399
400if USB_UHCI_HCD
401
402endif # USB_UHCI_HCD
Philipp Tomsich4ac72f52017-07-03 18:30:06 +0200403
404config USB_DWC2
405 bool "DesignWare USB2 Core support"
Tom Rinibe5c0602021-07-09 10:11:56 -0400406 depends on DM && OF_CONTROL
Philipp Tomsich4ac72f52017-07-03 18:30:06 +0200407 select USB_HOST
408 ---help---
409 The DesignWare USB 2.0 controller is compliant with the
410 USB-Implementers Forum (USB-IF) USB 2.0 specifications.
411 Hi-Speed (480 Mbps), Full-Speed (12 Mbps), and Low-Speed (1.5 Mbps)
412 operation is compliant to the controller Supplement. If you want to
413 enable this controller in host mode, say Y.
Alexey Brodkin42637fd2018-02-28 16:16:58 +0300414
415if USB_DWC2
416config USB_DWC2_BUFFER_SIZE
417 int "Data buffer size in kB"
418 default 64
419 ---help---
420 By default 64 kB buffer is used but if amount of RAM avaialble on
421 the target is not enough to accommodate allocation of buffer of
422 that size it is possible to shrink it. Smaller sizes should be fine
423 because larger transactions could be split in smaller ones.
424
425endif # USB_DWC2
Marek Vasuta3d65652019-08-11 13:23:43 +0200426
427config USB_R8A66597_HCD
428 bool "Renesas R8A66597 USB Core support"
Tom Rinibe5c0602021-07-09 10:11:56 -0400429 depends on DM && OF_CONTROL
Marek Vasuta3d65652019-08-11 13:23:43 +0200430 select USB_HOST
431 ---help---
432 This enables support for the on-chip Renesas R8A66597 USB 2.0
433 controller, present in various RZ and SH SoCs.
Tom Rini3371edd2022-06-12 20:02:04 -0400434
Tom Rinicd6a45a2022-06-25 11:02:31 -0400435config USB_ATMEL
436 bool "AT91 OHCI USB support"
437 depends on ARCH_AT91
438 select SYS_USB_OHCI_CPU_INIT
439 select USB_OHCI_NEW
440
441choice
442 prompt "Clock for OHCI"
443 depends on USB_ATMEL
444
445config USB_ATMEL_CLK_SEL_PLLB
446 bool "PLLB"
447
448config USB_ATMEL_CLK_SEL_UPLL
449 bool "UPLL"
450
451endchoice
452
453config USB_OHCI_LPC32XX
454 bool "LPC32xx USB OHCI support"
455 depends on ARCH_LPC32XX
456 select SYS_USB_OHCI_CPU_INIT
457 select USB_OHCI_NEW
458
Tom Rini3371edd2022-06-12 20:02:04 -0400459config USB_MAX_CONTROLLER_COUNT
460 int "Maximum number of USB host controllers"
461 depends on USB_EHCI_FSL || USB_XHCI_FSL || \
462 (SPL_USB_HOST && !DM_SPL_USB) || (USB_HOST && !DM_USB)
463 default 1