Kconfig 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. config QCOM_GDSC
  2. bool
  3. select PM_GENERIC_DOMAINS if PM
  4. config QCOM_RPMCC
  5. bool
  6. config COMMON_CLK_QCOM
  7. tristate "Support for Qualcomm's clock controllers"
  8. depends on OF
  9. depends on ARCH_QCOM || COMPILE_TEST
  10. select REGMAP_MMIO
  11. select RESET_CONTROLLER
  12. config QCOM_CLK_RPM
  13. tristate "RPM based Clock Controller"
  14. depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
  15. select QCOM_RPMCC
  16. help
  17. The RPM (Resource Power Manager) is a dedicated hardware engine for
  18. managing the shared SoC resources in order to keep the lowest power
  19. profile. It communicates with other hardware subsystems via shared
  20. memory and accepts clock requests, aggregates the requests and turns
  21. the clocks on/off or scales them on demand.
  22. Say Y if you want to support the clocks exposed by the RPM on
  23. platforms such as apq8064, msm8660, msm8960 etc.
  24. config QCOM_CLK_SMD_RPM
  25. tristate "RPM over SMD based Clock Controller"
  26. depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
  27. select QCOM_RPMCC
  28. help
  29. The RPM (Resource Power Manager) is a dedicated hardware engine for
  30. managing the shared SoC resources in order to keep the lowest power
  31. profile. It communicates with other hardware subsystems via shared
  32. memory and accepts clock requests, aggregates the requests and turns
  33. the clocks on/off or scales them on demand.
  34. Say Y if you want to support the clocks exposed by the RPM on
  35. platforms such as apq8016, apq8084, msm8974 etc.
  36. config APQ_GCC_8084
  37. tristate "APQ8084 Global Clock Controller"
  38. select QCOM_GDSC
  39. depends on COMMON_CLK_QCOM
  40. help
  41. Support for the global clock controller on apq8084 devices.
  42. Say Y if you want to use peripheral devices such as UART, SPI,
  43. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  44. config APQ_MMCC_8084
  45. tristate "APQ8084 Multimedia Clock Controller"
  46. select APQ_GCC_8084
  47. select QCOM_GDSC
  48. depends on COMMON_CLK_QCOM
  49. help
  50. Support for the multimedia clock controller on apq8084 devices.
  51. Say Y if you want to support multimedia devices such as display,
  52. graphics, video encode/decode, camera, etc.
  53. config IPQ_GCC_4019
  54. tristate "IPQ4019 Global Clock Controller"
  55. depends on COMMON_CLK_QCOM
  56. help
  57. Support for the global clock controller on ipq4019 devices.
  58. Say Y if you want to use peripheral devices such as UART, SPI,
  59. i2c, USB, SD/eMMC, etc.
  60. config IPQ_GCC_806X
  61. tristate "IPQ806x Global Clock Controller"
  62. depends on COMMON_CLK_QCOM
  63. help
  64. Support for the global clock controller on ipq806x devices.
  65. Say Y if you want to use peripheral devices such as UART, SPI,
  66. i2c, USB, SD/eMMC, etc.
  67. config IPQ_LCC_806X
  68. tristate "IPQ806x LPASS Clock Controller"
  69. select IPQ_GCC_806X
  70. depends on COMMON_CLK_QCOM
  71. help
  72. Support for the LPASS clock controller on ipq806x devices.
  73. Say Y if you want to use audio devices such as i2s, pcm,
  74. S/PDIF, etc.
  75. config MSM_GCC_8660
  76. tristate "MSM8660 Global Clock Controller"
  77. depends on COMMON_CLK_QCOM
  78. help
  79. Support for the global clock controller on msm8660 devices.
  80. Say Y if you want to use peripheral devices such as UART, SPI,
  81. i2c, USB, SD/eMMC, etc.
  82. config MSM_GCC_8916
  83. tristate "MSM8916 Global Clock Controller"
  84. select QCOM_GDSC
  85. depends on COMMON_CLK_QCOM
  86. help
  87. Support for the global clock controller on msm8916 devices.
  88. Say Y if you want to use devices such as UART, SPI i2c, USB,
  89. SD/eMMC, display, graphics, camera etc.
  90. config MSM_GCC_8960
  91. tristate "APQ8064/MSM8960 Global Clock Controller"
  92. depends on COMMON_CLK_QCOM
  93. help
  94. Support for the global clock controller on apq8064/msm8960 devices.
  95. Say Y if you want to use peripheral devices such as UART, SPI,
  96. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  97. config MSM_LCC_8960
  98. tristate "APQ8064/MSM8960 LPASS Clock Controller"
  99. select MSM_GCC_8960
  100. depends on COMMON_CLK_QCOM
  101. help
  102. Support for the LPASS clock controller on apq8064/msm8960 devices.
  103. Say Y if you want to use audio devices such as i2s, pcm,
  104. SLIMBus, etc.
  105. config MDM_GCC_9615
  106. tristate "MDM9615 Global Clock Controller"
  107. depends on COMMON_CLK_QCOM
  108. help
  109. Support for the global clock controller on mdm9615 devices.
  110. Say Y if you want to use peripheral devices such as UART, SPI,
  111. i2c, USB, SD/eMMC, etc.
  112. config MDM_LCC_9615
  113. tristate "MDM9615 LPASS Clock Controller"
  114. select MDM_GCC_9615
  115. depends on COMMON_CLK_QCOM
  116. help
  117. Support for the LPASS clock controller on mdm9615 devices.
  118. Say Y if you want to use audio devices such as i2s, pcm,
  119. SLIMBus, etc.
  120. config MSM_MMCC_8960
  121. tristate "MSM8960 Multimedia Clock Controller"
  122. select MSM_GCC_8960
  123. depends on COMMON_CLK_QCOM
  124. help
  125. Support for the multimedia clock controller on msm8960 devices.
  126. Say Y if you want to support multimedia devices such as display,
  127. graphics, video encode/decode, camera, etc.
  128. config MSM_GCC_8974
  129. tristate "MSM8974 Global Clock Controller"
  130. select QCOM_GDSC
  131. depends on COMMON_CLK_QCOM
  132. help
  133. Support for the global clock controller on msm8974 devices.
  134. Say Y if you want to use peripheral devices such as UART, SPI,
  135. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  136. config MSM_MMCC_8974
  137. tristate "MSM8974 Multimedia Clock Controller"
  138. select MSM_GCC_8974
  139. select QCOM_GDSC
  140. depends on COMMON_CLK_QCOM
  141. help
  142. Support for the multimedia clock controller on msm8974 devices.
  143. Say Y if you want to support multimedia devices such as display,
  144. graphics, video encode/decode, camera, etc.
  145. config MSM_GCC_8994
  146. tristate "MSM8994 Global Clock Controller"
  147. depends on COMMON_CLK_QCOM
  148. help
  149. Support for the global clock controller on msm8994 devices.
  150. Say Y if you want to use peripheral devices such as UART, SPI,
  151. i2c, USB, UFS, SD/eMMC, PCIe, etc.
  152. config MSM_GCC_8996
  153. tristate "MSM8996 Global Clock Controller"
  154. select QCOM_GDSC
  155. depends on COMMON_CLK_QCOM
  156. help
  157. Support for the global clock controller on msm8996 devices.
  158. Say Y if you want to use peripheral devices such as UART, SPI,
  159. i2c, USB, UFS, SD/eMMC, PCIe, etc.
  160. config MSM_MMCC_8996
  161. tristate "MSM8996 Multimedia Clock Controller"
  162. select MSM_GCC_8996
  163. select QCOM_GDSC
  164. depends on COMMON_CLK_QCOM
  165. help
  166. Support for the multimedia clock controller on msm8996 devices.
  167. Say Y if you want to support multimedia devices such as display,
  168. graphics, video encode/decode, camera, etc.