Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # For MTK USB3.0 IP++++
  2. config SSUSB_DRV
  3. tristate "MediaTek MU3D Gadget support"
  4. default n
  5. help
  6. Say Y if support Gadget based on
  7. MediaTek USB3.0 Device controller.
  8. It will turn on ssusb support.
  9. If unsure,say N.
  10. config SSUSB_MU3_PHY
  11. bool "MU3 PHY"
  12. default n
  13. ---help---
  14. Enables support
  15. MU3 PHY for SSUSB or XHCI.
  16. It's common config for USB PHY,
  17. we need turn on it if support USB_MU3D_DRV.
  18. If unsure,say N.
  19. config SSUSB_U3_PHY_GPIO_SUPPORT
  20. bool "MU3 PHY registers access by I2C"
  21. depends on SSUSB_MU3_PHY
  22. default n
  23. ---help---
  24. Enables support for
  25. read/write PHY registers by external I2C.
  26. It's only for FPGA test.
  27. If unsure,say N.
  28. config SSUSB_U3_PHY_AHB_SUPPORT
  29. bool "MU3 PHY registers access by AHB"
  30. depends on SSUSB_MU3_PHY
  31. default n
  32. ---help---
  33. Enables support for
  34. read/write PHY registers by internal AHB.
  35. It's one type of USB PHY.
  36. If unsure,say N.
  37. config SSUSB_MTK_XHCI
  38. tristate "MediaTek U3 XHCI support"
  39. default n
  40. ---help---
  41. Enables support
  42. Mediatek U3 XHCI functions.
  43. If we want to support USB host,we need turn on this config.
  44. If unsure,say N.
  45. config SSUSB_MTK_TEST_XHCI
  46. tristate "MediaTek U3 TEST XHCI driver support"
  47. default n
  48. ---help---
  49. Enables support
  50. Mediatek U3 XHCI test driver kernel framework.
  51. This test driver is for USB complicate test.
  52. If unsure,say N.
  53. config SSUSB_C60802_SUPPORT
  54. bool "MU3 PHY C60802 support"
  55. depends on SSUSB_MU3_PHY
  56. default n
  57. ---help---
  58. Enables support for
  59. external PHY(Ver C).
  60. It's only for FPGA test.
  61. If unsure,say N.
  62. config SSUSB_D60802_SUPPORT
  63. bool "MU3 PHY D60802 support"
  64. depends on SSUSB_MU3_PHY
  65. default n
  66. ---help---
  67. Enables support
  68. for external PHY(Ver D).
  69. It's only for FPGA test.
  70. If unsure,say N.
  71. config SSUSB_E60802_SUPPORT
  72. bool "MU3 PHY E60802 support"
  73. depends on SSUSB_MU3_PHY
  74. default n
  75. ---help---
  76. Enables support
  77. for external PHY(Ver E).
  78. It's only for FPGA test.
  79. If unsure,say N.
  80. config SSUSB_PROJECT_PHY
  81. bool "MU3 ASIC PHY support"
  82. depends on SSUSB_MU3_PHY
  83. default n
  84. ---help---
  85. Enables support
  86. for ASIC PHY.
  87. We often use it for USB PHY now.
  88. If unsure,say N.
  89. config SSUSB_PHY0_U2_CURRENT_DETECT
  90. bool "U2 CURRENT DYNAMIC DETECTIONG"
  91. depends on SSUSB_MU3_PHY
  92. default n
  93. ---help---
  94. Enable it if dynamically select current source of u2-phy0
  95. which are internal current or U3 current; it's add only for
  96. mt8173-magna platform. so for others, disable it anyway.
  97. If unsure, say N.