Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # Kernel configuration file for the UFS host controller drivers.
  4. #
  5. # Copyright (C) 2011-2013 Samsung India Software Operations
  6. #
  7. # Authors:
  8. # Santosh Yaraganavi <[email protected]>
  9. # Vinayak Holikatti <[email protected]>
  10. config UFS_DBG
  11. bool "Universal Flash Storage Debug Mode"
  12. depends on SCSI_UFSHCD
  13. help
  14. This selects the debug mode for ufs vendor driver.
  15. Enables tracing for QTI ufs driver.
  16. This also enables ftrace for ufs core and SCSI.
  17. Enabling this would have an adverse performance impact on disk IO.
  18. If unsure, say N.
  19. config SCSI_UFSHCD_PCI
  20. tristate "PCI bus based UFS Controller support"
  21. depends on PCI
  22. help
  23. This selects the PCI UFS Host Controller Interface. Select this if
  24. you have UFS Host Controller with PCI Interface.
  25. If you have a controller with this interface, say Y or M here.
  26. If unsure, say N.
  27. config SCSI_UFS_DWC_TC_PCI
  28. tristate "DesignWare pci support using a G210 Test Chip"
  29. depends on SCSI_UFSHCD_PCI
  30. help
  31. Synopsys Test Chip is a PHY for prototyping purposes.
  32. If unsure, say N.
  33. config SCSI_UFSHCD_PLATFORM
  34. tristate "Platform bus based UFS Controller support"
  35. depends on HAS_IOMEM
  36. help
  37. This selects the UFS host controller support. Select this if
  38. you have an UFS controller on Platform bus.
  39. If you have a controller with this interface, say Y or M here.
  40. If unsure, say N.
  41. config SCSI_UFS_CDNS_PLATFORM
  42. tristate "Cadence UFS Controller platform driver"
  43. depends on SCSI_UFSHCD_PLATFORM
  44. help
  45. This selects the Cadence-specific additions to UFSHCD platform driver.
  46. If unsure, say N.
  47. config SCSI_UFS_DWC_TC_PLATFORM
  48. tristate "DesignWare platform support using a G210 Test Chip"
  49. depends on OF && SCSI_UFSHCD_PLATFORM
  50. help
  51. Synopsys Test Chip is a PHY for prototyping purposes.
  52. If unsure, say N.
  53. config SCSI_UFS_QCOM
  54. tristate "QCOM specific hooks to UFS controller platform driver"
  55. depends on SCSI_UFSHCD_PLATFORM && ARCH_QCOM
  56. depends on RESET_CONTROLLER
  57. select QCOM_SCM if SCSI_UFS_CRYPTO
  58. help
  59. This selects the QCOM specific additions to UFSHCD platform driver.
  60. UFS host on QCOM needs some vendor specific configuration before
  61. accessing the hardware which includes PHY configuration and vendor
  62. specific registers.
  63. Select this if you have UFS controller on QCOM chipset.
  64. If unsure, say N.
  65. config SCSI_UFS_CRYPTO_QTI
  66. tristate "Vendor specific UFS crypto engine support"
  67. depends on SCSI_UFS_CRYPTO
  68. help
  69. Enable Vendor Crypto Engine Support in UFS
  70. Enabling this allows kernel to use UFS crypto operations defined
  71. and implemented by QTI. This is mainly required for implementing
  72. storage encryption using wrapped keys.
  73. config SCSI_UFS_MEDIATEK
  74. tristate "Mediatek specific hooks to UFS controller platform driver"
  75. depends on SCSI_UFSHCD_PLATFORM && ARCH_MEDIATEK
  76. depends on RESET_CONTROLLER
  77. select PHY_MTK_UFS
  78. select RESET_TI_SYSCON
  79. help
  80. This selects the Mediatek specific additions to UFSHCD platform driver.
  81. UFS host on Mediatek needs some vendor specific configuration before
  82. accessing the hardware which includes PHY configuration and vendor
  83. specific registers.
  84. Select this if you have UFS controller on Mediatek chipset.
  85. If unsure, say N.
  86. config SCSI_UFS_HISI
  87. tristate "Hisilicon specific hooks to UFS controller platform driver"
  88. depends on (ARCH_HISI || COMPILE_TEST) && SCSI_UFSHCD_PLATFORM
  89. help
  90. This selects the Hisilicon specific additions to UFSHCD platform driver.
  91. Select this if you have UFS controller on Hisilicon chipset.
  92. If unsure, say N.
  93. config SCSI_UFS_RENESAS
  94. tristate "Renesas specific hooks to UFS controller platform driver"
  95. depends on (ARCH_RENESAS || COMPILE_TEST) && SCSI_UFSHCD_PLATFORM
  96. help
  97. This selects the Renesas specific additions to UFSHCD platform driver.
  98. UFS host on Renesas needs some vendor specific configuration before
  99. accessing the hardware.
  100. Select this if you have UFS controller on Renesas chipset.
  101. If unsure, say N.
  102. config SCSI_UFS_TI_J721E
  103. tristate "TI glue layer for Cadence UFS Controller"
  104. depends on OF && HAS_IOMEM && (ARCH_K3 || COMPILE_TEST)
  105. help
  106. This selects driver for TI glue layer for Cadence UFS Host
  107. Controller IP.
  108. Selects this if you have TI platform with UFS controller.
  109. If unsure, say N.
  110. config SCSI_UFS_EXYNOS
  111. tristate "Exynos specific hooks to UFS controller platform driver"
  112. depends on SCSI_UFSHCD_PLATFORM && (ARCH_EXYNOS || COMPILE_TEST)
  113. help
  114. This selects the Samsung Exynos SoC specific additions to UFSHCD
  115. platform driver. UFS host on Samsung Exynos SoC includes HCI and
  116. UNIPRO layer, and associates with UFS-PHY driver.
  117. Select this if you have UFS host controller on Samsung Exynos SoC.
  118. If unsure, say N.
  119. config SCSI_UFS_VARIABLE_SG_ENTRY_SIZE
  120. bool
  121. default y if SCSI_UFS_CRYPTO
  122. config SCSI_UFS_SPRD
  123. tristate "Unisoc specific hooks to UFS controller platform driver"
  124. depends on SCSI_UFSHCD_PLATFORM && (ARCH_SPRD || COMPILE_TEST)
  125. help
  126. This selects the Unisoc specific additions to UFSHCD platform driver.
  127. UFS host on Unisoc needs some vendor specific configuration before
  128. accessing the hardware which includes PHY configuration and vendor
  129. specific registers.
  130. Select this if you have UFS controller on Unisoc chipset.
  131. If unsure, say N.
  132. config SEC_UFS_FEATURE
  133. bool "SEC specific UFS feature"
  134. default n
  135. depends on SCSI_UFSHCD
  136. help
  137. Enable Samsung feature support
  138. Enabling this allows kernel to use SEC specific feature
  139. defined and implemented by SEC.
  140. config SCSI_UFS_TEST_MODE
  141. bool "Samsung UFS TEST feature"
  142. default n
  143. depends on SEC_UFS_FEATURE
  144. help
  145. This selects support for test mode for debugging.
  146. Select this option if this feature is needed on working.
  147. If unsure, say N.