xref: /openbmc/linux/drivers/usb/fotg210/Kconfig (revision ddacd6ef)
1# SPDX-License-Identifier: GPL-2.0
2
3config USB_FOTG210
4	tristate "Faraday FOTG210 USB2 Dual Role controller"
5	depends on USB || USB_GADGET
6	depends on HAS_DMA && HAS_IOMEM
7	default ARCH_GEMINI
8	select MFD_SYSCON
9	help
10	  Faraday FOTG210 is a dual-mode USB controller that can act
11	  in both host controller and peripheral controller mode.
12
13if USB_FOTG210
14
15config USB_FOTG210_HCD
16	bool "Faraday FOTG210 USB Host Controller support"
17	depends on USB=y || USB=USB_FOTG210
18	help
19	  Faraday FOTG210 is an OTG controller which can be configured as
20	  an USB2.0 host. It is designed to meet USB2.0 EHCI specification
21	  with minor modification.
22
23	  To compile this driver as a module, choose M here: the
24	  module will be called fotg210-hcd.
25
26config USB_FOTG210_UDC
27	depends on USB_GADGET=y || USB_GADGET=USB_FOTG210
28	bool "Faraday FOTG210 USB Peripheral Controller support"
29	help
30	   Faraday USB2.0 OTG controller which can be configured as
31	   high speed or full speed USB device. This driver suppports
32	   Bulk Transfer so far.
33
34	   Say "y" to link the driver statically, or "m" to build a
35	   dynamically linked module called "fotg210-udc".
36
37endif
38