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
18 select RESET_CONTROLLER
23 tristate "MSM8916 A53 PLL"
25 Support for the A53 PLL on MSM8916 devices. It provides
26 the CPU with frequencies above 1GHz.
27 Say Y if you want to support higher CPU frequencies on MSM8916
30 config QCOM_CLK_APCS_MSM8916
31 tristate "MSM8916 APCS Clock Controller"
32 depends on QCOM_APCS_IPC || COMPILE_TEST
34 Support for the APCS Clock Controller on msm8916 devices. The
35 APCS is managing the mux and divider which feeds the CPUs.
36 Say Y if you want to support CPU frequency scaling on devices
40 tristate "RPM based Clock Controller"
41 depends on MFD_QCOM_RPM
44 The RPM (Resource Power Manager) is a dedicated hardware engine for
45 managing the shared SoC resources in order to keep the lowest power
46 profile. It communicates with other hardware subsystems via shared
47 memory and accepts clock requests, aggregates the requests and turns
48 the clocks on/off or scales them on demand.
49 Say Y if you want to support the clocks exposed by the RPM on
50 platforms such as apq8064, msm8660, msm8960 etc.
52 config QCOM_CLK_SMD_RPM
53 tristate "RPM over SMD based Clock Controller"
54 depends on QCOM_SMD_RPM
57 The RPM (Resource Power Manager) is a dedicated hardware engine for
58 managing the shared SoC resources in order to keep the lowest power
59 profile. It communicates with other hardware subsystems via shared
60 memory and accepts clock requests, aggregates the requests and turns
61 the clocks on/off or scales them on demand.
62 Say Y if you want to support the clocks exposed by the RPM on
63 platforms such as apq8016, apq8084, msm8974 etc.
66 tristate "RPMh Clock Driver"
69 RPMh manages shared resources on some Qualcomm Technologies, Inc.
70 SoCs. It accepts requests from other hardware subsystems via RSC.
71 Say Y if you want to support the clocks exposed by RPMh on
72 platforms such as SDM845.
75 tristate "APQ8084 Global Clock Controller"
78 Support for the global clock controller on apq8084 devices.
79 Say Y if you want to use peripheral devices such as UART, SPI,
80 i2c, USB, SD/eMMC, SATA, PCIe, etc.
83 tristate "APQ8084 Multimedia Clock Controller"
87 Support for the multimedia clock controller on apq8084 devices.
88 Say Y if you want to support multimedia devices such as display,
89 graphics, video encode/decode, camera, etc.
92 tristate "IPQ4019 Global Clock Controller"
94 Support for the global clock controller on ipq4019 devices.
95 Say Y if you want to use peripheral devices such as UART, SPI,
96 i2c, USB, SD/eMMC, etc.
99 tristate "IPQ806x Global Clock Controller"
101 Support for the global clock controller on ipq806x devices.
102 Say Y if you want to use peripheral devices such as UART, SPI,
103 i2c, USB, SD/eMMC, etc.
106 tristate "IPQ806x LPASS Clock Controller"
109 Support for the LPASS clock controller on ipq806x devices.
110 Say Y if you want to use audio devices such as i2s, pcm,
114 tristate "IPQ8074 Global Clock Controller"
116 Support for global clock controller on ipq8074 devices.
117 Say Y if you want to use peripheral devices such as UART, SPI,
118 i2c, USB, SD/eMMC, etc. Select this for the root clock
122 tristate "MSM8660 Global Clock Controller"
124 Support for the global clock controller on msm8660 devices.
125 Say Y if you want to use peripheral devices such as UART, SPI,
126 i2c, USB, SD/eMMC, etc.
129 tristate "MSM8916 Global Clock Controller"
132 Support for the global clock controller on msm8916 devices.
133 Say Y if you want to use devices such as UART, SPI i2c, USB,
134 SD/eMMC, display, graphics, camera etc.
137 tristate "APQ8064/MSM8960 Global Clock Controller"
139 Support for the global clock controller on apq8064/msm8960 devices.
140 Say Y if you want to use peripheral devices such as UART, SPI,
141 i2c, USB, SD/eMMC, SATA, PCIe, etc.
144 tristate "APQ8064/MSM8960 LPASS Clock Controller"
147 Support for the LPASS clock controller on apq8064/msm8960 devices.
148 Say Y if you want to use audio devices such as i2s, pcm,
152 tristate "MDM9615 Global Clock Controller"
154 Support for the global clock controller on mdm9615 devices.
155 Say Y if you want to use peripheral devices such as UART, SPI,
156 i2c, USB, SD/eMMC, etc.
159 tristate "MDM9615 LPASS Clock Controller"
162 Support for the LPASS clock controller on mdm9615 devices.
163 Say Y if you want to use audio devices such as i2s, pcm,
167 tristate "MSM8960 Multimedia Clock Controller"
170 Support for the multimedia clock controller on msm8960 devices.
171 Say Y if you want to support multimedia devices such as display,
172 graphics, video encode/decode, camera, etc.
175 tristate "MSM8974 Global Clock Controller"
178 Support for the global clock controller on msm8974 devices.
179 Say Y if you want to use peripheral devices such as UART, SPI,
180 i2c, USB, SD/eMMC, SATA, PCIe, etc.
183 tristate "MSM8974 Multimedia Clock Controller"
187 Support for the multimedia clock controller on msm8974 devices.
188 Say Y if you want to support multimedia devices such as display,
189 graphics, video encode/decode, camera, etc.
192 tristate "MSM8994 Global Clock Controller"
194 Support for the global clock controller on msm8994 devices.
195 Say Y if you want to use peripheral devices such as UART, SPI,
196 i2c, USB, UFS, SD/eMMC, PCIe, etc.
199 tristate "MSM8996 Global Clock Controller"
202 Support for the global clock controller on msm8996 devices.
203 Say Y if you want to use peripheral devices such as UART, SPI,
204 i2c, USB, UFS, SD/eMMC, PCIe, etc.
207 tristate "MSM8996 Multimedia Clock Controller"
211 Support for the multimedia clock controller on msm8996 devices.
212 Say Y if you want to support multimedia devices such as display,
213 graphics, video encode/decode, camera, etc.
216 tristate "MSM8998 Global Clock Controller"
219 Support for the global clock controller on msm8998 devices.
220 Say Y if you want to use peripheral devices such as UART, SPI,
221 i2c, USB, UFS, SD/eMMC, PCIe, etc.
223 config MSM_GPUCC_8998
224 tristate "MSM8998 Graphics Clock Controller"
228 Support for the graphics clock controller on MSM8998 devices.
229 Say Y if you want to support graphics controller devices and
230 functionality such as 3D graphics.
233 tristate "QCS404 Global Clock Controller"
235 Support for the global clock controller on QCS404 devices.
236 Say Y if you want to use multimedia devices or peripheral
237 devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
240 tristate "SC7180 Global Clock Controller"
242 depends on COMMON_CLK_QCOM
244 Support for the global clock controller on SC7180 devices.
245 Say Y if you want to use peripheral devices such as UART, SPI,
246 I2C, USB, UFS, SDCC, etc.
249 tristate "SDM845 Camera Clock Controller"
252 Support for the camera clock controller on SDM845 devices.
253 Say Y if you want to support camera devices and camera functionality.
256 tristate "SDM660 Global Clock Controller"
259 Support for the global clock controller on SDM660 devices.
260 Say Y if you want to use peripheral devices such as UART, SPI,
261 i2C, USB, UFS, SDDC, PCIe, etc.
263 config QCS_TURING_404
264 tristate "QCS404 Turing Clock Controller"
266 Support for the Turing Clock Controller on QCS404, provides clocks
267 and resets for the Turing subsystem.
269 config QCS_Q6SSTOP_404
270 tristate "QCS404 Q6SSTOP Clock Controller"
273 Support for the Q6SSTOP clock controller on QCS404 devices.
274 Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
275 controller to reset the Q6SSTOP subsystem.
278 tristate "SDM845 Global Clock Controller"
281 Support for the global clock controller on SDM845 devices.
282 Say Y if you want to use peripheral devices such as UART, SPI,
283 i2C, USB, UFS, SDDC, PCIe, etc.
286 tristate "SDM845 Graphics Clock Controller"
289 Support for the graphics clock controller on SDM845 devices.
290 Say Y if you want to support graphics controller devices and
291 functionality such as 3D graphics.
293 config SDM_VIDEOCC_845
294 tristate "SDM845 Video Clock Controller"
298 Support for the video clock controller on SDM845 devices.
299 Say Y if you want to support video devices and functionality such as
300 video encode and decode.
302 config SDM_DISPCC_845
303 tristate "SDM845 Display Clock Controller"
306 Support for the display clock controller on Qualcomm Technologies, Inc
308 Say Y if you want to support display devices and functionality such as
311 config SDM_LPASSCC_845
312 tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
315 Support for the LPASS clock controller on SDM845 devices.
316 Say Y if you want to use the LPASS branch clocks of the LPASS clock
317 controller to reset the LPASS subsystem.
320 tristate "SM8150 Global Clock Controller"
322 Support for the global clock controller on SM8150 devices.
323 Say Y if you want to use peripheral devices such as UART,
324 SPI, I2C, USB, SD/UFS, PCIe etc.
326 config SPMI_PMIC_CLKDIV
327 tristate "SPMI PMIC clkdiv Support"
328 depends on SPMI || COMPILE_TEST
330 This driver supports the clkdiv functionality on the Qualcomm
331 Technologies, Inc. SPMI PMIC. It configures the frequency of
332 clkdiv outputs of the PMIC. These clocks are typically wired
333 through alternate functions on GPIO pins.
336 tristate "High-Frequency PLL (HFPLL) Clock Controller"
338 Support for the high-frequency PLLs present on Qualcomm devices.
339 Say Y if you want to support CPU frequency scaling on devices
340 such as MSM8974, APQ8084, etc.
343 tristate "KPSS Clock Controller"
345 Support for the Krait ACC and GCC clock controllers. Say Y
346 if you want to support CPU frequency scaling on devices such
347 as MSM8960, APQ8064, etc.
350 tristate "Krait Clock Controller"
354 Support for the Krait CPU clocks on Qualcomm devices.
355 Say Y if you want to support CPU frequency scaling.