• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2config KRAIT_CLOCKS
3	bool
4	select KRAIT_L2_ACCESSORS
5
6config QCOM_GDSC
7	bool
8	select PM_GENERIC_DOMAINS if PM
9
10config QCOM_RPMCC
11	bool
12
13menuconfig COMMON_CLK_QCOM
14	tristate "Support for Qualcomm's clock controllers"
15	depends on OF
16	depends on ARCH_QCOM || COMPILE_TEST
17	select RATIONAL
18	select REGMAP_MMIO
19	select RESET_CONTROLLER
20
21if COMMON_CLK_QCOM
22
23config QCOM_A53PLL
24	tristate "MSM8916 A53 PLL"
25	help
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
29	  devices.
30
31config QCOM_A7PLL
32	tristate "A7 PLL driver for SDX55 and SDX65"
33	help
34	  Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with
35	  frequencies above 1GHz.
36	  Say Y if you want to support higher CPU frequencies on SDX55 and SDX65
37	  devices.
38
39config QCOM_CLK_APCS_MSM8916
40	tristate "MSM8916 APCS Clock Controller"
41	depends on QCOM_APCS_IPC || COMPILE_TEST
42	help
43	  Support for the APCS Clock Controller on msm8916 devices. The
44	  APCS is managing the mux and divider which feeds the CPUs.
45	  Say Y if you want to support CPU frequency scaling on devices
46	  such as msm8916.
47
48config QCOM_CLK_APCC_MSM8996
49	tristate "MSM8996 CPU Clock Controller"
50	select QCOM_KRYO_L2_ACCESSORS
51	depends on ARM64
52	help
53	  Support for the CPU clock controller on msm8996 devices.
54	  Say Y if you want to support CPU clock scaling using CPUfreq
55	  drivers for dynamic power management.
56
57config QCOM_CLK_APCS_SDX55
58	tristate "SDX55 and SDX65 APCS Clock Controller"
59	depends on QCOM_APCS_IPC || COMPILE_TEST
60	help
61	  Support for the APCS Clock Controller on SDX55, SDX65 platforms. The
62	  APCS is managing the mux and divider which feeds the CPUs.
63	  Say Y if you want to support CPU frequency scaling on devices
64	  such as SDX55, SDX65.
65
66config QCOM_CLK_RPM
67	tristate "RPM based Clock Controller"
68	depends on MFD_QCOM_RPM
69	select QCOM_RPMCC
70	help
71	  The RPM (Resource Power Manager) is a dedicated hardware engine for
72	  managing the shared SoC resources in order to keep the lowest power
73	  profile. It communicates with other hardware subsystems via shared
74	  memory and accepts clock requests, aggregates the requests and turns
75	  the clocks on/off or scales them on demand.
76	  Say Y if you want to support the clocks exposed by the RPM on
77	  platforms such as apq8064, msm8660, msm8960 etc.
78
79config QCOM_CLK_SMD_RPM
80	tristate "RPM over SMD based Clock Controller"
81	depends on QCOM_SMD_RPM
82	select QCOM_RPMCC
83	help
84	  The RPM (Resource Power Manager) is a dedicated hardware engine for
85	  managing the shared SoC resources in order to keep the lowest power
86	  profile. It communicates with other hardware subsystems via shared
87	  memory and accepts clock requests, aggregates the requests and turns
88	  the clocks on/off or scales them on demand.
89	  Say Y if you want to support the clocks exposed by the RPM on
90	  platforms such as apq8016, apq8084, msm8974 etc.
91
92config QCOM_CLK_RPMH
93	tristate "RPMh Clock Driver"
94	depends on QCOM_RPMH
95	help
96	 RPMh manages shared resources on some Qualcomm Technologies, Inc.
97	 SoCs. It accepts requests from other hardware subsystems via RSC.
98	 Say Y if you want to support the clocks exposed by RPMh on
99	 platforms such as SDM845.
100
101config APQ_GCC_8084
102	tristate "APQ8084 Global Clock Controller"
103	select QCOM_GDSC
104	help
105	  Support for the global clock controller on apq8084 devices.
106	  Say Y if you want to use peripheral devices such as UART, SPI,
107	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
108
109config APQ_MMCC_8084
110	tristate "APQ8084 Multimedia Clock Controller"
111	select APQ_GCC_8084
112	select QCOM_GDSC
113	help
114	  Support for the multimedia clock controller on apq8084 devices.
115	  Say Y if you want to support multimedia devices such as display,
116	  graphics, video encode/decode, camera, etc.
117
118config IPQ_APSS_PLL
119	tristate "IPQ APSS PLL"
120	help
121	  Support for APSS PLL on ipq devices. The APSS PLL is the main
122	  clock that feeds the CPUs on ipq based devices.
123	  Say Y if you want to support CPU frequency scaling on ipq based
124	  devices.
125
126config IPQ_APSS_6018
127	tristate "IPQ APSS Clock Controller"
128	select IPQ_APSS_PLL
129	depends on QCOM_APCS_IPC || COMPILE_TEST
130	depends on QCOM_SMEM
131	help
132	  Support for APSS clock controller on IPQ platforms. The
133	  APSS clock controller manages the Mux and enable block that feeds the
134	  CPUs.
135	  Say Y if you want to support CPU frequency scaling on
136	  ipq based devices.
137
138config IPQ_GCC_4019
139	tristate "IPQ4019 Global Clock Controller"
140	help
141	  Support for the global clock controller on ipq4019 devices.
142	  Say Y if you want to use peripheral devices such as UART, SPI,
143	  i2c, USB, SD/eMMC, etc.
144
145config IPQ_GCC_6018
146	tristate "IPQ6018 Global Clock Controller"
147	help
148	  Support for global clock controller on ipq6018 devices.
149	  Say Y if you want to use peripheral devices such as UART, SPI,
150	  i2c, USB, SD/eMMC, etc. Select this for the root clock
151	  of ipq6018.
152
153config IPQ_GCC_806X
154	tristate "IPQ806x Global Clock Controller"
155	help
156	  Support for the global clock controller on ipq806x devices.
157	  Say Y if you want to use peripheral devices such as UART, SPI,
158	  i2c, USB, SD/eMMC, etc.
159
160config IPQ_LCC_806X
161	tristate "IPQ806x LPASS Clock Controller"
162	select IPQ_GCC_806X
163	help
164	  Support for the LPASS clock controller on ipq806x devices.
165	  Say Y if you want to use audio devices such as i2s, pcm,
166	  S/PDIF, etc.
167
168config IPQ_GCC_8074
169	tristate "IPQ8074 Global Clock Controller"
170	select QCOM_GDSC
171	help
172	  Support for global clock controller on ipq8074 devices.
173	  Say Y if you want to use peripheral devices such as UART, SPI,
174	  i2c, USB, SD/eMMC, etc. Select this for the root clock
175	  of ipq8074.
176
177config MSM_GCC_8660
178	tristate "MSM8660 Global Clock Controller"
179	help
180	  Support for the global clock controller on msm8660 devices.
181	  Say Y if you want to use peripheral devices such as UART, SPI,
182	  i2c, USB, SD/eMMC, etc.
183
184config MSM_GCC_8909
185	tristate "MSM8909 Global Clock Controller"
186	select QCOM_GDSC
187	help
188	  Support for the global clock controller on msm8909 devices.
189	  Say Y if you want to use devices such as UART, SPI, I2C, USB,
190	  SD/eMMC, display, graphics, camera etc.
191
192config MSM_GCC_8916
193	tristate "MSM8916 Global Clock Controller"
194	select QCOM_GDSC
195	help
196	  Support for the global clock controller on msm8916 devices.
197	  Say Y if you want to use devices such as UART, SPI i2c, USB,
198	  SD/eMMC, display, graphics, camera etc.
199
200config MSM_GCC_8939
201	tristate "MSM8939 Global Clock Controller"
202	select QCOM_GDSC
203	help
204	  Support for the global clock controller on msm8939 devices.
205	  Say Y if you want to use devices such as UART, SPI i2c, USB,
206	  SD/eMMC, display, graphics, camera etc.
207
208config MSM_GCC_8960
209	tristate "APQ8064/MSM8960 Global Clock Controller"
210	help
211	  Support for the global clock controller on apq8064/msm8960 devices.
212	  Say Y if you want to use peripheral devices such as UART, SPI,
213	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
214
215config MSM_LCC_8960
216	tristate "APQ8064/MSM8960 LPASS Clock Controller"
217	select MSM_GCC_8960
218	help
219	  Support for the LPASS clock controller on apq8064/msm8960 devices.
220	  Say Y if you want to use audio devices such as i2s, pcm,
221	  SLIMBus, etc.
222
223config MDM_GCC_9607
224	tristate "MDM9607 Global Clock Controller"
225	help
226	  Support for the global clock controller on mdm9607 devices.
227	  Say Y if you want to use peripheral devices such as UART, SPI,
228	  I2C, USB, SD/eMMC, etc.
229
230config MDM_GCC_9615
231	tristate "MDM9615 Global Clock Controller"
232	help
233	  Support for the global clock controller on mdm9615 devices.
234	  Say Y if you want to use peripheral devices such as UART, SPI,
235	  i2c, USB, SD/eMMC, etc.
236
237config MDM_LCC_9615
238	tristate "MDM9615 LPASS Clock Controller"
239	select MDM_GCC_9615
240	help
241	  Support for the LPASS clock controller on mdm9615 devices.
242	  Say Y if you want to use audio devices such as i2s, pcm,
243	  SLIMBus, etc.
244
245config MSM_MMCC_8960
246	tristate "MSM8960 Multimedia Clock Controller"
247	select MSM_GCC_8960
248	help
249	  Support for the multimedia clock controller on msm8960 devices.
250	  Say Y if you want to support multimedia devices such as display,
251	  graphics, video encode/decode, camera, etc.
252
253config MSM_GCC_8953
254	tristate "MSM8953 Global Clock Controller"
255	select QCOM_GDSC
256	help
257	  Support for the global clock controller on msm8953 devices.
258	  Say Y if you want to use devices such as UART, SPI i2c, USB,
259	  SD/eMMC, display, graphics, camera etc.
260
261config MSM_GCC_8974
262	tristate "MSM8974 Global Clock Controller"
263	select QCOM_GDSC
264	help
265	  Support for the global clock controller on msm8974 devices.
266	  Say Y if you want to use peripheral devices such as UART, SPI,
267	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
268
269config MSM_MMCC_8974
270	tristate "MSM8974 Multimedia Clock Controller"
271	select MSM_GCC_8974
272	select QCOM_GDSC
273	help
274	  Support for the multimedia clock controller on msm8974 devices.
275	  Say Y if you want to support multimedia devices such as display,
276	  graphics, video encode/decode, camera, etc.
277
278config MSM_GCC_8976
279	tristate "MSM8956/76 Global Clock Controller"
280	select QCOM_GDSC
281	help
282	  Support for the global clock controller on msm8956/76 devices.
283	  Say Y if you want to use peripheral devices such as UART, SPI,
284	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
285
286config MSM_MMCC_8994
287	tristate "MSM8994 Multimedia Clock Controller"
288	select MSM_GCC_8994
289	select QCOM_GDSC
290	help
291	  Support for the multimedia clock controller on msm8994 devices.
292	  Say Y if you want to support multimedia devices such as display,
293	  graphics, video encode/decode, camera, etc.
294
295config MSM_GCC_8994
296	tristate "MSM8994 Global Clock Controller"
297	help
298	  Support for the global clock controller on msm8994 devices.
299	  Say Y if you want to use peripheral devices such as UART, SPI,
300	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
301
302config MSM_GCC_8996
303	tristate "MSM8996 Global Clock Controller"
304	select QCOM_GDSC
305	help
306	  Support for the global clock controller on msm8996 devices.
307	  Say Y if you want to use peripheral devices such as UART, SPI,
308	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
309
310config MSM_MMCC_8996
311	tristate "MSM8996 Multimedia Clock Controller"
312	select MSM_GCC_8996
313	select QCOM_GDSC
314	help
315	  Support for the multimedia clock controller on msm8996 devices.
316	  Say Y if you want to support multimedia devices such as display,
317	  graphics, video encode/decode, camera, etc.
318
319config MSM_GCC_8998
320	tristate "MSM8998 Global Clock Controller"
321	select QCOM_GDSC
322	help
323	  Support for the global clock controller on msm8998 devices.
324	  Say Y if you want to use peripheral devices such as UART, SPI,
325	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
326
327config MSM_GPUCC_8998
328	tristate "MSM8998 Graphics Clock Controller"
329	select MSM_GCC_8998
330	select QCOM_GDSC
331	help
332	  Support for the graphics clock controller on MSM8998 devices.
333	  Say Y if you want to support graphics controller devices and
334	  functionality such as 3D graphics.
335
336config MSM_MMCC_8998
337	tristate "MSM8998 Multimedia Clock Controller"
338	select MSM_GCC_8998
339	select QCOM_GDSC
340	help
341	  Support for the multimedia clock controller on msm8998 devices.
342	  Say Y if you want to support multimedia devices such as display,
343	  graphics, video encode/decode, camera, etc.
344
345config QCM_GCC_2290
346	tristate "QCM2290 Global Clock Controller"
347	select QCOM_GDSC
348	help
349	  Support for the global clock controller on QCM2290 devices.
350	  Say Y if you want to use multimedia devices or peripheral
351	  devices such as UART, SPI, I2C, USB, SD/eMMC etc.
352
353config QCM_DISPCC_2290
354	tristate "QCM2290 Display Clock Controller"
355	select QCM_GCC_2290
356	help
357	  Support for the display clock controller on Qualcomm Technologies, Inc
358	  QCM2290 devices.
359	  Say Y if you want to support display devices and functionality such as
360	  splash screen.
361
362config QCS_GCC_404
363	tristate "QCS404 Global Clock Controller"
364	help
365	  Support for the global clock controller on QCS404 devices.
366	  Say Y if you want to use multimedia devices or peripheral
367	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
368
369config SC_CAMCC_7180
370	tristate "SC7180 Camera Clock Controller"
371	select SC_GCC_7180
372	help
373	  Support for the camera clock controller on Qualcomm Technologies, Inc
374	  SC7180 devices.
375	  Say Y if you want to support camera devices and functionality such as
376	  capturing pictures.
377
378config SC_CAMCC_7280
379	tristate "SC7280 Camera Clock Controller"
380	select SC_GCC_7280
381	help
382	  Support for the camera clock controller on Qualcomm Technologies, Inc
383	  SC7280 devices.
384	  Say Y if you want to support camera devices and functionality such as
385	  capturing pictures.
386
387config SC_DISPCC_7180
388	tristate "SC7180 Display Clock Controller"
389	select SC_GCC_7180
390	help
391	  Support for the display clock controller on Qualcomm Technologies, Inc
392	  SC7180 devices.
393	  Say Y if you want to support display devices and functionality such as
394	  splash screen.
395
396config SC_DISPCC_7280
397	tristate "SC7280 Display Clock Controller"
398	select SC_GCC_7280
399	help
400	  Support for the display clock controller on Qualcomm Technologies, Inc.
401	  SC7280 devices.
402	  Say Y if you want to support display devices and functionality such as
403	  splash screen.
404
405config SC_GCC_7180
406	tristate "SC7180 Global Clock Controller"
407	select QCOM_GDSC
408	depends on COMMON_CLK_QCOM
409	help
410	  Support for the global clock controller on SC7180 devices.
411	  Say Y if you want to use peripheral devices such as UART, SPI,
412	  I2C, USB, UFS, SDCC, etc.
413
414config SC_GCC_7280
415	tristate "SC7280 Global Clock Controller"
416	select QCOM_GDSC
417	depends on COMMON_CLK_QCOM
418	help
419	  Support for the global clock controller on SC7280 devices.
420	  Say Y if you want to use peripheral devices such as UART, SPI,
421	  I2C, USB, UFS, SDCC, PCIe etc.
422
423config SC_GCC_8180X
424	tristate "SC8180X Global Clock Controller"
425	select QCOM_GDSC
426	depends on COMMON_CLK_QCOM
427	help
428	  Support for the global clock controller on SC8180X devices.
429	  Say Y if you want to use peripheral devices such as UART, SPI,
430	  I2C, USB, UFS, SDCC, etc.
431
432config SC_GCC_8280XP
433	tristate "SC8280XP Global Clock Controller"
434	select QCOM_GDSC
435	depends on COMMON_CLK_QCOM
436	help
437	  Support for the global clock controller on SC8280XP devices.
438	  Say Y if you want to use peripheral devices such as UART, SPI,
439	  I2C, USB, UFS, SDCC, etc.
440
441config SC_GPUCC_7180
442	tristate "SC7180 Graphics Clock Controller"
443	select SC_GCC_7180
444	help
445	  Support for the graphics clock controller on SC7180 devices.
446	  Say Y if you want to support graphics controller devices and
447	  functionality such as 3D graphics.
448
449config SC_GPUCC_7280
450	tristate "SC7280 Graphics Clock Controller"
451	select SC_GCC_7280
452	help
453	  Support for the graphics clock controller on SC7280 devices.
454	  Say Y if you want to support graphics controller devices and
455	  functionality such as 3D graphics.
456
457config SC_GPUCC_8280XP
458	tristate "SC8280XP Graphics Clock Controller"
459	select SC_GCC_8280XP
460	help
461	  Support for the graphics clock controller on SC8280XP devices.
462	  Say Y if you want to support graphics controller devices and
463	  functionality such as 3D graphics.
464
465config SC_LPASSCC_7280
466	tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller"
467	select SC_GCC_7280
468	help
469	  Support for the LPASS clock controller on SC7280 devices.
470	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
471	  controller to reset the LPASS subsystem.
472
473config SC_LPASS_CORECC_7180
474	tristate "SC7180 LPASS Core Clock Controller"
475	select SC_GCC_7180
476	help
477	  Support for the LPASS(Low Power Audio Subsystem) core clock controller
478	  on SC7180 devices.
479	  Say Y if you want to use LPASS clocks and power domains of the LPASS
480	  core clock controller.
481
482config SC_LPASS_CORECC_7280
483	tristate "SC7280 LPASS Core & Audio Clock Controller"
484	select SC_GCC_7280
485	select QCOM_GDSC
486	help
487	  Support for the LPASS(Low Power Audio Subsystem) core and audio clock
488	  controller on SC7280 devices.
489	  Say Y if you want to use LPASS clocks and power domains of the LPASS
490	  core clock controller.
491
492config SC_MSS_7180
493	tristate "SC7180 Modem Clock Controller"
494	select SC_GCC_7180
495	help
496	  Support for the Modem Subsystem clock controller on Qualcomm
497	  Technologies, Inc on SC7180 devices.
498	  Say Y if you want to use the Modem branch clocks of the Modem
499	  subsystem clock controller to reset the MSS subsystem.
500
501config SC_VIDEOCC_7180
502	tristate "SC7180 Video Clock Controller"
503	select SC_GCC_7180
504	help
505	  Support for the video clock controller on SC7180 devices.
506	  Say Y if you want to support video devices and functionality such as
507	  video encode and decode.
508
509config SC_VIDEOCC_7280
510	tristate "SC7280 Video Clock Controller"
511	select SC_GCC_7280
512	help
513	  Support for the video clock controller on SC7280 devices.
514	  Say Y if you want to support video devices and functionality such as
515	  video encode and decode.
516
517config SDM_CAMCC_845
518	tristate "SDM845 Camera Clock Controller"
519	select SDM_GCC_845
520	help
521	  Support for the camera clock controller on SDM845 devices.
522	  Say Y if you want to support camera devices and camera functionality.
523
524config SDM_GCC_660
525	tristate "SDM660 Global Clock Controller"
526	select QCOM_GDSC
527	help
528	  Support for the global clock controller on SDM660 devices.
529	  Say Y if you want to use peripheral devices such as UART, SPI,
530	  i2C, USB, UFS, SDDC, PCIe, etc.
531
532config SDM_MMCC_660
533	tristate "SDM660 Multimedia Clock Controller"
534	select SDM_GCC_660
535	select QCOM_GDSC
536	help
537	  Support for the multimedia clock controller on SDM660 devices.
538	  Say Y if you want to support multimedia devices such as display,
539	  graphics, video encode/decode, camera, etc.
540
541config SDM_GPUCC_660
542	tristate "SDM660 Graphics Clock Controller"
543	select SDM_GCC_660
544	select QCOM_GDSC
545	help
546	  Support for the graphics clock controller on SDM630/636/660 devices.
547	  Say Y if you want to support graphics controller devices and
548	  functionality such as 3D graphics
549
550config QCS_TURING_404
551	tristate "QCS404 Turing Clock Controller"
552	help
553	  Support for the Turing Clock Controller on QCS404, provides clocks
554	  and resets for the Turing subsystem.
555
556config QCS_Q6SSTOP_404
557	tristate "QCS404 Q6SSTOP Clock Controller"
558	select QCS_GCC_404
559	help
560	  Support for the Q6SSTOP clock controller on QCS404 devices.
561	  Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
562	  controller to reset the Q6SSTOP subsystem.
563
564config SDM_GCC_845
565	tristate "SDM845/SDM670 Global Clock Controller"
566	select QCOM_GDSC
567	help
568	  Support for the global clock controller on SDM845 and SDM670 devices.
569	  Say Y if you want to use peripheral devices such as UART, SPI,
570	  i2C, USB, UFS, SDDC, PCIe, etc.
571
572config SDM_GPUCC_845
573	tristate "SDM845 Graphics Clock Controller"
574	select SDM_GCC_845
575	help
576	  Support for the graphics clock controller on SDM845 devices.
577	  Say Y if you want to support graphics controller devices and
578	  functionality such as 3D graphics.
579
580config SDM_VIDEOCC_845
581	tristate "SDM845 Video Clock Controller"
582	select SDM_GCC_845
583	select QCOM_GDSC
584	help
585	  Support for the video clock controller on SDM845 devices.
586	  Say Y if you want to support video devices and functionality such as
587	  video encode and decode.
588
589config SDM_DISPCC_845
590	tristate "SDM845 Display Clock Controller"
591	select SDM_GCC_845
592	help
593	  Support for the display clock controller on Qualcomm Technologies, Inc
594	  SDM845 devices.
595	  Say Y if you want to support display devices and functionality such as
596	  splash screen.
597
598config SDM_LPASSCC_845
599	tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
600	select SDM_GCC_845
601	help
602	  Support for the LPASS clock controller on SDM845 devices.
603	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
604	  controller to reset the LPASS subsystem.
605
606config SDX_GCC_55
607	tristate "SDX55 Global Clock Controller"
608	select QCOM_GDSC
609	help
610	  Support for the global clock controller on SDX55 devices.
611	  Say Y if you want to use peripheral devices such as UART,
612	  SPI, I2C, USB, SD/UFS, PCIe etc.
613
614config SDX_GCC_65
615	tristate "SDX65 Global Clock Controller"
616	select QCOM_GDSC
617	help
618	  Support for the global clock controller on SDX65 devices.
619	  Say Y if you want to use peripheral devices such as UART,
620	  SPI, I2C, USB, SD/UFS, PCIe etc.
621
622config SM_CAMCC_8250
623	tristate "SM8250 Camera Clock Controller"
624	select SM_GCC_8250
625	help
626	  Support for the camera clock controller on SM8250 devices.
627	  Say Y if you want to support camera devices and camera functionality.
628
629config SM_CAMCC_8450
630	tristate "SM8450 Camera Clock Controller"
631	select SM_GCC_8450
632	help
633	  Support for the camera clock controller on SM8450 devices.
634	  Say Y if you want to support camera devices and camera functionality.
635
636config SM_DISPCC_6115
637	tristate "SM6115 Display Clock Controller"
638	depends on SM_GCC_6115
639	help
640	  Support for the display clock controller on Qualcomm Technologies, Inc
641	  SM6115/SM4250 devices.
642	  Say Y if you want to support display devices and functionality such as
643	  splash screen
644
645config SM_DISPCC_6125
646	tristate "SM6125 Display Clock Controller"
647	depends on SM_GCC_6125
648	help
649	  Support for the display clock controller on Qualcomm Technologies, Inc
650	  SM6125 devices.
651	  Say Y if you want to support display devices and functionality such as
652	  splash screen
653
654config SM_DISPCC_8250
655	tristate "SM8150/SM8250/SM8350 Display Clock Controller"
656	depends on SM_GCC_8150 || SM_GCC_8250 || SM_GCC_8350
657	help
658	  Support for the display clock controller on Qualcomm Technologies, Inc
659	  SM8150/SM8250/SM8350 devices.
660	  Say Y if you want to support display devices and functionality such as
661	  splash screen.
662
663config SM_DISPCC_6350
664	tristate "SM6350 Display Clock Controller"
665	depends on SM_GCC_6350
666	help
667	  Support for the display clock controller on Qualcomm Technologies, Inc
668	  SM6350 devices.
669	  Say Y if you want to support display devices and functionality such as
670	  splash screen.
671
672config SM_DISPCC_8450
673	tristate "SM8450 Display Clock Controller"
674	depends on SM_GCC_8450
675	help
676	  Support for the display clock controller on Qualcomm Technologies, Inc
677	  SM8450 devices.
678	  Say Y if you want to support display devices and functionality such as
679	  splash screen.
680
681config SM_GCC_6115
682	tristate "SM6115 and SM4250 Global Clock Controller"
683	select QCOM_GDSC
684	help
685	  Support for the global clock controller on SM6115 and SM4250 devices.
686	  Say Y if you want to use peripheral devices such as UART, SPI,
687	  i2C, USB, UFS, SDDC, PCIe, etc.
688
689config SM_GCC_6125
690	tristate "SM6125 Global Clock Controller"
691	help
692	  Support for the global clock controller on SM6125 devices.
693	  Say Y if you want to use peripheral devices such as UART,
694	  SPI, I2C, USB, SD/UFS, PCIe etc.
695
696config SM_GCC_6350
697	tristate "SM6350 Global Clock Controller"
698	select QCOM_GDSC
699	help
700	  Support for the global clock controller on SM6350 devices.
701	  Say Y if you want to use peripheral devices such as UART,
702	  SPI, I2C, USB, SD/UFS, PCIe etc.
703
704config SM_GCC_6375
705	tristate "SM6375 Global Clock Controller"
706	select QCOM_GDSC
707	help
708	  Support for the global clock controller on SM6375 devices.
709	  Say Y if you want to use peripheral devices such as UART,
710	  SPI, I2C, USB, SD/UFS etc.
711
712config SM_GCC_8150
713	tristate "SM8150 Global Clock Controller"
714	help
715	  Support for the global clock controller on SM8150 devices.
716	  Say Y if you want to use peripheral devices such as UART,
717	  SPI, I2C, USB, SD/UFS, PCIe etc.
718
719config SM_GCC_8250
720	tristate "SM8250 Global Clock Controller"
721	select QCOM_GDSC
722	help
723	  Support for the global clock controller on SM8250 devices.
724	  Say Y if you want to use peripheral devices such as UART,
725	  SPI, I2C, USB, SD/UFS, PCIe etc.
726
727config SM_GCC_8350
728	tristate "SM8350 Global Clock Controller"
729	select QCOM_GDSC
730	help
731	  Support for the global clock controller on SM8350 devices.
732	  Say Y if you want to use peripheral devices such as UART,
733	  SPI, I2C, USB, SD/UFS, PCIe etc.
734
735config SM_GCC_8450
736	tristate "SM8450 Global Clock Controller"
737	select QCOM_GDSC
738	help
739	  Support for the global clock controller on SM8450 devices.
740	  Say Y if you want to use peripheral devices such as UART,
741	  SPI, I2C, USB, SD/UFS, PCIe etc.
742
743config SM_GPUCC_6350
744	tristate "SM6350 Graphics Clock Controller"
745	select SM_GCC_6350
746	help
747	  Support for the graphics clock controller on SM6350 devices.
748	  Say Y if you want to support graphics controller devices and
749	  functionality such as 3D graphics.
750
751config SM_GPUCC_8150
752	tristate "SM8150 Graphics Clock Controller"
753	select SM_GCC_8150
754	help
755	  Support for the graphics clock controller on SM8150 devices.
756	  Say Y if you want to support graphics controller devices and
757	  functionality such as 3D graphics.
758
759config SM_GPUCC_8250
760	tristate "SM8250 Graphics Clock Controller"
761	select SM_GCC_8250
762	help
763	  Support for the graphics clock controller on SM8250 devices.
764	  Say Y if you want to support graphics controller devices and
765	  functionality such as 3D graphics.
766
767config SM_GPUCC_8350
768	tristate "SM8350 Graphics Clock Controller"
769	select SM_GCC_8350
770	help
771	  Support for the graphics clock controller on SM8350 devices.
772	  Say Y if you want to support graphics controller devices and
773	  functionality such as 3D graphics.
774
775config SM_VIDEOCC_8150
776	tristate "SM8150 Video Clock Controller"
777	select SM_GCC_8150
778	select QCOM_GDSC
779	help
780	  Support for the video clock controller on SM8150 devices.
781	  Say Y if you want to support video devices and functionality such as
782	  video encode and decode.
783
784config SM_VIDEOCC_8250
785	tristate "SM8250 Video Clock Controller"
786	select SM_GCC_8250
787	select QCOM_GDSC
788	help
789	  Support for the video clock controller on SM8250 devices.
790	  Say Y if you want to support video devices and functionality such as
791	  video encode and decode.
792
793config SPMI_PMIC_CLKDIV
794	tristate "SPMI PMIC clkdiv Support"
795	depends on SPMI || COMPILE_TEST
796	help
797	  This driver supports the clkdiv functionality on the Qualcomm
798	  Technologies, Inc. SPMI PMIC. It configures the frequency of
799	  clkdiv outputs of the PMIC. These clocks are typically wired
800	  through alternate functions on GPIO pins.
801
802config QCOM_HFPLL
803	tristate "High-Frequency PLL (HFPLL) Clock Controller"
804	help
805	  Support for the high-frequency PLLs present on Qualcomm devices.
806	  Say Y if you want to support CPU frequency scaling on devices
807	  such as MSM8974, APQ8084, etc.
808
809config KPSS_XCC
810	tristate "KPSS Clock Controller"
811	help
812	  Support for the Krait ACC and GCC clock controllers. Say Y
813	  if you want to support CPU frequency scaling on devices such
814	  as MSM8960, APQ8064, etc.
815
816config KRAITCC
817	tristate "Krait Clock Controller"
818	depends on ARM
819	select KRAIT_CLOCKS
820	help
821	  Support for the Krait CPU clocks on Qualcomm devices.
822	  Say Y if you want to support CPU frequency scaling.
823
824config CLK_GFM_LPASS_SM8250
825	tristate "SM8250 GFM LPASS Clocks"
826	help
827	  Support for the Glitch Free Mux (GFM) Low power audio
828          subsystem (LPASS) clocks found on SM8250 SoCs.
829
830endif
831