Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  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_A53PLL
  13. tristate "MSM8916 A53 PLL"
  14. depends on COMMON_CLK_QCOM
  15. default ARCH_QCOM
  16. help
  17. Support for the A53 PLL on MSM8916 devices. It provides
  18. the CPU with frequencies above 1GHz.
  19. Say Y if you want to support higher CPU frequencies on MSM8916
  20. devices.
  21. config QCOM_CLK_APCS_MSM8916
  22. tristate "MSM8916 APCS Clock Controller"
  23. depends on COMMON_CLK_QCOM
  24. depends on QCOM_APCS_IPC || COMPILE_TEST
  25. default ARCH_QCOM
  26. help
  27. Support for the APCS Clock Controller on msm8916 devices. The
  28. APCS is managing the mux and divider which feeds the CPUs.
  29. Say Y if you want to support CPU frequency scaling on devices
  30. such as msm8916.
  31. config QCOM_CLK_RPM
  32. tristate "RPM based Clock Controller"
  33. depends on COMMON_CLK_QCOM && MFD_QCOM_RPM
  34. select QCOM_RPMCC
  35. help
  36. The RPM (Resource Power Manager) is a dedicated hardware engine for
  37. managing the shared SoC resources in order to keep the lowest power
  38. profile. It communicates with other hardware subsystems via shared
  39. memory and accepts clock requests, aggregates the requests and turns
  40. the clocks on/off or scales them on demand.
  41. Say Y if you want to support the clocks exposed by the RPM on
  42. platforms such as apq8064, msm8660, msm8960 etc.
  43. config QCOM_CLK_SMD_RPM
  44. tristate "RPM over SMD based Clock Controller"
  45. depends on COMMON_CLK_QCOM && QCOM_SMD_RPM
  46. select QCOM_RPMCC
  47. help
  48. The RPM (Resource Power Manager) is a dedicated hardware engine for
  49. managing the shared SoC resources in order to keep the lowest power
  50. profile. It communicates with other hardware subsystems via shared
  51. memory and accepts clock requests, aggregates the requests and turns
  52. the clocks on/off or scales them on demand.
  53. Say Y if you want to support the clocks exposed by the RPM on
  54. platforms such as apq8016, apq8084, msm8974 etc.
  55. config QCOM_CLK_RPMH
  56. tristate "RPMh Clock Driver"
  57. depends on COMMON_CLK_QCOM && QCOM_RPMH
  58. help
  59. RPMh manages shared resources on some Qualcomm Technologies, Inc.
  60. SoCs. It accepts requests from other hardware subsystems via RSC.
  61. Say Y if you want to support the clocks exposed by RPMh on
  62. platforms such as SDM845.
  63. config APQ_GCC_8084
  64. tristate "APQ8084 Global Clock Controller"
  65. select QCOM_GDSC
  66. depends on COMMON_CLK_QCOM
  67. help
  68. Support for the global clock controller on apq8084 devices.
  69. Say Y if you want to use peripheral devices such as UART, SPI,
  70. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  71. config APQ_MMCC_8084
  72. tristate "APQ8084 Multimedia Clock Controller"
  73. select APQ_GCC_8084
  74. select QCOM_GDSC
  75. depends on COMMON_CLK_QCOM
  76. help
  77. Support for the multimedia clock controller on apq8084 devices.
  78. Say Y if you want to support multimedia devices such as display,
  79. graphics, video encode/decode, camera, etc.
  80. config IPQ_GCC_4019
  81. tristate "IPQ4019 Global Clock Controller"
  82. depends on COMMON_CLK_QCOM
  83. help
  84. Support for the global clock controller on ipq4019 devices.
  85. Say Y if you want to use peripheral devices such as UART, SPI,
  86. i2c, USB, SD/eMMC, etc.
  87. config IPQ_GCC_806X
  88. tristate "IPQ806x Global Clock Controller"
  89. depends on COMMON_CLK_QCOM
  90. help
  91. Support for the global clock controller on ipq806x devices.
  92. Say Y if you want to use peripheral devices such as UART, SPI,
  93. i2c, USB, SD/eMMC, etc.
  94. config IPQ_LCC_806X
  95. tristate "IPQ806x LPASS Clock Controller"
  96. select IPQ_GCC_806X
  97. depends on COMMON_CLK_QCOM
  98. help
  99. Support for the LPASS clock controller on ipq806x devices.
  100. Say Y if you want to use audio devices such as i2s, pcm,
  101. S/PDIF, etc.
  102. config IPQ_GCC_8074
  103. tristate "IPQ8074 Global Clock Controller"
  104. depends on COMMON_CLK_QCOM
  105. help
  106. Support for global clock controller on ipq8074 devices.
  107. Say Y if you want to use peripheral devices such as UART, SPI,
  108. i2c, USB, SD/eMMC, etc. Select this for the root clock
  109. of ipq8074.
  110. config MSM_GCC_8660
  111. tristate "MSM8660 Global Clock Controller"
  112. depends on COMMON_CLK_QCOM
  113. help
  114. Support for the global clock controller on msm8660 devices.
  115. Say Y if you want to use peripheral devices such as UART, SPI,
  116. i2c, USB, SD/eMMC, etc.
  117. config MSM_GCC_8916
  118. tristate "MSM8916 Global Clock Controller"
  119. select QCOM_GDSC
  120. depends on COMMON_CLK_QCOM
  121. help
  122. Support for the global clock controller on msm8916 devices.
  123. Say Y if you want to use devices such as UART, SPI i2c, USB,
  124. SD/eMMC, display, graphics, camera etc.
  125. config MSM_GCC_8960
  126. tristate "APQ8064/MSM8960 Global Clock Controller"
  127. depends on COMMON_CLK_QCOM
  128. help
  129. Support for the global clock controller on apq8064/msm8960 devices.
  130. Say Y if you want to use peripheral devices such as UART, SPI,
  131. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  132. config MSM_LCC_8960
  133. tristate "APQ8064/MSM8960 LPASS Clock Controller"
  134. select MSM_GCC_8960
  135. depends on COMMON_CLK_QCOM
  136. help
  137. Support for the LPASS clock controller on apq8064/msm8960 devices.
  138. Say Y if you want to use audio devices such as i2s, pcm,
  139. SLIMBus, etc.
  140. config MDM_GCC_9615
  141. tristate "MDM9615 Global Clock Controller"
  142. depends on COMMON_CLK_QCOM
  143. help
  144. Support for the global clock controller on mdm9615 devices.
  145. Say Y if you want to use peripheral devices such as UART, SPI,
  146. i2c, USB, SD/eMMC, etc.
  147. config MDM_LCC_9615
  148. tristate "MDM9615 LPASS Clock Controller"
  149. select MDM_GCC_9615
  150. depends on COMMON_CLK_QCOM
  151. help
  152. Support for the LPASS clock controller on mdm9615 devices.
  153. Say Y if you want to use audio devices such as i2s, pcm,
  154. SLIMBus, etc.
  155. config MSM_MMCC_8960
  156. tristate "MSM8960 Multimedia Clock Controller"
  157. select MSM_GCC_8960
  158. depends on COMMON_CLK_QCOM
  159. help
  160. Support for the multimedia clock controller on msm8960 devices.
  161. Say Y if you want to support multimedia devices such as display,
  162. graphics, video encode/decode, camera, etc.
  163. config MSM_GCC_8974
  164. tristate "MSM8974 Global Clock Controller"
  165. select QCOM_GDSC
  166. depends on COMMON_CLK_QCOM
  167. help
  168. Support for the global clock controller on msm8974 devices.
  169. Say Y if you want to use peripheral devices such as UART, SPI,
  170. i2c, USB, SD/eMMC, SATA, PCIe, etc.
  171. config MSM_MMCC_8974
  172. tristate "MSM8974 Multimedia Clock Controller"
  173. select MSM_GCC_8974
  174. select QCOM_GDSC
  175. depends on COMMON_CLK_QCOM
  176. help
  177. Support for the multimedia clock controller on msm8974 devices.
  178. Say Y if you want to support multimedia devices such as display,
  179. graphics, video encode/decode, camera, etc.
  180. config MSM_GCC_8994
  181. tristate "MSM8994 Global Clock Controller"
  182. depends on COMMON_CLK_QCOM
  183. help
  184. Support for the global clock controller on msm8994 devices.
  185. Say Y if you want to use peripheral devices such as UART, SPI,
  186. i2c, USB, UFS, SD/eMMC, PCIe, etc.
  187. config MSM_GCC_8996
  188. tristate "MSM8996 Global Clock Controller"
  189. select QCOM_GDSC
  190. depends on COMMON_CLK_QCOM
  191. help
  192. Support for the global clock controller on msm8996 devices.
  193. Say Y if you want to use peripheral devices such as UART, SPI,
  194. i2c, USB, UFS, SD/eMMC, PCIe, etc.
  195. config MSM_MMCC_8996
  196. tristate "MSM8996 Multimedia Clock Controller"
  197. select MSM_GCC_8996
  198. select QCOM_GDSC
  199. depends on COMMON_CLK_QCOM
  200. help
  201. Support for the multimedia clock controller on msm8996 devices.
  202. Say Y if you want to support multimedia devices such as display,
  203. graphics, video encode/decode, camera, etc.
  204. config MSM_GCC_8998
  205. tristate "MSM8998 Global Clock Controller"
  206. depends on COMMON_CLK_QCOM
  207. help
  208. Support for the global clock controller on msm8998 devices.
  209. Say Y if you want to use peripheral devices such as UART, SPI,
  210. i2c, USB, UFS, SD/eMMC, PCIe, etc.
  211. config SDM_GCC_845
  212. tristate "SDM845 Global Clock Controller"
  213. select QCOM_GDSC
  214. depends on COMMON_CLK_QCOM
  215. help
  216. Support for the global clock controller on SDM845 devices.
  217. Say Y if you want to use peripheral devices such as UART, SPI,
  218. i2C, USB, UFS, SDDC, PCIe, etc.
  219. config SDM_VIDEOCC_845
  220. tristate "SDM845 Video Clock Controller"
  221. depends on COMMON_CLK_QCOM
  222. select SDM_GCC_845
  223. select QCOM_GDSC
  224. help
  225. Support for the video clock controller on SDM845 devices.
  226. Say Y if you want to support video devices and functionality such as
  227. video encode and decode.
  228. config SDM_DISPCC_845
  229. tristate "SDM845 Display Clock Controller"
  230. select SDM_GCC_845
  231. depends on COMMON_CLK_QCOM
  232. help
  233. Support for the display clock controller on Qualcomm Technologies, Inc
  234. SDM845 devices.
  235. Say Y if you want to support display devices and functionality such as
  236. splash screen.
  237. config SPMI_PMIC_CLKDIV
  238. tristate "SPMI PMIC clkdiv Support"
  239. depends on (COMMON_CLK_QCOM && SPMI) || COMPILE_TEST
  240. help
  241. This driver supports the clkdiv functionality on the Qualcomm
  242. Technologies, Inc. SPMI PMIC. It configures the frequency of
  243. clkdiv outputs of the PMIC. These clocks are typically wired
  244. through alternate functions on GPIO pins.