1 # SPDX-License-Identifier: GPL-2.0
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
11 Faraday FOTG210 is a dual-mode USB controller that can act
12 in both host controller and peripheral controller mode.
16 config USB_FOTG210_HCD
17 bool "Faraday FOTG210 USB Host Controller support"
18 depends on USB=y || USB=USB_FOTG210
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.
24 To compile this driver as a module, choose M here: the
25 module will be called fotg210-hcd.
27 config USB_FOTG210_UDC
28 depends on USB_GADGET=y || USB_GADGET=USB_FOTG210
29 bool "Faraday FOTG210 USB Peripheral Controller support"
31 Faraday USB2.0 OTG controller which can be configured as
32 high speed or full speed USB device. This driver supports
35 Say "y" to link the driver statically, or "m" to build a
36 dynamically linked module called "fotg210-udc".