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 800fb05ffSLinus Walleij select MFD_SYSCON 91dd33a9fSLinus Walleij help 101dd33a9fSLinus Walleij Faraday FOTG210 is a dual-mode USB controller that can act 111dd33a9fSLinus Walleij in both host controller and peripheral controller mode. 121dd33a9fSLinus Walleij 131dd33a9fSLinus Walleijif USB_FOTG210 141dd33a9fSLinus Walleij 151dd33a9fSLinus Walleijconfig USB_FOTG210_HCD 16aeffd2c3SLinus Walleij bool "Faraday FOTG210 USB Host Controller support" 17*ddacd6efSLinus Walleij depends on USB=y || USB=USB_FOTG210 181dd33a9fSLinus Walleij help 191dd33a9fSLinus Walleij Faraday FOTG210 is an OTG controller which can be configured as 201dd33a9fSLinus Walleij an USB2.0 host. It is designed to meet USB2.0 EHCI specification 211dd33a9fSLinus Walleij with minor modification. 221dd33a9fSLinus Walleij 231dd33a9fSLinus Walleij To compile this driver as a module, choose M here: the 241dd33a9fSLinus Walleij module will be called fotg210-hcd. 251dd33a9fSLinus Walleij 261dd33a9fSLinus Walleijconfig USB_FOTG210_UDC 27*ddacd6efSLinus Walleij depends on USB_GADGET=y || USB_GADGET=USB_FOTG210 28aeffd2c3SLinus Walleij bool "Faraday FOTG210 USB Peripheral Controller support" 291dd33a9fSLinus Walleij help 301dd33a9fSLinus Walleij Faraday USB2.0 OTG controller which can be configured as 311dd33a9fSLinus Walleij high speed or full speed USB device. This driver suppports 321dd33a9fSLinus Walleij Bulk Transfer so far. 331dd33a9fSLinus Walleij 341dd33a9fSLinus Walleij Say "y" to link the driver statically, or "m" to build a 351dd33a9fSLinus Walleij dynamically linked module called "fotg210-udc". 361dd33a9fSLinus Walleij 371dd33a9fSLinus Walleijendif 38