Kconfig 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. config USB_CDNS_SUPPORT
  2. tristate "Cadence USB Support"
  3. depends on USB_SUPPORT && (USB || USB_GADGET) && HAS_DMA
  4. select USB_XHCI_PLATFORM if USB_XHCI_HCD
  5. select USB_ROLE_SWITCH
  6. help
  7. Say Y here if your system has a Cadence USBSS or USBSSP
  8. dual-role controller.
  9. It supports: dual-role switch, Host-only, and Peripheral-only.
  10. config USB_CDNS_HOST
  11. bool
  12. if USB_CDNS_SUPPORT
  13. config USB_CDNS3
  14. tristate "Cadence USB3 Dual-Role Controller"
  15. depends on USB_CDNS_SUPPORT
  16. help
  17. Say Y here if your system has a Cadence USB3 dual-role controller.
  18. It supports: dual-role switch, Host-only, and Peripheral-only.
  19. If you choose to build this driver is a dynamically linked
  20. as module, the module will be called cdns3.ko.
  21. endif
  22. if USB_CDNS3
  23. config USB_CDNS3_GADGET
  24. bool "Cadence USB3 device controller"
  25. depends on USB_GADGET=y || USB_GADGET=USB_CDNS3
  26. help
  27. Say Y here to enable device controller functionality of the
  28. Cadence USBSS-DEV driver.
  29. This controller supports FF, HS and SS mode. It doesn't support
  30. LS and SSP mode.
  31. config USB_CDNS3_HOST
  32. bool "Cadence USB3 host controller"
  33. depends on USB=y || USB=USB_CDNS3
  34. select USB_CDNS_HOST
  35. help
  36. Say Y here to enable host controller functionality of the
  37. Cadence driver.
  38. Host controller is compliant with XHCI so it will use
  39. standard XHCI driver.
  40. config USB_CDNS3_PCI_WRAP
  41. tristate "Cadence USB3 support on PCIe-based platforms"
  42. depends on USB_PCI && ACPI
  43. default USB_CDNS3
  44. help
  45. If you're using the USBSS Core IP with a PCIe, please say
  46. 'Y' or 'M' here.
  47. If you choose to build this driver as module it will
  48. be dynamically linked and module will be called cdns3-pci.ko
  49. config USB_CDNS3_TI
  50. tristate "Cadence USB3 support on TI platforms"
  51. depends on ARCH_K3 || COMPILE_TEST
  52. default USB_CDNS3
  53. help
  54. Say 'Y' or 'M' here if you are building for Texas Instruments
  55. platforms that contain Cadence USB3 controller core.
  56. e.g. J721e.
  57. config USB_CDNS3_IMX
  58. tristate "Cadence USB3 support on NXP i.MX platforms"
  59. depends on ARCH_MXC || COMPILE_TEST
  60. default USB_CDNS3
  61. help
  62. Say 'Y' or 'M' here if you are building for NXP i.MX
  63. platforms that contain Cadence USB3 controller core.
  64. For example, imx8qm and imx8qxp.
  65. endif
  66. if USB_CDNS_SUPPORT
  67. config USB_CDNSP_PCI
  68. tristate "Cadence CDNSP Dual-Role Controller"
  69. depends on USB_CDNS_SUPPORT && USB_PCI && ACPI
  70. help
  71. Say Y here if your system has a Cadence CDNSP dual-role controller.
  72. It supports: dual-role switch Host-only, and Peripheral-only.
  73. If you choose to build this driver is a dynamically linked
  74. module, the module will be called cdnsp.ko.
  75. endif
  76. if USB_CDNSP_PCI
  77. config USB_CDNSP_GADGET
  78. bool "Cadence CDNSP device controller"
  79. depends on USB_GADGET=y || USB_GADGET=USB_CDNSP_PCI
  80. help
  81. Say Y here to enable device controller functionality of the
  82. Cadence CDNSP-DEV driver.
  83. Cadence CDNSP Device Controller in device mode is
  84. very similar to XHCI controller. Therefore some algorithms
  85. used has been taken from host driver.
  86. This controller supports FF, HS, SS and SSP mode.
  87. It doesn't support LS.
  88. config USB_CDNSP_HOST
  89. bool "Cadence CDNSP host controller"
  90. depends on USB=y || USB=USB_CDNSP_PCI
  91. select USB_CDNS_HOST
  92. help
  93. Say Y here to enable host controller functionality of the
  94. Cadence driver.
  95. Host controller is compliant with XHCI so it uses
  96. standard XHCI driver.
  97. endif