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