]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/clk/qcom/Kconfig
Merge tag 'iommu-updates-v5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-jammy-kernel.git] / drivers / clk / qcom / Kconfig
1 config KRAIT_CLOCKS
2 bool
3 select KRAIT_L2_ACCESSORS
4
5 config QCOM_GDSC
6 bool
7 select PM_GENERIC_DOMAINS if PM
8
9 config QCOM_RPMCC
10 bool
11
12 menuconfig COMMON_CLK_QCOM
13 tristate "Support for Qualcomm's clock controllers"
14 depends on OF
15 depends on ARCH_QCOM || COMPILE_TEST
16 select REGMAP_MMIO
17 select RESET_CONTROLLER
18
19 if COMMON_CLK_QCOM
20
21 config QCOM_A53PLL
22 tristate "MSM8916 A53 PLL"
23 default ARCH_QCOM
24 help
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
28 devices.
29
30 config QCOM_CLK_APCS_MSM8916
31 tristate "MSM8916 APCS Clock Controller"
32 depends on QCOM_APCS_IPC || COMPILE_TEST
33 default ARCH_QCOM
34 help
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
38 such as msm8916.
39
40 config QCOM_CLK_RPM
41 tristate "RPM based Clock Controller"
42 depends on MFD_QCOM_RPM
43 select QCOM_RPMCC
44 help
45 The RPM (Resource Power Manager) is a dedicated hardware engine for
46 managing the shared SoC resources in order to keep the lowest power
47 profile. It communicates with other hardware subsystems via shared
48 memory and accepts clock requests, aggregates the requests and turns
49 the clocks on/off or scales them on demand.
50 Say Y if you want to support the clocks exposed by the RPM on
51 platforms such as apq8064, msm8660, msm8960 etc.
52
53 config QCOM_CLK_SMD_RPM
54 tristate "RPM over SMD based Clock Controller"
55 depends on QCOM_SMD_RPM
56 select QCOM_RPMCC
57 help
58 The RPM (Resource Power Manager) is a dedicated hardware engine for
59 managing the shared SoC resources in order to keep the lowest power
60 profile. It communicates with other hardware subsystems via shared
61 memory and accepts clock requests, aggregates the requests and turns
62 the clocks on/off or scales them on demand.
63 Say Y if you want to support the clocks exposed by the RPM on
64 platforms such as apq8016, apq8084, msm8974 etc.
65
66 config QCOM_CLK_RPMH
67 tristate "RPMh Clock Driver"
68 depends on QCOM_RPMH
69 help
70 RPMh manages shared resources on some Qualcomm Technologies, Inc.
71 SoCs. It accepts requests from other hardware subsystems via RSC.
72 Say Y if you want to support the clocks exposed by RPMh on
73 platforms such as SDM845.
74
75 config APQ_GCC_8084
76 tristate "APQ8084 Global Clock Controller"
77 select QCOM_GDSC
78 help
79 Support for the global clock controller on apq8084 devices.
80 Say Y if you want to use peripheral devices such as UART, SPI,
81 i2c, USB, SD/eMMC, SATA, PCIe, etc.
82
83 config APQ_MMCC_8084
84 tristate "APQ8084 Multimedia Clock Controller"
85 select APQ_GCC_8084
86 select QCOM_GDSC
87 help
88 Support for the multimedia clock controller on apq8084 devices.
89 Say Y if you want to support multimedia devices such as display,
90 graphics, video encode/decode, camera, etc.
91
92 config IPQ_GCC_4019
93 tristate "IPQ4019 Global Clock Controller"
94 help
95 Support for the global clock controller on ipq4019 devices.
96 Say Y if you want to use peripheral devices such as UART, SPI,
97 i2c, USB, SD/eMMC, etc.
98
99 config IPQ_GCC_806X
100 tristate "IPQ806x Global Clock Controller"
101 help
102 Support for the global clock controller on ipq806x devices.
103 Say Y if you want to use peripheral devices such as UART, SPI,
104 i2c, USB, SD/eMMC, etc.
105
106 config IPQ_LCC_806X
107 tristate "IPQ806x LPASS Clock Controller"
108 select IPQ_GCC_806X
109 help
110 Support for the LPASS clock controller on ipq806x devices.
111 Say Y if you want to use audio devices such as i2s, pcm,
112 S/PDIF, etc.
113
114 config IPQ_GCC_8074
115 tristate "IPQ8074 Global Clock Controller"
116 help
117 Support for global clock controller on ipq8074 devices.
118 Say Y if you want to use peripheral devices such as UART, SPI,
119 i2c, USB, SD/eMMC, etc. Select this for the root clock
120 of ipq8074.
121
122 config MSM_GCC_8660
123 tristate "MSM8660 Global Clock Controller"
124 help
125 Support for the global clock controller on msm8660 devices.
126 Say Y if you want to use peripheral devices such as UART, SPI,
127 i2c, USB, SD/eMMC, etc.
128
129 config MSM_GCC_8916
130 tristate "MSM8916 Global Clock Controller"
131 select QCOM_GDSC
132 help
133 Support for the global clock controller on msm8916 devices.
134 Say Y if you want to use devices such as UART, SPI i2c, USB,
135 SD/eMMC, display, graphics, camera etc.
136
137 config MSM_GCC_8960
138 tristate "APQ8064/MSM8960 Global Clock Controller"
139 help
140 Support for the global clock controller on apq8064/msm8960 devices.
141 Say Y if you want to use peripheral devices such as UART, SPI,
142 i2c, USB, SD/eMMC, SATA, PCIe, etc.
143
144 config MSM_LCC_8960
145 tristate "APQ8064/MSM8960 LPASS Clock Controller"
146 select MSM_GCC_8960
147 help
148 Support for the LPASS clock controller on apq8064/msm8960 devices.
149 Say Y if you want to use audio devices such as i2s, pcm,
150 SLIMBus, etc.
151
152 config MDM_GCC_9615
153 tristate "MDM9615 Global Clock Controller"
154 help
155 Support for the global clock controller on mdm9615 devices.
156 Say Y if you want to use peripheral devices such as UART, SPI,
157 i2c, USB, SD/eMMC, etc.
158
159 config MDM_LCC_9615
160 tristate "MDM9615 LPASS Clock Controller"
161 select MDM_GCC_9615
162 help
163 Support for the LPASS clock controller on mdm9615 devices.
164 Say Y if you want to use audio devices such as i2s, pcm,
165 SLIMBus, etc.
166
167 config MSM_MMCC_8960
168 tristate "MSM8960 Multimedia Clock Controller"
169 select MSM_GCC_8960
170 help
171 Support for the multimedia clock controller on msm8960 devices.
172 Say Y if you want to support multimedia devices such as display,
173 graphics, video encode/decode, camera, etc.
174
175 config MSM_GCC_8974
176 tristate "MSM8974 Global Clock Controller"
177 select QCOM_GDSC
178 help
179 Support for the global clock controller on msm8974 devices.
180 Say Y if you want to use peripheral devices such as UART, SPI,
181 i2c, USB, SD/eMMC, SATA, PCIe, etc.
182
183 config MSM_MMCC_8974
184 tristate "MSM8974 Multimedia Clock Controller"
185 select MSM_GCC_8974
186 select QCOM_GDSC
187 help
188 Support for the multimedia clock controller on msm8974 devices.
189 Say Y if you want to support multimedia devices such as display,
190 graphics, video encode/decode, camera, etc.
191
192 config MSM_GCC_8994
193 tristate "MSM8994 Global Clock Controller"
194 help
195 Support for the global clock controller on msm8994 devices.
196 Say Y if you want to use peripheral devices such as UART, SPI,
197 i2c, USB, UFS, SD/eMMC, PCIe, etc.
198
199 config MSM_GCC_8996
200 tristate "MSM8996 Global Clock Controller"
201 select QCOM_GDSC
202 help
203 Support for the global clock controller on msm8996 devices.
204 Say Y if you want to use peripheral devices such as UART, SPI,
205 i2c, USB, UFS, SD/eMMC, PCIe, etc.
206
207 config MSM_MMCC_8996
208 tristate "MSM8996 Multimedia Clock Controller"
209 select MSM_GCC_8996
210 select QCOM_GDSC
211 help
212 Support for the multimedia clock controller on msm8996 devices.
213 Say Y if you want to support multimedia devices such as display,
214 graphics, video encode/decode, camera, etc.
215
216 config MSM_GCC_8998
217 tristate "MSM8998 Global Clock Controller"
218 select QCOM_GDSC
219 help
220 Support for the global clock controller on msm8998 devices.
221 Say Y if you want to use peripheral devices such as UART, SPI,
222 i2c, USB, UFS, SD/eMMC, PCIe, etc.
223
224 config QCS_GCC_404
225 tristate "QCS404 Global Clock Controller"
226 help
227 Support for the global clock controller on QCS404 devices.
228 Say Y if you want to use multimedia devices or peripheral
229 devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
230
231 config SDM_CAMCC_845
232 tristate "SDM845 Camera Clock Controller"
233 select SDM_GCC_845
234 help
235 Support for the camera clock controller on SDM845 devices.
236 Say Y if you want to support camera devices and camera functionality.
237
238 config SDM_GCC_660
239 tristate "SDM660 Global Clock Controller"
240 select QCOM_GDSC
241 help
242 Support for the global clock controller on SDM660 devices.
243 Say Y if you want to use peripheral devices such as UART, SPI,
244 i2C, USB, UFS, SDDC, PCIe, etc.
245
246 config QCS_TURING_404
247 tristate "QCS404 Turing Clock Controller"
248 help
249 Support for the Turing Clock Controller on QCS404, provides clocks
250 and resets for the Turing subsystem.
251
252 config SDM_GCC_845
253 tristate "SDM845 Global Clock Controller"
254 select QCOM_GDSC
255 help
256 Support for the global clock controller on SDM845 devices.
257 Say Y if you want to use peripheral devices such as UART, SPI,
258 i2C, USB, UFS, SDDC, PCIe, etc.
259
260 config SDM_GPUCC_845
261 tristate "SDM845 Graphics Clock Controller"
262 select SDM_GCC_845
263 help
264 Support for the graphics clock controller on SDM845 devices.
265 Say Y if you want to support graphics controller devices and
266 functionality such as 3D graphics.
267
268 config SDM_VIDEOCC_845
269 tristate "SDM845 Video Clock Controller"
270 select SDM_GCC_845
271 select QCOM_GDSC
272 help
273 Support for the video clock controller on SDM845 devices.
274 Say Y if you want to support video devices and functionality such as
275 video encode and decode.
276
277 config SDM_DISPCC_845
278 tristate "SDM845 Display Clock Controller"
279 select SDM_GCC_845
280 help
281 Support for the display clock controller on Qualcomm Technologies, Inc
282 SDM845 devices.
283 Say Y if you want to support display devices and functionality such as
284 splash screen.
285
286 config SDM_LPASSCC_845
287 tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
288 select SDM_GCC_845
289 help
290 Support for the LPASS clock controller on SDM845 devices.
291 Say Y if you want to use the LPASS branch clocks of the LPASS clock
292 controller to reset the LPASS subsystem.
293
294 config SPMI_PMIC_CLKDIV
295 tristate "SPMI PMIC clkdiv Support"
296 depends on SPMI || COMPILE_TEST
297 help
298 This driver supports the clkdiv functionality on the Qualcomm
299 Technologies, Inc. SPMI PMIC. It configures the frequency of
300 clkdiv outputs of the PMIC. These clocks are typically wired
301 through alternate functions on GPIO pins.
302
303 config QCOM_HFPLL
304 tristate "High-Frequency PLL (HFPLL) Clock Controller"
305 help
306 Support for the high-frequency PLLs present on Qualcomm devices.
307 Say Y if you want to support CPU frequency scaling on devices
308 such as MSM8974, APQ8084, etc.
309
310 config KPSS_XCC
311 tristate "KPSS Clock Controller"
312 help
313 Support for the Krait ACC and GCC clock controllers. Say Y
314 if you want to support CPU frequency scaling on devices such
315 as MSM8960, APQ8064, etc.
316
317 config KRAITCC
318 tristate "Krait Clock Controller"
319 depends on ARM
320 select KRAIT_CLOCKS
321 help
322 Support for the Krait CPU clocks on Qualcomm devices.
323 Say Y if you want to support CPU frequency scaling.
324
325 endif