1 # SPDX-License-Identifier: GPL-2.0-only
4 select KRAIT_L2_ACCESSORS
8 select PM_GENERIC_DOMAINS if PM
13 menuconfig COMMON_CLK_QCOM
14 tristate "Support for Qualcomm's clock controllers"
16 depends on ARCH_QCOM || COMPILE_TEST
19 select RESET_CONTROLLER
24 tristate "MSM8916 A53 PLL"
26 Support for the A53 PLL on MSM8916 devices. It provides
27 the CPU with frequencies above 1GHz.
28 Say Y if you want to support higher CPU frequencies on MSM8916
31 config QCOM_CLK_APCS_MSM8916
32 tristate "MSM8916 APCS Clock Controller"
33 depends on QCOM_APCS_IPC || COMPILE_TEST
35 Support for the APCS Clock Controller on msm8916 devices. The
36 APCS is managing the mux and divider which feeds the CPUs.
37 Say Y if you want to support CPU frequency scaling on devices
40 config QCOM_CLK_APCC_MSM8996
41 tristate "MSM8996 CPU Clock Controller"
42 select QCOM_KRYO_L2_ACCESSORS
45 Support for the CPU clock controller on msm8996 devices.
46 Say Y if you want to support CPU clock scaling using CPUfreq
47 drivers for dyanmic power management.
50 tristate "RPM based Clock Controller"
51 depends on MFD_QCOM_RPM
54 The RPM (Resource Power Manager) is a dedicated hardware engine for
55 managing the shared SoC resources in order to keep the lowest power
56 profile. It communicates with other hardware subsystems via shared
57 memory and accepts clock requests, aggregates the requests and turns
58 the clocks on/off or scales them on demand.
59 Say Y if you want to support the clocks exposed by the RPM on
60 platforms such as apq8064, msm8660, msm8960 etc.
62 config QCOM_CLK_SMD_RPM
63 tristate "RPM over SMD based Clock Controller"
64 depends on QCOM_SMD_RPM
67 The RPM (Resource Power Manager) is a dedicated hardware engine for
68 managing the shared SoC resources in order to keep the lowest power
69 profile. It communicates with other hardware subsystems via shared
70 memory and accepts clock requests, aggregates the requests and turns
71 the clocks on/off or scales them on demand.
72 Say Y if you want to support the clocks exposed by the RPM on
73 platforms such as apq8016, apq8084, msm8974 etc.
76 tristate "RPMh Clock Driver"
79 RPMh manages shared resources on some Qualcomm Technologies, Inc.
80 SoCs. It accepts requests from other hardware subsystems via RSC.
81 Say Y if you want to support the clocks exposed by RPMh on
82 platforms such as SDM845.
85 tristate "APQ8084 Global Clock Controller"
88 Support for the global clock controller on apq8084 devices.
89 Say Y if you want to use peripheral devices such as UART, SPI,
90 i2c, USB, SD/eMMC, SATA, PCIe, etc.
93 tristate "APQ8084 Multimedia Clock Controller"
97 Support for the multimedia clock controller on apq8084 devices.
98 Say Y if you want to support multimedia devices such as display,
99 graphics, video encode/decode, camera, etc.
102 tristate "IPQ APSS PLL"
104 Support for APSS PLL on ipq devices. The APSS PLL is the main
105 clock that feeds the CPUs on ipq based devices.
106 Say Y if you want to support CPU frequency scaling on ipq based
110 tristate "IPQ APSS Clock Controller"
112 depends on QCOM_APCS_IPC || COMPILE_TEST
114 Support for APSS clock controller on IPQ platforms. The
115 APSS clock controller manages the Mux and enable block that feeds the
117 Say Y if you want to support CPU frequency scaling on
121 tristate "IPQ4019 Global Clock Controller"
123 Support for the global clock controller on ipq4019 devices.
124 Say Y if you want to use peripheral devices such as UART, SPI,
125 i2c, USB, SD/eMMC, etc.
128 tristate "IPQ6018 Global Clock Controller"
130 Support for global clock controller on ipq6018 devices.
131 Say Y if you want to use peripheral devices such as UART, SPI,
132 i2c, USB, SD/eMMC, etc. Select this for the root clock
136 tristate "IPQ806x Global Clock Controller"
138 Support for the global clock controller on ipq806x devices.
139 Say Y if you want to use peripheral devices such as UART, SPI,
140 i2c, USB, SD/eMMC, etc.
143 tristate "IPQ806x LPASS Clock Controller"
146 Support for the LPASS clock controller on ipq806x devices.
147 Say Y if you want to use audio devices such as i2s, pcm,
151 tristate "IPQ8074 Global Clock Controller"
153 Support for global clock controller on ipq8074 devices.
154 Say Y if you want to use peripheral devices such as UART, SPI,
155 i2c, USB, SD/eMMC, etc. Select this for the root clock
159 tristate "MSM8660 Global Clock Controller"
161 Support for the global clock controller on msm8660 devices.
162 Say Y if you want to use peripheral devices such as UART, SPI,
163 i2c, USB, SD/eMMC, etc.
166 tristate "MSM8916 Global Clock Controller"
169 Support for the global clock controller on msm8916 devices.
170 Say Y if you want to use devices such as UART, SPI i2c, USB,
171 SD/eMMC, display, graphics, camera etc.
174 tristate "MSM8939 Global Clock Controller"
177 Support for the global clock controller on msm8939 devices.
178 Say Y if you want to use devices such as UART, SPI i2c, USB,
179 SD/eMMC, display, graphics, camera etc.
182 tristate "APQ8064/MSM8960 Global Clock Controller"
184 Support for the global clock controller on apq8064/msm8960 devices.
185 Say Y if you want to use peripheral devices such as UART, SPI,
186 i2c, USB, SD/eMMC, SATA, PCIe, etc.
189 tristate "APQ8064/MSM8960 LPASS Clock Controller"
192 Support for the LPASS clock controller on apq8064/msm8960 devices.
193 Say Y if you want to use audio devices such as i2s, pcm,
197 tristate "MDM9615 Global Clock Controller"
199 Support for the global clock controller on mdm9615 devices.
200 Say Y if you want to use peripheral devices such as UART, SPI,
201 i2c, USB, SD/eMMC, etc.
204 tristate "MDM9615 LPASS Clock Controller"
207 Support for the LPASS clock controller on mdm9615 devices.
208 Say Y if you want to use audio devices such as i2s, pcm,
212 tristate "MSM8960 Multimedia Clock Controller"
215 Support for the multimedia clock controller on msm8960 devices.
216 Say Y if you want to support multimedia devices such as display,
217 graphics, video encode/decode, camera, etc.
220 tristate "MSM8974 Global Clock Controller"
223 Support for the global clock controller on msm8974 devices.
224 Say Y if you want to use peripheral devices such as UART, SPI,
225 i2c, USB, SD/eMMC, SATA, PCIe, etc.
228 tristate "MSM8974 Multimedia Clock Controller"
232 Support for the multimedia clock controller on msm8974 devices.
233 Say Y if you want to support multimedia devices such as display,
234 graphics, video encode/decode, camera, etc.
237 tristate "MSM8994 Global Clock Controller"
239 Support for the global clock controller on msm8994 devices.
240 Say Y if you want to use peripheral devices such as UART, SPI,
241 i2c, USB, UFS, SD/eMMC, PCIe, etc.
244 tristate "MSM8996 Global Clock Controller"
247 Support for the global clock controller on msm8996 devices.
248 Say Y if you want to use peripheral devices such as UART, SPI,
249 i2c, USB, UFS, SD/eMMC, PCIe, etc.
252 tristate "MSM8996 Multimedia Clock Controller"
256 Support for the multimedia clock controller on msm8996 devices.
257 Say Y if you want to support multimedia devices such as display,
258 graphics, video encode/decode, camera, etc.
261 tristate "MSM8998 Global Clock Controller"
264 Support for the global clock controller on msm8998 devices.
265 Say Y if you want to use peripheral devices such as UART, SPI,
266 i2c, USB, UFS, SD/eMMC, PCIe, etc.
268 config MSM_GPUCC_8998
269 tristate "MSM8998 Graphics Clock Controller"
273 Support for the graphics clock controller on MSM8998 devices.
274 Say Y if you want to support graphics controller devices and
275 functionality such as 3D graphics.
278 tristate "MSM8998 Multimedia Clock Controller"
282 Support for the multimedia clock controller on msm8998 devices.
283 Say Y if you want to support multimedia devices such as display,
284 graphics, video encode/decode, camera, etc.
287 tristate "QCS404 Global Clock Controller"
289 Support for the global clock controller on QCS404 devices.
290 Say Y if you want to use multimedia devices or peripheral
291 devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
293 config SC_DISPCC_7180
294 tristate "SC7180 Display Clock Controller"
297 Support for the display clock controller on Qualcomm Technologies, Inc
299 Say Y if you want to support display devices and functionality such as
303 tristate "SC7180 Global Clock Controller"
305 depends on COMMON_CLK_QCOM
307 Support for the global clock controller on SC7180 devices.
308 Say Y if you want to use peripheral devices such as UART, SPI,
309 I2C, USB, UFS, SDCC, etc.
311 config SC_LPASS_CORECC_7180
312 tristate "SC7180 LPASS Core Clock Controller"
315 Support for the LPASS(Low Power Audio Subsystem) core clock controller
317 Say Y if you want to use LPASS clocks and power domains of the LPASS
318 core clock controller.
321 tristate "SC7180 Graphics Clock Controller"
324 Support for the graphics clock controller on SC7180 devices.
325 Say Y if you want to support graphics controller devices and
326 functionality such as 3D graphics.
329 tristate "SC7180 Modem Clock Controller"
332 Support for the Modem Subsystem clock controller on Qualcomm
333 Technologies, Inc on SC7180 devices.
334 Say Y if you want to use the Modem branch clocks of the Modem
335 subsystem clock controller to reset the MSS subsystem.
337 config SC_VIDEOCC_7180
338 tristate "SC7180 Video Clock Controller"
341 Support for the video clock controller on SC7180 devices.
342 Say Y if you want to support video devices and functionality such as
343 video encode and decode.
346 tristate "SDM845 Camera Clock Controller"
349 Support for the camera clock controller on SDM845 devices.
350 Say Y if you want to support camera devices and camera functionality.
353 tristate "SDM660 Global Clock Controller"
356 Support for the global clock controller on SDM660 devices.
357 Say Y if you want to use peripheral devices such as UART, SPI,
358 i2C, USB, UFS, SDDC, PCIe, etc.
360 config QCS_TURING_404
361 tristate "QCS404 Turing Clock Controller"
363 Support for the Turing Clock Controller on QCS404, provides clocks
364 and resets for the Turing subsystem.
366 config QCS_Q6SSTOP_404
367 tristate "QCS404 Q6SSTOP Clock Controller"
370 Support for the Q6SSTOP clock controller on QCS404 devices.
371 Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
372 controller to reset the Q6SSTOP subsystem.
375 tristate "SDM845 Global Clock Controller"
378 Support for the global clock controller on SDM845 devices.
379 Say Y if you want to use peripheral devices such as UART, SPI,
380 i2C, USB, UFS, SDDC, PCIe, etc.
383 tristate "SDM845 Graphics Clock Controller"
386 Support for the graphics clock controller on SDM845 devices.
387 Say Y if you want to support graphics controller devices and
388 functionality such as 3D graphics.
390 config SDM_VIDEOCC_845
391 tristate "SDM845 Video Clock Controller"
395 Support for the video clock controller on SDM845 devices.
396 Say Y if you want to support video devices and functionality such as
397 video encode and decode.
399 config SDM_DISPCC_845
400 tristate "SDM845 Display Clock Controller"
403 Support for the display clock controller on Qualcomm Technologies, Inc
405 Say Y if you want to support display devices and functionality such as
408 config SDM_LPASSCC_845
409 tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
412 Support for the LPASS clock controller on SDM845 devices.
413 Say Y if you want to use the LPASS branch clocks of the LPASS clock
414 controller to reset the LPASS subsystem.
416 config SM_DISPCC_8250
417 tristate "SM8150 and SM8250 Display Clock Controller"
418 depends on SM_GCC_8150 || SM_GCC_8250
420 Support for the display clock controller on Qualcomm Technologies, Inc
421 SM8150 and SM8250 devices.
422 Say Y if you want to support display devices and functionality such as
426 tristate "SM8150 Global Clock Controller"
428 Support for the global clock controller on SM8150 devices.
429 Say Y if you want to use peripheral devices such as UART,
430 SPI, I2C, USB, SD/UFS, PCIe etc.
433 tristate "SM8250 Global Clock Controller"
436 Support for the global clock controller on SM8250 devices.
437 Say Y if you want to use peripheral devices such as UART,
438 SPI, I2C, USB, SD/UFS, PCIe etc.
441 tristate "SM8150 Graphics Clock Controller"
444 Support for the graphics clock controller on SM8150 devices.
445 Say Y if you want to support graphics controller devices and
446 functionality such as 3D graphics.
449 tristate "SM8250 Graphics Clock Controller"
452 Support for the graphics clock controller on SM8250 devices.
453 Say Y if you want to support graphics controller devices and
454 functionality such as 3D graphics.
456 config SM_VIDEOCC_8150
457 tristate "SM8150 Video Clock Controller"
461 Support for the video clock controller on SM8150 devices.
462 Say Y if you want to support video devices and functionality such as
463 video encode and decode.
465 config SM_VIDEOCC_8250
466 tristate "SM8250 Video Clock Controller"
470 Support for the video clock controller on SM8250 devices.
471 Say Y if you want to support video devices and functionality such as
472 video encode and decode.
474 config SPMI_PMIC_CLKDIV
475 tristate "SPMI PMIC clkdiv Support"
476 depends on SPMI || COMPILE_TEST
478 This driver supports the clkdiv functionality on the Qualcomm
479 Technologies, Inc. SPMI PMIC. It configures the frequency of
480 clkdiv outputs of the PMIC. These clocks are typically wired
481 through alternate functions on GPIO pins.
484 tristate "High-Frequency PLL (HFPLL) Clock Controller"
486 Support for the high-frequency PLLs present on Qualcomm devices.
487 Say Y if you want to support CPU frequency scaling on devices
488 such as MSM8974, APQ8084, etc.
491 tristate "KPSS Clock Controller"
493 Support for the Krait ACC and GCC clock controllers. Say Y
494 if you want to support CPU frequency scaling on devices such
495 as MSM8960, APQ8064, etc.
498 tristate "Krait Clock Controller"
502 Support for the Krait CPU clocks on Qualcomm devices.
503 Say Y if you want to support CPU frequency scaling.