xref: /openbmc/linux/drivers/usb/fotg210/Kconfig (revision 6d36e0e1)
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
7*6d36e0e1SGeert Uytterhoeven	depends on ARCH_GEMINI || COMPILE_TEST
81dd33a9fSLinus Walleij	default ARCH_GEMINI
900fb05ffSLinus Walleij	select MFD_SYSCON
101dd33a9fSLinus Walleij	help
111dd33a9fSLinus Walleij	  Faraday FOTG210 is a dual-mode USB controller that can act
121dd33a9fSLinus Walleij	  in both host controller and peripheral controller mode.
131dd33a9fSLinus Walleij
141dd33a9fSLinus Walleijif USB_FOTG210
151dd33a9fSLinus Walleij
161dd33a9fSLinus Walleijconfig USB_FOTG210_HCD
17aeffd2c3SLinus Walleij	bool "Faraday FOTG210 USB Host Controller support"
18ddacd6efSLinus Walleij	depends on USB=y || USB=USB_FOTG210
191dd33a9fSLinus Walleij	help
201dd33a9fSLinus Walleij	  Faraday FOTG210 is an OTG controller which can be configured as
211dd33a9fSLinus Walleij	  an USB2.0 host. It is designed to meet USB2.0 EHCI specification
221dd33a9fSLinus Walleij	  with minor modification.
231dd33a9fSLinus Walleij
241dd33a9fSLinus Walleij	  To compile this driver as a module, choose M here: the
251dd33a9fSLinus Walleij	  module will be called fotg210-hcd.
261dd33a9fSLinus Walleij
271dd33a9fSLinus Walleijconfig USB_FOTG210_UDC
28ddacd6efSLinus Walleij	depends on USB_GADGET=y || USB_GADGET=USB_FOTG210
29aeffd2c3SLinus Walleij	bool "Faraday FOTG210 USB Peripheral Controller support"
301dd33a9fSLinus Walleij	help
311dd33a9fSLinus Walleij	   Faraday USB2.0 OTG controller which can be configured as
321dd33a9fSLinus Walleij	   high speed or full speed USB device. This driver suppports
331dd33a9fSLinus Walleij	   Bulk Transfer so far.
341dd33a9fSLinus Walleij
351dd33a9fSLinus Walleij	   Say "y" to link the driver statically, or "m" to build a
361dd33a9fSLinus Walleij	   dynamically linked module called "fotg210-udc".
371dd33a9fSLinus Walleij
381dd33a9fSLinus Walleijendif
39