Kconfig 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0
  2. config USB_CHIPIDEA
  3. tristate "ChipIdea Highspeed Dual Role Controller"
  4. depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA
  5. select EXTCON
  6. select RESET_CONTROLLER
  7. select USB_ULPI_BUS
  8. select USB_ROLE_SWITCH
  9. select USB_TEGRA_PHY if ARCH_TEGRA
  10. help
  11. Say Y here if your system has a dual role high speed USB
  12. controller based on ChipIdea silicon IP. It supports:
  13. Dual-role switch (ID, OTG FSM, sysfs), Host-only, and
  14. Peripheral-only.
  15. When compiled dynamically, the module will be called ci_hdrc.ko.
  16. if USB_CHIPIDEA
  17. config USB_CHIPIDEA_UDC
  18. bool "ChipIdea device controller"
  19. depends on USB_GADGET
  20. help
  21. Say Y here to enable device controller functionality of the
  22. ChipIdea driver.
  23. config USB_CHIPIDEA_HOST
  24. bool "ChipIdea host controller"
  25. depends on USB_EHCI_HCD
  26. select USB_EHCI_ROOT_HUB_TT
  27. help
  28. Say Y here to enable host controller functionality of the
  29. ChipIdea driver.
  30. config USB_CHIPIDEA_PCI
  31. tristate "Enable PCI glue driver" if EXPERT
  32. depends on USB_PCI
  33. depends on NOP_USB_XCEIV
  34. default USB_CHIPIDEA
  35. config USB_CHIPIDEA_MSM
  36. tristate "Enable MSM hsusb glue driver" if EXPERT
  37. default USB_CHIPIDEA
  38. config USB_CHIPIDEA_IMX
  39. tristate "Enable i.MX USB glue driver" if EXPERT
  40. depends on OF
  41. default USB_CHIPIDEA
  42. config USB_CHIPIDEA_GENERIC
  43. tristate "Enable generic USB2 glue driver" if EXPERT
  44. default USB_CHIPIDEA
  45. config USB_CHIPIDEA_TEGRA
  46. tristate "Enable Tegra USB glue driver" if EXPERT
  47. depends on OF
  48. default USB_CHIPIDEA
  49. endif