Kconfig 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SPDX-License-Identifier: GPL-2.0
  2. config USB_FOTG210
  3. tristate "Faraday FOTG210 USB2 Dual Role controller"
  4. depends on USB || USB_GADGET
  5. depends on HAS_DMA && HAS_IOMEM
  6. depends on ARCH_GEMINI || COMPILE_TEST
  7. default ARCH_GEMINI
  8. select MFD_SYSCON
  9. help
  10. Faraday FOTG210 is a dual-mode USB controller that can act
  11. in both host controller and peripheral controller mode.
  12. if USB_FOTG210
  13. config USB_FOTG210_HCD
  14. bool "Faraday FOTG210 USB Host Controller support"
  15. depends on USB=y || USB=USB_FOTG210
  16. help
  17. Faraday FOTG210 is an OTG controller which can be configured as
  18. an USB2.0 host. It is designed to meet USB2.0 EHCI specification
  19. with minor modification.
  20. To compile this driver as a module, choose M here: the
  21. module will be called fotg210-hcd.
  22. config USB_FOTG210_UDC
  23. depends on USB_GADGET=y || USB_GADGET=USB_FOTG210
  24. bool "Faraday FOTG210 USB Peripheral Controller support"
  25. help
  26. Faraday USB2.0 OTG controller which can be configured as
  27. high speed or full speed USB device. This driver supports
  28. Bulk Transfer so far.
  29. Say "y" to link the driver statically, or "m" to build a
  30. dynamically linked module called "fotg210-udc".
  31. endif