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