2022-10-23 22:47:06 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
config USB_FOTG210
|
|
|
|
tristate "Faraday FOTG210 USB2 Dual Role controller"
|
|
|
|
depends on USB || USB_GADGET
|
|
|
|
depends on HAS_DMA && HAS_IOMEM
|
2022-11-21 23:22:19 +08:00
|
|
|
depends on ARCH_GEMINI || COMPILE_TEST
|
2022-10-23 22:47:06 +08:00
|
|
|
default ARCH_GEMINI
|
2022-11-10 04:05:54 +08:00
|
|
|
select MFD_SYSCON
|
2022-10-23 22:47:06 +08:00
|
|
|
help
|
|
|
|
Faraday FOTG210 is a dual-mode USB controller that can act
|
|
|
|
in both host controller and peripheral controller mode.
|
|
|
|
|
|
|
|
if USB_FOTG210
|
|
|
|
|
|
|
|
config USB_FOTG210_HCD
|
2022-10-23 22:47:07 +08:00
|
|
|
bool "Faraday FOTG210 USB Host Controller support"
|
2022-11-11 22:48:21 +08:00
|
|
|
depends on USB=y || USB=USB_FOTG210
|
2022-10-23 22:47:06 +08:00
|
|
|
help
|
|
|
|
Faraday FOTG210 is an OTG controller which can be configured as
|
|
|
|
an USB2.0 host. It is designed to meet USB2.0 EHCI specification
|
|
|
|
with minor modification.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
|
|
module will be called fotg210-hcd.
|
|
|
|
|
|
|
|
config USB_FOTG210_UDC
|
2022-11-11 22:48:21 +08:00
|
|
|
depends on USB_GADGET=y || USB_GADGET=USB_FOTG210
|
2022-10-23 22:47:07 +08:00
|
|
|
bool "Faraday FOTG210 USB Peripheral Controller support"
|
2022-10-23 22:47:06 +08:00
|
|
|
help
|
|
|
|
Faraday USB2.0 OTG controller which can be configured as
|
2023-01-25 07:35:11 +08:00
|
|
|
high speed or full speed USB device. This driver supports
|
2022-10-23 22:47:06 +08:00
|
|
|
Bulk Transfer so far.
|
|
|
|
|
|
|
|
Say "y" to link the driver statically, or "m" to build a
|
|
|
|
dynamically linked module called "fotg210-udc".
|
|
|
|
|
|
|
|
endif
|