xref: /openbmc/linux/drivers/usb/fotg210/Kconfig (revision aeffd2c3)
11dd33a9fSLinus Walleij# SPDX-License-Identifier: GPL-2.0
21dd33a9fSLinus Walleij
31dd33a9fSLinus Walleijconfig USB_FOTG210
41dd33a9fSLinus Walleij	tristate "Faraday FOTG210 USB2 Dual Role controller"
51dd33a9fSLinus Walleij	depends on USB || USB_GADGET
61dd33a9fSLinus Walleij	depends on HAS_DMA && HAS_IOMEM
71dd33a9fSLinus Walleij	default ARCH_GEMINI
81dd33a9fSLinus Walleij	help
91dd33a9fSLinus Walleij	  Faraday FOTG210 is a dual-mode USB controller that can act
101dd33a9fSLinus Walleij	  in both host controller and peripheral controller mode.
111dd33a9fSLinus Walleij
121dd33a9fSLinus Walleijif USB_FOTG210
131dd33a9fSLinus Walleij
141dd33a9fSLinus Walleijconfig USB_FOTG210_HCD
15*aeffd2c3SLinus Walleij	bool "Faraday FOTG210 USB Host Controller support"
161dd33a9fSLinus Walleij	depends on USB
171dd33a9fSLinus Walleij	help
181dd33a9fSLinus Walleij	  Faraday FOTG210 is an OTG controller which can be configured as
191dd33a9fSLinus Walleij	  an USB2.0 host. It is designed to meet USB2.0 EHCI specification
201dd33a9fSLinus Walleij	  with minor modification.
211dd33a9fSLinus Walleij
221dd33a9fSLinus Walleij	  To compile this driver as a module, choose M here: the
231dd33a9fSLinus Walleij	  module will be called fotg210-hcd.
241dd33a9fSLinus Walleij
251dd33a9fSLinus Walleijconfig USB_FOTG210_UDC
261dd33a9fSLinus Walleij	depends on USB_GADGET
27*aeffd2c3SLinus Walleij	bool "Faraday FOTG210 USB Peripheral Controller support"
281dd33a9fSLinus Walleij	help
291dd33a9fSLinus Walleij	   Faraday USB2.0 OTG controller which can be configured as
301dd33a9fSLinus Walleij	   high speed or full speed USB device. This driver suppports
311dd33a9fSLinus Walleij	   Bulk Transfer so far.
321dd33a9fSLinus Walleij
331dd33a9fSLinus Walleij	   Say "y" to link the driver statically, or "m" to build a
341dd33a9fSLinus Walleij	   dynamically linked module called "fotg210-udc".
351dd33a9fSLinus Walleij
361dd33a9fSLinus Walleijendif
37