xref: /linux/drivers/clk/qcom/Kconfig (revision edbd5d323183ca15676fac30344ec0713b98dc46)
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
10menuconfig COMMON_CLK_QCOM
11	tristate "Support for Qualcomm's clock controllers"
12	depends on OF
13	depends on ARCH_QCOM || COMPILE_TEST
14	select RATIONAL
15	select REGMAP_MMIO
16	select RESET_CONTROLLER
17	select INTERCONNECT
18	select INTERCONNECT_CLK
19
20if COMMON_CLK_QCOM
21
22config CLK_ELIZA_DISPCC
23	tristate "Eliza Display Clock Controller"
24	depends on ARM64 || COMPILE_TEST
25	select CLK_ELIZA_GCC
26	help
27	  Support for the display clock controllers on Eliza SoCs.
28	  Say Y if you want to support display devices and functionality such as
29	  splash screen.
30
31config CLK_ELIZA_GCC
32	tristate "Eliza Global Clock Controller"
33	depends on ARM64 || COMPILE_TEST
34	select QCOM_GDSC
35	help
36	  Support for the global clock controller on Eliza devices.
37	  Say Y if you want to use peripheral devices such as UART, SPI,
38	  I2C, USB, UFS, SDCC, etc.
39
40config CLK_ELIZA_TCSRCC
41	tristate "Eliza TCSR Clock Controller"
42	depends on ARM64 || COMPILE_TEST
43	select QCOM_GDSC
44	help
45	  Support for the TCSR clock controller on Eliza devices.
46	  Say Y if you want to use peripheral devices such as USB/PCIe/UFS.
47
48config CLK_GLYMUR_DISPCC
49	tristate "Glymur Display Clock Controller"
50	depends on ARM64 || COMPILE_TEST
51	select CLK_GLYMUR_GCC
52	help
53	  Support for the display clock controllers on Qualcomm
54	  Technologies, Inc. Glymur devices.
55	  Say Y if you want to support display devices and functionality such as
56	  splash screen.
57
58config CLK_GLYMUR_EVACC
59	tristate "Glymur EVA Clock Controller"
60	depends on ARM64 || COMPILE_TEST
61	default m if ARCH_QCOM
62	select CLK_GLYMUR_GCC
63	help
64	  Support for the Enhanced Video Analytics (EVA) clock controller on
65	  Qualcomm Technologies, Inc. Glymur devices.
66	  Say Y if you want to support EVA devices and functionality such as
67	  vision processing.
68
69config CLK_GLYMUR_GCC
70	tristate "Glymur Global Clock Controller"
71	depends on ARM64 || COMPILE_TEST
72	select QCOM_GDSC
73	help
74	  Support for the global clock controller on Glymur devices.
75	  Say Y if you want to use peripheral devices such as UART, SPI,
76	  I2C, USB, UFS, SDCC, etc.
77
78config CLK_GLYMUR_GPUCC
79	tristate "Glymur Graphics Clock Controller"
80	depends on ARM64 || COMPILE_TEST
81	select CLK_GLYMUR_GCC
82	help
83	  Support for the graphics clock controller on Glymur devices.
84	  Say Y if you want to support graphics controller devices and
85	  functionality such as 3D graphics.
86
87config CLK_GLYMUR_TCSRCC
88	tristate "Glymur TCSR Clock Controller"
89	depends on ARM64 || COMPILE_TEST
90	select QCOM_GDSC
91	help
92	  Support for the TCSR clock controller on Glymur devices.
93	  Say Y if you want to use peripheral devices such as USB/PCIe/EDP.
94
95config CLK_GLYMUR_VIDEOCC
96	tristate "Glymur Video Clock Controller"
97	depends on ARM64 || COMPILE_TEST
98	select CLK_GLYMUR_GCC
99	help
100	  Support for the video clock controller on Glymur devices.
101	  Say Y if you want to support video devices and functionality such as
102	  video encode and decode.
103
104config CLK_KAANAPALI_CAMCC
105	tristate "Kaanapali Camera Clock Controller"
106	depends on ARM64 || COMPILE_TEST
107	select CLK_KAANAPALI_GCC
108	help
109	  Support for the camera clock controller on Qualcomm Technologies, Inc
110	  Kaanapali devices.
111	  Say Y if you want to support camera devices and functionality such as
112	  capturing pictures.
113
114config CLK_KAANAPALI_DISPCC
115	tristate "Kaanapali Display Clock Controller"
116	depends on ARM64 || COMPILE_TEST
117	select CLK_KAANAPALI_GCC
118	help
119	  Support for the display clock controller on Qualcomm Technologies, Inc
120	  Kaanapali devices.
121	  Say Y if you want to support display devices and functionality such as
122	  splash screen.
123
124config CLK_KAANAPALI_GCC
125	tristate "Kaanapali Global Clock Controller"
126	depends on ARM64 || COMPILE_TEST
127	select QCOM_GDSC
128	help
129	  Support for the global clock controller on Kaanapali devices.
130	  Say Y if you want to use peripheral devices such as UART,
131	  SPI, I2C, USB, SD/UFS, PCIe etc.
132
133config CLK_KAANAPALI_GPUCC
134	tristate "Kaanapali Graphics Clock Controller"
135	depends on ARM64 || COMPILE_TEST
136	select CLK_KAANAPALI_GCC
137	help
138	  Support for the graphics clock controller on Kaanapali devices.
139	  Say Y if you want to support graphics controller devices and
140	  functionality such as 3D graphics.
141
142config CLK_KAANAPALI_TCSRCC
143	tristate "Kaanapali TCSR Clock Controller"
144	depends on ARM64 || COMPILE_TEST
145	select QCOM_GDSC
146	help
147	  Support for the TCSR clock controller on Kaanapali devices.
148	  Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
149
150config CLK_KAANAPALI_VIDEOCC
151	tristate "Kaanapali Video Clock Controller"
152	depends on ARM64 || COMPILE_TEST
153	select CLK_KAANAPALI_GCC
154	help
155	  Support for the video clock controller on Kaanapali devices.
156	  Say Y if you want to support video devices and functionality such as
157	  video encode/decode.
158
159config CLK_NORD_GCC
160	tristate "Nord Global Clock Controller"
161	depends on ARM64 || COMPILE_TEST
162	select QCOM_GDSC
163	help
164	  Support for the global clock controller on Nord devices.
165	  Say Y if you want to use peripheral devices such as UART,
166	  SPI, I2C, USB, SD/UFS, PCIe etc. The clock controller is a combination
167	  of GCC, SE_GCC, NE_GCC and NW_GCC.
168
169config CLK_X1E80100_CAMCC
170	tristate "X1E80100 Camera Clock Controller"
171	depends on ARM64 || COMPILE_TEST
172	select CLK_X1E80100_GCC
173	help
174	  Support for the camera clock controller on X1E80100 devices.
175	  Say Y if you want to support camera devices and camera functionality.
176
177config CLK_X1E80100_DISPCC
178	tristate "X1E80100 Display Clock Controller"
179	depends on ARM64 || COMPILE_TEST
180	select CLK_X1E80100_GCC
181	help
182	  Support for the two display clock controllers on Qualcomm
183	  Technologies, Inc. X1E80100 devices.
184	  Say Y if you want to support display devices and functionality such as
185	  splash screen.
186
187config CLK_X1E80100_GCC
188	tristate "X1E80100 Global Clock Controller"
189	depends on ARM64 || COMPILE_TEST
190	select QCOM_GDSC
191	help
192	  Support for the global clock controller on Qualcomm Technologies, Inc
193	  X1E80100 devices.
194	  Say Y if you want to use peripheral devices such as UART, SPI, I2C,
195	  USB, UFS, SD/eMMC, PCIe, etc.
196
197config CLK_X1E80100_GPUCC
198	tristate "X1E80100 Graphics Clock Controller"
199	depends on ARM64 || COMPILE_TEST
200	select CLK_X1E80100_GCC
201	help
202	  Support for the graphics clock controller on X1E80100 devices.
203	  Say Y if you want to support graphics controller devices and
204	  functionality such as 3D graphics.
205
206config CLK_X1E80100_TCSRCC
207	tristate "X1E80100 TCSR Clock Controller"
208	depends on ARM64 || COMPILE_TEST
209	select QCOM_GDSC
210	help
211	  Support for the TCSR clock controller on X1E80100 devices.
212	  Say Y if you want to use peripheral devices such as SD/UFS.
213
214config CLK_X1P42100_CAMCC
215	tristate "X1P42100 Camera Clock Controller"
216	depends on ARM64 || COMPILE_TEST
217	select CLK_X1E80100_GCC
218	default m if ARCH_QCOM
219	help
220	  Support for the camera clock controller on Qualcomm Technologies, Inc.
221	  X1P42100 devices.
222	  Say Y if you want to support camera devices and camera functionality
223	  such as capturing pictures.
224
225config CLK_X1P42100_GPUCC
226	tristate "X1P42100 Graphics Clock Controller"
227	depends on ARM64 || COMPILE_TEST
228	select CLK_X1E80100_GCC
229	help
230	  Support for the graphics clock controller on X1P42100 devices.
231	  Say Y if you want to support graphics controller devices and
232	  functionality such as 3D graphics.
233
234config CLK_X1P42100_VIDEOCC
235	tristate "X1P42100 Video Clock Controller"
236	depends on ARM64 || COMPILE_TEST
237	select CLK_X1E80100_GCC
238	default m if ARCH_QCOM
239	help
240	  Support for the video clock controller on Qualcomm Technologies, Inc.
241	  X1P42100 devices.
242	  Say Y if you want to support video devices and functionality such as
243	  video encode/decode.
244
245config CLK_QCM2290_GPUCC
246	tristate "QCM2290 Graphics Clock Controller"
247	depends on ARM64 || COMPILE_TEST
248	select QCM_GCC_2290
249	help
250	  Support for the graphics clock controller on QCM2290 devices.
251	  Say Y if you want to support graphics controller devices and
252	  functionality such as 3D graphics.
253
254config QCOM_A53PLL
255	tristate "MSM8916 A53 PLL"
256	help
257	  Support for the A53 PLL on MSM8916 devices. It provides
258	  the CPU with frequencies above 1GHz.
259	  Say Y if you want to support higher CPU frequencies on MSM8916
260	  devices.
261
262config QCOM_A7PLL
263	tristate "A7 PLL driver for SDX55 and SDX65"
264	help
265	  Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with
266	  frequencies above 1GHz.
267	  Say Y if you want to support higher CPU frequencies on SDX55 and SDX65
268	  devices.
269
270config QCOM_CLK_APCS_MSM8916
271	tristate "MSM8916 APCS Clock Controller"
272	depends on QCOM_APCS_IPC || COMPILE_TEST
273	help
274	  Support for the APCS Clock Controller on msm8916 devices. The
275	  APCS is managing the mux and divider which feeds the CPUs.
276	  Say Y if you want to support CPU frequency scaling on devices
277	  such as msm8916.
278
279config QCOM_CLK_APCC_MSM8996
280	tristate "MSM8996 CPU Clock Controller"
281	select QCOM_KRYO_L2_ACCESSORS
282	select INTERCONNECT_CLK if INTERCONNECT
283	depends on ARM64
284	help
285	  Support for the CPU clock controller on msm8996 devices.
286	  Say Y if you want to support CPU clock scaling using CPUfreq
287	  drivers for dynamic power management.
288
289config QCOM_CLK_APCS_SDX55
290	tristate "SDX55 and SDX65 APCS Clock Controller"
291	depends on QCOM_APCS_IPC || COMPILE_TEST
292	depends on ARM || COMPILE_TEST
293	help
294	  Support for the APCS Clock Controller on SDX55, SDX65 platforms. The
295	  APCS is managing the mux and divider which feeds the CPUs.
296	  Say Y if you want to support CPU frequency scaling on devices
297	  such as SDX55, SDX65.
298
299config QCOM_CLK_RPM
300	tristate "RPM based Clock Controller"
301	depends on MFD_QCOM_RPM
302	help
303	  The RPM (Resource Power Manager) is a dedicated hardware engine for
304	  managing the shared SoC resources in order to keep the lowest power
305	  profile. It communicates with other hardware subsystems via shared
306	  memory and accepts clock requests, aggregates the requests and turns
307	  the clocks on/off or scales them on demand.
308	  Say Y if you want to support the clocks exposed by the RPM on
309	  platforms such as apq8064, msm8660, msm8960 etc.
310
311config QCOM_CLK_SMD_RPM
312	tristate "RPM over SMD based Clock Controller"
313	depends on QCOM_SMD_RPM
314	help
315	  The RPM (Resource Power Manager) is a dedicated hardware engine for
316	  managing the shared SoC resources in order to keep the lowest power
317	  profile. It communicates with other hardware subsystems via shared
318	  memory and accepts clock requests, aggregates the requests and turns
319	  the clocks on/off or scales them on demand.
320	  Say Y if you want to support the clocks exposed by the RPM on
321	  platforms such as apq8016, apq8084, msm8974 etc.
322
323config QCOM_CLK_RPMH
324	tristate "RPMh Clock Driver"
325	depends on QCOM_RPMH
326	help
327	 RPMh manages shared resources on some Qualcomm Technologies, Inc.
328	 SoCs. It accepts requests from other hardware subsystems via RSC.
329	 Say Y if you want to support the clocks exposed by RPMh on
330	 platforms such as SDM845.
331
332config CLK_HAWI_GCC
333	tristate "Hawi Global Clock Controller"
334	depends on ARM64 || COMPILE_TEST
335	select QCOM_GDSC
336	help
337	  Support for the global clock controller on Hawi devices.
338	  Say Y if you want to use peripheral devices such as UART, SPI,
339	  I2C, USB, UFS, SD/eMMC, PCIe, etc.
340
341config CLK_HAWI_TCSRCC
342	tristate "Hawi TCSR Clock Controller"
343	depends on ARM64 || COMPILE_TEST
344	help
345	  Support for the TCSR clock controller on Hawi devices.
346	  Say Y if you want to use peripheral devices such as PCIe, USB, UFS.
347
348config CLK_HAWI_VIDEOCC
349	tristate "Hawi Video Clock Controller"
350	depends on ARM64 || COMPILE_TEST
351	select CLK_HAWI_GCC
352	default m if ARCH_QCOM
353	help
354	  Support for the video clock controller on Hawi devices.
355	  Say Y if you want to support video devices and functionality such as
356	  video encode/decode.
357
358config APQ_GCC_8084
359	tristate "APQ8084 Global Clock Controller"
360	depends on ARM || COMPILE_TEST
361	select QCOM_GDSC
362	help
363	  Support for the global clock controller on apq8084 devices.
364	  Say Y if you want to use peripheral devices such as UART, SPI,
365	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
366
367config APQ_MMCC_8084
368	tristate "APQ8084 Multimedia Clock Controller"
369	depends on ARM || COMPILE_TEST
370	select APQ_GCC_8084
371	select QCOM_GDSC
372	help
373	  Support for the multimedia clock controller on apq8084 devices.
374	  Say Y if you want to support multimedia devices such as display,
375	  graphics, video encode/decode, camera, etc.
376
377config IPQ_APSS_PLL
378	tristate "IPQ APSS PLL"
379	help
380	  Support for APSS PLL on ipq devices. The APSS PLL is the main
381	  clock that feeds the CPUs on ipq based devices.
382	  Say Y if you want to support CPU frequency scaling on ipq based
383	  devices.
384
385config IPQ_APSS_5424
386	tristate "IPQ5424 APSS Clock Controller"
387	select IPQ_APSS_PLL
388	default y if IPQ_GCC_5424
389	help
390	  Support for APSS Clock controller on Qualcomm IPQ5424 platform.
391	  Say Y if you want to support CPU frequency scaling on ipq based
392	  devices.
393
394config IPQ_APSS_6018
395	tristate "IPQ6018 APSS Clock Controller"
396	select IPQ_APSS_PLL
397	depends on QCOM_APCS_IPC || COMPILE_TEST
398	depends on QCOM_SMEM
399	help
400	  Support for APSS clock controller on IPQ platforms. The
401	  APSS clock controller manages the Mux and enable block that feeds the
402	  CPUs.
403	  Say Y if you want to support CPU frequency scaling on
404	  ipq based devices.
405
406config IPQ_CMN_PLL
407	tristate "IPQ CMN PLL Clock Controller"
408	help
409	  Support for CMN PLL clock controller on IPQ platform. The
410	  CMN PLL consumes the AHB/SYS clocks from GCC and supplies
411	  the output clocks to the networking hardware and GCC blocks.
412	  Say Y or M if you want to support CMN PLL clock on the IPQ
413	  based devices.
414
415config IPQ_GCC_4019
416	tristate "IPQ4019 Global Clock Controller"
417	help
418	  Support for the global clock controller on ipq4019 devices.
419	  Say Y if you want to use peripheral devices such as UART, SPI,
420	  i2c, USB, SD/eMMC, etc.
421
422config IPQ_GCC_5018
423	tristate "IPQ5018 Global Clock Controller"
424	depends on ARM || ARM64 || COMPILE_TEST
425	help
426	  Support for global clock controller on ipq5018 devices.
427	  Say Y if you want to use peripheral devices such as UART, SPI,
428	  i2c, USB, SD/eMMC, etc.
429
430config IPQ_GCC_5210
431	tristate "IPQ5210 Global Clock Controller"
432	depends on ARM64 || COMPILE_TEST
433	help
434	  Support for the global clock controller on ipq5210 devices.
435	  Say Y if you want to use peripheral devices such as UART, SPI,
436	  i2c, USB, SD/eMMC, etc.
437
438config IPQ_GCC_5332
439	tristate "IPQ5332 Global Clock Controller"
440	depends on ARM64 || COMPILE_TEST
441	help
442	  Support for the global clock controller on ipq5332 devices.
443	  Say Y if you want to use peripheral devices such as UART, SPI,
444	  i2c, USB, SD/eMMC, etc.
445
446config IPQ_GCC_5424
447	tristate "IPQ5424 Global Clock Controller"
448	depends on ARM64 || COMPILE_TEST
449	help
450	  Support for the global clock controller on ipq5424 devices.
451	  Say Y if you want to use peripheral devices such as UART, SPI,
452	  i2c, USB, SD/eMMC, etc.
453
454config IPQ_GCC_6018
455	tristate "IPQ6018 Global Clock Controller"
456	help
457	  Support for global clock controller on ipq6018 devices.
458	  Say Y if you want to use peripheral devices such as UART, SPI,
459	  i2c, USB, SD/eMMC, etc. Select this for the root clock
460	  of ipq6018.
461
462config IPQ_GCC_806X
463	tristate "IPQ806x Global Clock Controller"
464	depends on ARM || COMPILE_TEST
465	help
466	  Support for the global clock controller on ipq806x devices.
467	  Say Y if you want to use peripheral devices such as UART, SPI,
468	  i2c, USB, SD/eMMC, etc.
469
470config IPQ_LCC_806X
471	tristate "IPQ806x LPASS Clock Controller"
472	depends on ARM || COMPILE_TEST
473	select IPQ_GCC_806X
474	help
475	  Support for the LPASS clock controller on ipq806x devices.
476	  Say Y if you want to use audio devices such as i2s, pcm,
477	  S/PDIF, etc.
478
479config IPQ_GCC_8074
480	tristate "IPQ8074 Global Clock Controller"
481	select QCOM_GDSC
482	help
483	  Support for global clock controller on ipq8074 devices.
484	  Say Y if you want to use peripheral devices such as UART, SPI,
485	  i2c, USB, SD/eMMC, etc. Select this for the root clock
486	  of ipq8074.
487
488config IPQ_GCC_9574
489	tristate "IPQ9574 Global Clock Controller"
490	help
491	  Support for global clock controller on ipq9574 devices.
492	  Say Y if you want to use peripheral devices such as UART, SPI,
493	  i2c, USB, SD/eMMC, etc. Select this for the root clock
494	  of ipq9574.
495
496config IPQ_GCC_9650
497	tristate "IPQ9650 Global Clock Controller"
498	depends on ARM64 || COMPILE_TEST
499	default ARCH_QCOM
500	help
501	  Support for global clock controller on ipq9650 devices.
502	  Say Y if you want to use peripheral devices such as UART, SPI,
503	  i2c, USB, SD/eMMC, etc. Select this for the root clock
504	  of ipq9650.
505
506config IPQ_NSSCC_5424
507	tristate "IPQ5424 NSS Clock Controller"
508	depends on ARM64 || COMPILE_TEST
509	depends on IPQ_GCC_5424
510	help
511	  Support for NSS clock controller on ipq5424 devices.
512	  NSSCC receives the clock sources from GCC, CMN PLL and UNIPHY (PCS).
513	  It in turn supplies the clocks and resets to the networking hardware.
514	  Say Y or M if you want to enable networking function on the
515	  IPQ5424 devices.
516
517config IPQ_NSSCC_9574
518        tristate "IPQ9574 NSS Clock Controller"
519        depends on ARM64 || COMPILE_TEST
520        depends on IPQ_GCC_9574
521        help
522          Support for NSS clock controller on ipq9574 devices.
523
524config IPQ_NSSCC_QCA8K
525	tristate "QCA8K(QCA8386 or QCA8084) NSS Clock Controller"
526	depends on PHYLIB
527	help
528	  Support for NSS(Network SubSystem) clock controller on
529	  qca8386/qca8084 chip.
530	  Say Y or M if you want to use network features of switch or
531	  PHY device. Select this for the root clock of qca8k.
532
533config MSM_GCC_8660
534	tristate "MSM8660 Global Clock Controller"
535	depends on ARM || COMPILE_TEST
536	help
537	  Support for the global clock controller on msm8660 devices.
538	  Say Y if you want to use peripheral devices such as UART, SPI,
539	  i2c, USB, SD/eMMC, etc.
540
541config MSM_GCC_8909
542	tristate "MSM8909 Global Clock Controller"
543	depends on ARM || COMPILE_TEST
544	select QCOM_GDSC
545	help
546	  Support for the global clock controller on msm8909 devices.
547	  Say Y if you want to use devices such as UART, SPI, I2C, USB,
548	  SD/eMMC, display, graphics, camera etc.
549
550config MSM_GCC_8916
551	tristate "MSM8916 Global Clock Controller"
552	select QCOM_GDSC
553	help
554	  Support for the global clock controller on msm8916 devices.
555	  Say Y if you want to use devices such as UART, SPI i2c, USB,
556	  SD/eMMC, display, graphics, camera etc.
557
558config MSM_GCC_8917
559	tristate "MSM89(17/37/40)/QM215/SDM439 Global Clock Controller"
560	depends on ARM64 || COMPILE_TEST
561	select QCOM_GDSC
562	help
563	  Support for the global clock controller on msm8917, msm8937,
564	  msm8940, qm215 and sdm439 devices.
565	  Say Y if you want to use devices such as UART, SPI i2c, USB,
566	  SD/eMMC, display, graphics, camera etc.
567
568config MSM_GCC_8939
569	tristate "MSM8939 Global Clock Controller"
570	select QCOM_GDSC
571	help
572	  Support for the global clock controller on msm8939 devices.
573	  Say Y if you want to use devices such as UART, SPI i2c, USB,
574	  SD/eMMC, display, graphics, camera etc.
575
576config MSM_GCC_8960
577	tristate "APQ8064/MSM8960 Global Clock Controller"
578	depends on ARM || COMPILE_TEST
579	help
580	  Support for the global clock controller on apq8064/msm8960 devices.
581	  Say Y if you want to use peripheral devices such as UART, SPI,
582	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
583
584config MSM_LCC_8960
585	tristate "APQ8064/MSM8960/MDM9650 LPASS Clock Controller"
586	depends on ARM || COMPILE_TEST
587	help
588	  Support for the LPASS clock controller on apq8064/msm8960/mdm9650
589	  devices.
590	  Say Y if you want to use audio devices such as i2s, pcm,
591	  SLIMBus, etc.
592
593config MDM_GCC_9607
594	tristate "MDM9607 Global Clock Controller"
595	depends on ARM || COMPILE_TEST
596	help
597	  Support for the global clock controller on mdm9607 devices.
598	  Say Y if you want to use peripheral devices such as UART, SPI,
599	  I2C, USB, SD/eMMC, etc.
600
601config MDM_GCC_9615
602	tristate "MDM9615 Global Clock Controller"
603	depends on ARM || COMPILE_TEST
604	help
605	  Support for the global clock controller on mdm9615 devices.
606	  Say Y if you want to use peripheral devices such as UART, SPI,
607	  i2c, USB, SD/eMMC, etc.
608
609config MSM_MMCC_8960
610	tristate "MSM8960 Multimedia Clock Controller"
611	depends on ARM || COMPILE_TEST
612	select MSM_GCC_8960
613	help
614	  Support for the multimedia clock controller on msm8960 devices.
615	  Say Y if you want to support multimedia devices such as display,
616	  graphics, video encode/decode, camera, etc.
617
618config MSM_GCC_8953
619	tristate "MSM8953 Global Clock Controller"
620	select QCOM_GDSC
621	help
622	  Support for the global clock controller on msm8953 devices.
623	  Say Y if you want to use devices such as UART, SPI i2c, USB,
624	  SD/eMMC, display, graphics, camera etc.
625
626config MSM_GCC_8974
627	tristate "MSM8974 Global Clock Controller"
628	depends on ARM || COMPILE_TEST
629	select QCOM_GDSC
630	help
631	  Support for the global clock controller on msm8974 devices.
632	  Say Y if you want to use peripheral devices such as UART, SPI,
633	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
634
635config MSM_MMCC_8974
636	tristate "MSM8974 Multimedia Clock Controller"
637	depends on ARM || COMPILE_TEST
638	select MSM_GCC_8974
639	select QCOM_GDSC
640	help
641	  Support for the multimedia clock controller on msm8974 devices.
642	  Say Y if you want to support multimedia devices such as display,
643	  graphics, video encode/decode, camera, etc.
644
645config MSM_GCC_8976
646	tristate "MSM8956/76 Global Clock Controller"
647	select QCOM_GDSC
648	help
649	  Support for the global clock controller on msm8956/76 devices.
650	  Say Y if you want to use peripheral devices such as UART, SPI,
651	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
652
653config MSM_MMCC_8994
654	tristate "MSM8994 Multimedia Clock Controller"
655	select MSM_GCC_8994
656	select QCOM_GDSC
657	help
658	  Support for the multimedia clock controller on msm8994 devices.
659	  Say Y if you want to support multimedia devices such as display,
660	  graphics, video encode/decode, camera, etc.
661
662config MSM_GCC_8994
663	tristate "MSM8994 Global Clock Controller"
664	help
665	  Support for the global clock controller on msm8994 devices.
666	  Say Y if you want to use peripheral devices such as UART, SPI,
667	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
668
669config MSM_GCC_8996
670	tristate "MSM8996 Global Clock Controller"
671	select QCOM_GDSC
672	help
673	  Support for the global clock controller on msm8996 devices.
674	  Say Y if you want to use peripheral devices such as UART, SPI,
675	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
676
677config MSM_MMCC_8996
678	tristate "MSM8996 Multimedia Clock Controller"
679	select MSM_GCC_8996
680	select QCOM_GDSC
681	help
682	  Support for the multimedia clock controller on msm8996 devices.
683	  Say Y if you want to support multimedia devices such as display,
684	  graphics, video encode/decode, camera, etc.
685
686config MSM_GCC_8998
687	tristate "MSM8998 Global Clock Controller"
688	select QCOM_GDSC
689	help
690	  Support for the global clock controller on msm8998 devices.
691	  Say Y if you want to use peripheral devices such as UART, SPI,
692	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
693
694config MSM_GPUCC_8998
695	tristate "MSM8998 Graphics Clock Controller"
696	select MSM_GCC_8998
697	select QCOM_GDSC
698	help
699	  Support for the graphics clock controller on MSM8998 devices.
700	  Say Y if you want to support graphics controller devices and
701	  functionality such as 3D graphics.
702
703config MSM_MMCC_8998
704	tristate "MSM8998 Multimedia Clock Controller"
705	select MSM_GCC_8998
706	select QCOM_GDSC
707	help
708	  Support for the multimedia clock controller on msm8998 devices.
709	  Say Y if you want to support multimedia devices such as display,
710	  graphics, video encode/decode, camera, etc.
711
712config QCM_GCC_2290
713	tristate "QCM2290 Global Clock Controller"
714	select QCOM_GDSC
715	help
716	  Support for the global clock controller on QCM2290 devices.
717	  Say Y if you want to use multimedia devices or peripheral
718	  devices such as UART, SPI, I2C, USB, SD/eMMC etc.
719
720config QCM_DISPCC_2290
721	tristate "QCM2290 Display Clock Controller"
722	select QCM_GCC_2290
723	help
724	  Support for the display clock controller on Qualcomm Technologies, Inc
725	  QCM2290 devices.
726	  Say Y if you want to support display devices and functionality such as
727	  splash screen.
728
729config QCS_DISPCC_615
730	tristate "QCS615 Display Clock Controller"
731	depends on ARM64 || COMPILE_TEST
732	select QCS_GCC_615
733	help
734	  Support for the display clock controller on Qualcomm Technologies, Inc
735	  QCS615 devices.
736	  Say Y if you want to support display devices and functionality such as
737	  splash screen.
738
739config QCS_CAMCC_615
740	tristate "QCS615 Camera Clock Controller"
741	depends on ARM64 || COMPILE_TEST
742	select QCS_GCC_615
743	help
744	  Support for the camera clock controller on Qualcomm Technologies, Inc
745	  QCS615 devices.
746	  Say Y if you want to support camera devices and functionality such as
747	  capturing pictures.
748
749config QCS_GCC_404
750	tristate "QCS404 Global Clock Controller"
751	help
752	  Support for the global clock controller on QCS404 devices.
753	  Say Y if you want to use multimedia devices or peripheral
754	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
755
756config CLK_NORD_TCSRCC
757	tristate "Nord TCSR Clock Controller"
758	depends on ARM64 || COMPILE_TEST
759	help
760	  Support for the TCSR clock controller on Nord devices.
761	  Say Y if you want to use peripheral devices such as PCIe, USB, UFS etc.
762
763config SA_CAMCC_8775P
764	tristate "SA8775P Camera Clock Controller"
765	depends on ARM64 || COMPILE_TEST
766	select SA_GCC_8775P
767	help
768	  Support for the camera clock controller on Qualcomm Technologies, Inc
769	  SA8775P devices.
770	  Say Y if you want to support camera devices and functionality such as
771	  capturing pictures.
772
773config QCS_GCC_8300
774	tristate "QCS8300 Global Clock Controller"
775	depends on ARM64 || COMPILE_TEST
776	select QCOM_GDSC
777	help
778	  Support for the global clock controller on Qualcomm Technologies, Inc
779	  QCS8300 devices.
780	  Say Y if you want to use peripheral devices such as UART,
781	  SPI, I2C, USB, SD/UFS, PCIe etc.
782
783config QCS_GCC_615
784	tristate "QCS615 Global Clock Controller"
785	depends on ARM64 || COMPILE_TEST
786	select QCOM_GDSC
787	help
788	  Support for the global clock controller on QCS615 devices.
789	  Say Y if you want to use multimedia devices or peripheral
790	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
791
792config QCS_GPUCC_615
793	tristate "QCS615 Graphics clock controller"
794	depends on ARM64 || COMPILE_TEST
795	select QCS_GCC_615
796	help
797	  Support for the graphics clock controller on QCS615 devices.
798	  Say Y if you want to support graphics controller devices and
799	  functionality such as 3D graphics.
800
801config QCS_VIDEOCC_615
802	tristate "QCS615 Video Clock Controller"
803	depends on ARM64 || COMPILE_TEST
804	select QCS_GCC_615
805	help
806	  Support for the video clock controller on QCS615 devices.
807	  Say Y if you want to support video devices and functionality such as
808	  video encode and decode.
809
810config SC_CAMCC_7180
811	tristate "SC7180 Camera Clock Controller"
812	depends on ARM64 || COMPILE_TEST
813	select SC_GCC_7180
814	help
815	  Support for the camera clock controller on Qualcomm Technologies, Inc
816	  SC7180 devices.
817	  Say Y if you want to support camera devices and functionality such as
818	  capturing pictures.
819
820config SC_CAMCC_7280
821	tristate "SC7280 Camera Clock Controller"
822	depends on ARM64 || COMPILE_TEST
823	select SC_GCC_7280
824	help
825	  Support for the camera clock controller on Qualcomm Technologies, Inc
826	  SC7280 devices.
827	  Say Y if you want to support camera devices and functionality such as
828	  capturing pictures.
829
830config SC_CAMCC_8180X
831	tristate "SC8180X Camera Clock Controller"
832	depends on ARM64 || COMPILE_TEST
833	select SC_GCC_8180X
834	help
835	  Support for the camera clock controller on Qualcomm Technologies, Inc
836	  SC8180X devices.
837	  Say Y if you want to support camera devices and functionality such as
838	  capturing pictures.
839
840config SC_CAMCC_8280XP
841	tristate "SC8280XP Camera Clock Controller"
842	depends on ARM64 || COMPILE_TEST
843	select SC_GCC_8280XP
844	help
845	  Support for the camera clock controller on Qualcomm Technologies, Inc
846	  SC8280XP devices.
847	  Say Y if you want to support camera devices and functionality such as
848	  capturing pictures.
849
850config SA_DISPCC_8775P
851	tristate "SA8775P Display Clock Controller"
852	depends on ARM64 || COMPILE_TEST
853	select SA_GCC_8775P
854	help
855	  Support for the two display clock controllers on Qualcomm
856	  Technologies, Inc. SA8775P devices.
857	  Say Y if you want to support display devices and functionality such as
858	  splash screen.
859
860config SC_DISPCC_7180
861	tristate "SC7180 Display Clock Controller"
862	depends on ARM64 || COMPILE_TEST
863	select SC_GCC_7180
864	help
865	  Support for the display clock controller on Qualcomm Technologies, Inc
866	  SC7180 devices.
867	  Say Y if you want to support display devices and functionality such as
868	  splash screen.
869
870config SC_DISPCC_7280
871	tristate "SC7280 Display Clock Controller"
872	depends on ARM64 || COMPILE_TEST
873	select SC_GCC_7280
874	help
875	  Support for the display clock controller on Qualcomm Technologies, Inc.
876	  SC7280 devices.
877	  Say Y if you want to support display devices and functionality such as
878	  splash screen.
879
880config SC_DISPCC_8280XP
881	tristate "SC8280XP Display Clock Controller"
882	depends on ARM64 || COMPILE_TEST
883	select SC_GCC_8280XP
884	help
885	  Support for the two display clock controllers on Qualcomm
886	  Technologies, Inc. SC8280XP devices.
887	  Say Y if you want to support display devices and functionality such as
888	  splash screen.
889
890config SA_GCC_8775P
891	tristate "SA8775 Global Clock Controller"
892	select QCOM_GDSC
893	depends on COMMON_CLK_QCOM
894	help
895	  Support for the global clock controller on SA8775 devices.
896	  Say Y if you want to use peripheral devices such as UART, SPI,
897	  I2C, USB, UFS, SDCC, etc.
898
899config SA_GPUCC_8775P
900	tristate "SA8775P Graphics clock controller"
901	select QCOM_GDSC
902	select SA_GCC_8775P
903	help
904	  Support for the graphics clock controller on SA8775P devices.
905	  Say Y if you want to support graphics controller devices and
906	  functionality such as 3D graphics.
907
908config SAR_GCC_2130P
909	tristate "SAR2130P Global Clock Controller"
910	select QCOM_GDSC
911	depends on COMMON_CLK_QCOM
912	help
913	  Support for the global clock controller on SAR2130P devices.
914	  Say Y if you want to use peripheral devices such as UART, SPI,
915	  I2C, USB, SDCC, etc.
916
917config SAR_GPUCC_2130P
918	tristate "SAR2130P Graphics clock controller"
919	select QCOM_GDSC
920	select SAR_GCC_2130P
921	help
922	  Support for the graphics clock controller on SAR2130P devices.
923	  Say Y if you want to support graphics controller devices and
924	  functionality such as 3D graphics.
925
926config SC_GCC_7180
927	tristate "SC7180 Global Clock Controller"
928	select QCOM_GDSC
929	depends on COMMON_CLK_QCOM
930	depends on ARM64 || COMPILE_TEST
931	help
932	  Support for the global clock controller on SC7180 devices.
933	  Say Y if you want to use peripheral devices such as UART, SPI,
934	  I2C, USB, UFS, SDCC, etc.
935
936config SC_GCC_7280
937	tristate "SC7280 Global Clock Controller"
938	select QCOM_GDSC
939	depends on COMMON_CLK_QCOM
940	depends on ARM64 || COMPILE_TEST
941	help
942	  Support for the global clock controller on SC7280 devices.
943	  Say Y if you want to use peripheral devices such as UART, SPI,
944	  I2C, USB, UFS, SDCC, PCIe etc.
945
946config SC_GCC_8180X
947	tristate "SC8180X Global Clock Controller"
948	select QCOM_GDSC
949	depends on COMMON_CLK_QCOM
950	depends on ARM64 || COMPILE_TEST
951	help
952	  Support for the global clock controller on SC8180X devices.
953	  Say Y if you want to use peripheral devices such as UART, SPI,
954	  I2C, USB, UFS, SDCC, etc.
955
956config SC_GCC_8280XP
957	tristate "SC8280XP Global Clock Controller"
958	select QCOM_GDSC
959	depends on COMMON_CLK_QCOM
960	depends on ARM64 || COMPILE_TEST
961	help
962	  Support for the global clock controller on SC8280XP devices.
963	  Say Y if you want to use peripheral devices such as UART, SPI,
964	  I2C, USB, UFS, SDCC, etc.
965
966config SC_GPUCC_7180
967	tristate "SC7180 Graphics Clock Controller"
968	depends on ARM64 || COMPILE_TEST
969	select SC_GCC_7180
970	help
971	  Support for the graphics clock controller on SC7180 devices.
972	  Say Y if you want to support graphics controller devices and
973	  functionality such as 3D graphics.
974
975config SC_GPUCC_7280
976	tristate "SC7280 Graphics Clock Controller"
977	depends on ARM64 || COMPILE_TEST
978	select SC_GCC_7280
979	help
980	  Support for the graphics clock controller on SC7280 devices.
981	  Say Y if you want to support graphics controller devices and
982	  functionality such as 3D graphics.
983
984config SC_GPUCC_8280XP
985	tristate "SC8280XP Graphics Clock Controller"
986	depends on ARM64 || COMPILE_TEST
987	select SC_GCC_8280XP
988	help
989	  Support for the graphics clock controller on SC8280XP devices.
990	  Say Y if you want to support graphics controller devices and
991	  functionality such as 3D graphics.
992
993config SC_LPASSCC_7280
994	tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller"
995	depends on ARM64 || COMPILE_TEST
996	select SC_GCC_7280
997	help
998	  Support for the LPASS clock controller on SC7280 devices.
999	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
1000	  controller to reset the LPASS subsystem.
1001
1002config SC_LPASSCC_8280XP
1003	tristate "SC8280 Low Power Audio Subsystem (LPASS) Clock Controller"
1004	depends on ARM64 || COMPILE_TEST
1005	select SC_GCC_8280XP
1006	help
1007	  Support for the LPASS clock controller on SC8280XP devices.
1008	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
1009	  controller to reset the LPASS subsystem.
1010
1011config SC_LPASS_CORECC_7180
1012	tristate "SC7180 LPASS Core Clock Controller"
1013	depends on ARM64 || COMPILE_TEST
1014	select SC_GCC_7180
1015	help
1016	  Support for the LPASS(Low Power Audio Subsystem) core clock controller
1017	  on SC7180 devices.
1018	  Say Y if you want to use LPASS clocks and power domains of the LPASS
1019	  core clock controller.
1020
1021config SC_LPASS_CORECC_7280
1022	tristate "SC7280 LPASS Core & Audio Clock Controller"
1023	depends on ARM64 || COMPILE_TEST
1024	select SC_GCC_7280
1025	select QCOM_GDSC
1026	help
1027	  Support for the LPASS(Low Power Audio Subsystem) core and audio clock
1028	  controller on SC7280 devices.
1029	  Say Y if you want to use LPASS clocks and power domains of the LPASS
1030	  core clock controller.
1031
1032config SC_VIDEOCC_7180
1033	tristate "SC7180 Video Clock Controller"
1034	depends on ARM64 || COMPILE_TEST
1035	select SC_GCC_7180
1036	help
1037	  Support for the video clock controller on SC7180 devices.
1038	  Say Y if you want to support video devices and functionality such as
1039	  video encode and decode.
1040
1041config SC_VIDEOCC_7280
1042	tristate "SC7280 Video Clock Controller"
1043	depends on ARM64 || COMPILE_TEST
1044	select SC_GCC_7280
1045	help
1046	  Support for the video clock controller on SC7280 devices.
1047	  Say Y if you want to support video devices and functionality such as
1048	  video encode and decode.
1049
1050config SDM_CAMCC_845
1051	tristate "SDM845 Camera Clock Controller"
1052	depends on ARM64 || COMPILE_TEST
1053	select SDM_GCC_845
1054	help
1055	  Support for the camera clock controller on SDM845 devices.
1056	  Say Y if you want to support camera devices and camera functionality.
1057
1058config SDM_GCC_660
1059	tristate "SDM660 Global Clock Controller"
1060	depends on ARM64 || COMPILE_TEST
1061	select QCOM_GDSC
1062	help
1063	  Support for the global clock controller on SDM660 devices.
1064	  Say Y if you want to use peripheral devices such as UART, SPI,
1065	  i2C, USB, UFS, SDDC, PCIe, etc.
1066
1067config SDM_MMCC_660
1068	tristate "SDM660 Multimedia Clock Controller"
1069	depends on ARM64 || COMPILE_TEST
1070	select SDM_GCC_660
1071	select QCOM_GDSC
1072	help
1073	  Support for the multimedia clock controller on SDM660 devices.
1074	  Say Y if you want to support multimedia devices such as display,
1075	  graphics, video encode/decode, camera, etc.
1076
1077config SDM_GPUCC_660
1078	tristate "SDM660 Graphics Clock Controller"
1079	depends on ARM64 || COMPILE_TEST
1080	select SDM_GCC_660
1081	select QCOM_GDSC
1082	help
1083	  Support for the graphics clock controller on SDM630/636/660 devices.
1084	  Say Y if you want to support graphics controller devices and
1085	  functionality such as 3D graphics
1086
1087config QCS_TURING_404
1088	tristate "QCS404 Turing Clock Controller"
1089	help
1090	  Support for the Turing Clock Controller on QCS404, provides clocks
1091	  and resets for the Turing subsystem.
1092
1093config QCS_Q6SSTOP_404
1094	tristate "QCS404 Q6SSTOP Clock Controller"
1095	select QCS_GCC_404
1096	help
1097	  Support for the Q6SSTOP clock controller on QCS404 devices.
1098	  Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
1099	  controller to reset the Q6SSTOP subsystem.
1100
1101config QDU_GCC_1000
1102	tristate "QDU1000/QRU1000 Global Clock Controller"
1103	select QCOM_GDSC
1104	help
1105	  Support for the global clock controller on QDU1000 and
1106	  QRU1000 devices. Say Y if you want to use peripheral
1107	  devices such as UART, SPI, I2C, USB, SD, PCIe, etc.
1108
1109config QDU_ECPRICC_1000
1110	tristate "QDU1000/QRU1000 ECPRI Clock Controller"
1111	depends on ARM64 || COMPILE_TEST
1112	select QDU_GCC_1000
1113	help
1114	  Support for the ECPRI clock controller on QDU1000 and
1115	  QRU1000 devices. Say Y if you want to support the ECPRI
1116	  clock controller functionality such as Ethernet.
1117
1118config SDM_GCC_845
1119	tristate "SDM845/SDM670 Global Clock Controller"
1120	depends on ARM64 || COMPILE_TEST
1121	select QCOM_GDSC
1122	help
1123	  Support for the global clock controller on SDM845 and SDM670 devices.
1124	  Say Y if you want to use peripheral devices such as UART, SPI,
1125	  i2C, USB, UFS, SDDC, PCIe, etc.
1126
1127config SDM_GPUCC_845
1128	tristate "SDM845 Graphics Clock Controller"
1129	depends on ARM64 || COMPILE_TEST
1130	select SDM_GCC_845
1131	help
1132	  Support for the graphics clock controller on SDM845 devices.
1133	  Say Y if you want to support graphics controller devices and
1134	  functionality such as 3D graphics.
1135
1136config SDM_VIDEOCC_845
1137	tristate "SDM845 Video Clock Controller"
1138	depends on ARM64 || COMPILE_TEST
1139	select SDM_GCC_845
1140	select QCOM_GDSC
1141	help
1142	  Support for the video clock controller on SDM845 devices.
1143	  Say Y if you want to support video devices and functionality such as
1144	  video encode and decode.
1145
1146config SDM_DISPCC_845
1147	tristate "SDM845 Display Clock Controller"
1148	depends on ARM64 || COMPILE_TEST
1149	select SDM_GCC_845
1150	help
1151	  Support for the display clock controller on Qualcomm Technologies, Inc
1152	  SDM845 devices.
1153	  Say Y if you want to support display devices and functionality such as
1154	  splash screen.
1155
1156config SDM_LPASSCC_845
1157	tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
1158	depends on ARM64 || COMPILE_TEST
1159	select SDM_GCC_845
1160	help
1161	  Support for the LPASS clock controller on SDM845 devices.
1162	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
1163	  controller to reset the LPASS subsystem.
1164
1165config SDX_GCC_55
1166	tristate "SDX55 Global Clock Controller"
1167	depends on ARM || COMPILE_TEST
1168	select QCOM_GDSC
1169	help
1170	  Support for the global clock controller on SDX55 devices.
1171	  Say Y if you want to use peripheral devices such as UART,
1172	  SPI, I2C, USB, SD/UFS, PCIe etc.
1173
1174config SDX_GCC_65
1175	tristate "SDX65 Global Clock Controller"
1176	depends on ARM || COMPILE_TEST
1177	select QCOM_GDSC
1178	help
1179	  Support for the global clock controller on SDX65 devices.
1180	  Say Y if you want to use peripheral devices such as UART,
1181	  SPI, I2C, USB, SD/UFS, PCIe etc.
1182
1183config SDX_GCC_75
1184	tristate "SDX75 Global Clock Controller"
1185	select QCOM_GDSC
1186	help
1187	  Support for the global clock controller on SDX75 devices.
1188	  Say Y if you want to use peripheral devices such as UART,
1189	  SPI, I2C, USB, SD/eMMC, PCIe etc.
1190
1191config SM_CAMCC_4450
1192	tristate "SM4450 Camera Clock Controller"
1193	depends on ARM64 || COMPILE_TEST
1194	select SM_GCC_4450
1195	help
1196	  Support for the camera clock controller on SM4450 devices.
1197	  Say Y if you want to support camera devices and camera functionality.
1198
1199config SM_CAMCC_6350
1200	tristate "SM6350 Camera Clock Controller"
1201	depends on ARM64 || COMPILE_TEST
1202	select SM_GCC_6350
1203	help
1204	  Support for the camera clock controller on SM6350 devices.
1205	  Say Y if you want to support camera devices and camera functionality.
1206
1207config SM_CAMCC_7150
1208	tristate "SM7150 Camera Clock Controller"
1209	depends on ARM64 || COMPILE_TEST
1210	select SM_GCC_7150
1211	help
1212	  Support for the camera clock controller on SM7150 devices.
1213	  Say Y if you want to support camera devices and camera functionality.
1214
1215config SM_CAMCC_MILOS
1216	tristate "Milos Camera Clock Controller"
1217	depends on ARM64 || COMPILE_TEST
1218	select SM_GCC_MILOS
1219	help
1220	  Support for the camera clock controller on Milos devices.
1221	  Say Y if you want to support camera devices and camera functionality.
1222
1223config SM_CAMCC_8150
1224	tristate "SM8150 Camera Clock Controller"
1225	depends on ARM64 || COMPILE_TEST
1226	select SM_GCC_8150
1227	help
1228	  Support for the camera clock controller on Qualcomm Technologies, Inc
1229	  SM8150 devices.
1230	  Say Y if you want to support camera devices and functionality such as
1231	  capturing pictures.
1232
1233config SM_CAMCC_8250
1234	tristate "SM8250 Camera Clock Controller"
1235	depends on ARM64 || COMPILE_TEST
1236	select SM_GCC_8250
1237	help
1238	  Support for the camera clock controller on SM8250 devices.
1239	  Say Y if you want to support camera devices and camera functionality.
1240
1241config SM_CAMCC_8450
1242	tristate "SM8450 Camera Clock Controller"
1243	depends on ARM64 || COMPILE_TEST
1244	select SM_GCC_8450
1245	help
1246	  Support for the camera clock controller on SM8450 or SM8475 devices.
1247	  Say Y if you want to support camera devices and camera functionality.
1248
1249config SM_CAMCC_8550
1250	tristate "SM8550 Camera Clock Controller"
1251	depends on ARM64 || COMPILE_TEST
1252	select SM_GCC_8550
1253	help
1254	  Support for the camera clock controller on SM8550 devices.
1255	  Say Y if you want to support camera devices and camera functionality.
1256
1257config SM_CAMCC_8650
1258	tristate "SM8650 Camera Clock Controller"
1259	depends on ARM64 || COMPILE_TEST
1260	select SM_GCC_8650
1261	help
1262	  Support for the camera clock controller on SM8650 devices.
1263	  Say Y if you want to support camera devices and camera functionality.
1264
1265config SM_CAMCC_8750
1266	tristate "SM8750 Camera Clock Controller"
1267	depends on ARM64 || COMPILE_TEST
1268	select SM_GCC_8750
1269	help
1270	  Support for the camera clock controller on SM8750 devices.
1271	  The camera clock controller has a separate cambist controller which
1272	  controls the mclk of the camera clocks.
1273	  Say Y if you want to support camera devices and camera functionality.
1274
1275config SM_DISPCC_4450
1276	tristate "SM4450 Display Clock Controller"
1277	depends on ARM64 || COMPILE_TEST
1278	depends on SM_GCC_4450
1279	help
1280	  Support for the display clock controller on Qualcomm Technologies, Inc
1281	  SM4450 devices.
1282	  Say Y if you want to support display devices and functionality such as
1283	  splash screen
1284
1285config SM_DISPCC_6115
1286	tristate "SM6115 Display Clock Controller"
1287	depends on ARM64 || COMPILE_TEST
1288	depends on SM_GCC_6115
1289	help
1290	  Support for the display clock controller on Qualcomm Technologies, Inc
1291	  SM6115/SM4250 devices.
1292	  Say Y if you want to support display devices and functionality such as
1293	  splash screen
1294
1295config SM_DISPCC_6125
1296	tristate "SM6125 Display Clock Controller"
1297	depends on ARM64 || COMPILE_TEST
1298	depends on SM_GCC_6125
1299	help
1300	  Support for the display clock controller on Qualcomm Technologies, Inc
1301	  SM6125 devices.
1302	  Say Y if you want to support display devices and functionality such as
1303	  splash screen
1304
1305config SM_DISPCC_7150
1306	tristate "SM7150 Display Clock Controller"
1307	depends on ARM64 || COMPILE_TEST
1308	depends on SM_GCC_7150
1309	help
1310	  Support for the display clock controller on Qualcomm Technologies, Inc
1311	  SM7150 devices.
1312	  Say Y if you want to support display devices and functionality such as
1313	  splash screen.
1314
1315config SM_DISPCC_8250
1316	tristate "SM8150/SM8250/SM8350 Display Clock Controller"
1317	depends on ARM64 || COMPILE_TEST
1318	depends on SM_GCC_8150 || SM_GCC_8250 || SM_GCC_8350
1319	help
1320	  Support for the display clock controller on Qualcomm Technologies, Inc
1321	  SM8150/SM8250/SM8350 devices.
1322	  Say Y if you want to support display devices and functionality such as
1323	  splash screen.
1324
1325config SM_DISPCC_6350
1326	tristate "SM6350 Display Clock Controller"
1327	depends on ARM64 || COMPILE_TEST
1328	depends on SM_GCC_6350
1329	help
1330	  Support for the display clock controller on Qualcomm Technologies, Inc
1331	  SM6350 devices.
1332	  Say Y if you want to support display devices and functionality such as
1333	  splash screen.
1334
1335config SM_DISPCC_6375
1336	tristate "SM6375 Display Clock Controller"
1337	depends on ARM64 || COMPILE_TEST
1338	depends on SM_GCC_6375
1339	help
1340	  Support for the display clock controller on Qualcomm Technologies, Inc
1341	  SM6375 devices.
1342	  Say Y if you want to support display devices and functionality such as
1343	  splash screen.
1344
1345config SM_DISPCC_MILOS
1346	tristate "Milos Display Clock Controller"
1347	depends on ARM64 || COMPILE_TEST
1348	depends on SM_GCC_MILOS
1349	help
1350	  Support for the display clock controller on Qualcomm Technologies, Inc
1351	  Milos devices.
1352	  Say Y if you want to support display devices and functionality such as
1353	  splash screen.
1354
1355config SM_DISPCC_8450
1356	tristate "SM8450 Display Clock Controller"
1357	depends on ARM64 || COMPILE_TEST
1358	depends on SM_GCC_8450
1359	help
1360	  Support for the display clock controller on Qualcomm Technologies, Inc
1361	  SM8450 or SM8475 devices.
1362	  Say Y if you want to support display devices and functionality such as
1363	  splash screen.
1364
1365config SM_DISPCC_8550
1366	tristate "SM8550 Display Clock Controller"
1367	depends on ARM64 || COMPILE_TEST
1368	depends on SM_GCC_8550 || SM_GCC_8650 || SAR_GCC_2130P
1369	help
1370	  Support for the display clock controller on Qualcomm Technologies, Inc
1371	  SAR2130P, SM8550 or SM8650 devices.
1372	  Say Y if you want to support display devices and functionality such as
1373	  splash screen.
1374
1375config SM_DISPCC_8750
1376	tristate "SM8750 Display Clock Controller"
1377	depends on ARM64 || COMPILE_TEST
1378	depends on SM_GCC_8750
1379	select QCOM_GDSC
1380	help
1381	  Support for the display clock controller on Qualcomm Technologies, Inc
1382	  SM8750 devices.
1383	  Say Y if you want to support display devices and functionality such as
1384	  splash screen.
1385
1386config SM_GCC_4450
1387	tristate "SM4450 Global Clock Controller"
1388	depends on ARM64 || COMPILE_TEST
1389	select QCOM_GDSC
1390	help
1391	  Support for the global clock controller on SM4450 devices.
1392	  Say Y if you want to use peripheral devices such as UART, SPI,
1393	  I2C, USB, SD/UFS, PCIe, etc.
1394
1395config SM_GCC_6115
1396	tristate "SM6115 and SM4250 Global Clock Controller"
1397	depends on ARM64 || COMPILE_TEST
1398	select QCOM_GDSC
1399	help
1400	  Support for the global clock controller on SM6115 and SM4250 devices.
1401	  Say Y if you want to use peripheral devices such as UART, SPI,
1402	  i2C, USB, UFS, SDDC, PCIe, etc.
1403
1404config SM_GCC_6125
1405	tristate "SM6125 Global Clock Controller"
1406	depends on ARM64 || COMPILE_TEST
1407	select QCOM_GDSC
1408	help
1409	  Support for the global clock controller on SM6125 devices.
1410	  Say Y if you want to use peripheral devices such as UART,
1411	  SPI, I2C, USB, SD/UFS, PCIe etc.
1412
1413config SM_GCC_6350
1414	tristate "SM6350 Global Clock Controller"
1415	depends on ARM64 || COMPILE_TEST
1416	select QCOM_GDSC
1417	help
1418	  Support for the global clock controller on SM6350 devices.
1419	  Say Y if you want to use peripheral devices such as UART,
1420	  SPI, I2C, USB, SD/UFS, PCIe etc.
1421
1422config SM_GCC_6375
1423	tristate "SM6375 Global Clock Controller"
1424	depends on ARM64 || COMPILE_TEST
1425	select QCOM_GDSC
1426	help
1427	  Support for the global clock controller on SM6375 devices.
1428	  Say Y if you want to use peripheral devices such as UART,
1429	  SPI, I2C, USB, SD/UFS etc.
1430
1431config SM_GCC_7150
1432	tristate "SM7150 Global Clock Controller"
1433	depends on ARM64 || COMPILE_TEST
1434	select QCOM_GDSC
1435	help
1436	  Support for the global clock controller on SM7150 devices.
1437	  Say Y if you want to use peripheral devices such as UART,
1438	  SPI, I2C, USB, SD/UFS, PCIe etc.
1439
1440config SM_GCC_MILOS
1441	tristate "Milos Global Clock Controller"
1442	depends on ARM64 || COMPILE_TEST
1443	select QCOM_GDSC
1444	help
1445	  Support for the global clock controller on Milos devices.
1446	  Say Y if you want to use peripheral devices such as UART,
1447	  SPI, I2C, USB, SD/UFS, PCIe etc.
1448
1449config SM_GCC_8150
1450	tristate "SM8150 Global Clock Controller"
1451	depends on ARM64 || COMPILE_TEST
1452	select QCOM_GDSC
1453	help
1454	  Support for the global clock controller on SM8150 devices.
1455	  Say Y if you want to use peripheral devices such as UART,
1456	  SPI, I2C, USB, SD/UFS, PCIe etc.
1457
1458config SM_GCC_8250
1459	tristate "SM8250 Global Clock Controller"
1460	depends on ARM64 || COMPILE_TEST
1461	select QCOM_GDSC
1462	help
1463	  Support for the global clock controller on SM8250 devices.
1464	  Say Y if you want to use peripheral devices such as UART,
1465	  SPI, I2C, USB, SD/UFS, PCIe etc.
1466
1467config SM_GCC_8350
1468	tristate "SM8350 Global Clock Controller"
1469	depends on ARM64 || COMPILE_TEST
1470	select QCOM_GDSC
1471	help
1472	  Support for the global clock controller on SM8350 devices.
1473	  Say Y if you want to use peripheral devices such as UART,
1474	  SPI, I2C, USB, SD/UFS, PCIe etc.
1475
1476config SM_GCC_8450
1477	tristate "SM8450 Global Clock Controller"
1478	depends on ARM64 || COMPILE_TEST
1479	select QCOM_GDSC
1480	help
1481	  Support for the global clock controller on SM8450 or SM8475
1482	  devices.
1483	  Say Y if you want to use peripheral devices such as UART,
1484	  SPI, I2C, USB, SD/UFS, PCIe etc.
1485
1486config SM_GCC_8550
1487	tristate "SM8550 Global Clock Controller"
1488	depends on ARM64 || COMPILE_TEST
1489	select QCOM_GDSC
1490	help
1491	  Support for the global clock controller on SM8550 devices.
1492	  Say Y if you want to use peripheral devices such as UART,
1493	  SPI, I2C, USB, SD/UFS, PCIe etc.
1494
1495config SM_GCC_8650
1496	tristate "SM8650 Global Clock Controller"
1497	depends on ARM64 || COMPILE_TEST
1498	select QCOM_GDSC
1499	help
1500	  Support for the global clock controller on SM8650 devices.
1501	  Say Y if you want to use peripheral devices such as UART,
1502	  SPI, I2C, USB, SD/UFS, PCIe etc.
1503
1504config SM_GCC_8750
1505	tristate "SM8750 Global Clock Controller"
1506	depends on ARM64 || COMPILE_TEST
1507	select QCOM_GDSC
1508	help
1509	  Support for the global clock controller on SM8750 devices.
1510	  Say Y if you want to use peripheral devices such as UART,
1511	  SPI, I2C, USB, SD/UFS, PCIe etc.
1512
1513config SM_GPUCC_4450
1514	tristate "SM4450 Graphics Clock Controller"
1515	depends on ARM64 || COMPILE_TEST
1516	select SM_GCC_4450
1517	help
1518	  Support for the graphics clock controller on SM4450 devices.
1519	  Say Y if you want to support graphics controller devices and
1520	  functionality such as 3D graphics.
1521
1522config SM_GPUCC_6115
1523	tristate "SM6115 Graphics Clock Controller"
1524	select SM_GCC_6115
1525	depends on ARM64 || COMPILE_TEST
1526	help
1527	  Support for the graphics clock controller on SM6115 devices.
1528	  Say Y if you want to support graphics controller devices and
1529	  functionality such as 3D graphics.
1530
1531config SM_GPUCC_6125
1532	tristate "SM6125 Graphics Clock Controller"
1533	select SM_GCC_6125
1534	depends on ARM64 || COMPILE_TEST
1535	help
1536	  Support for the graphics clock controller on SM6125 devices.
1537	  Say Y if you want to support graphics controller devices and
1538	  functionality such as 3D graphics.
1539
1540config SM_GPUCC_6375
1541	tristate "SM6375 Graphics Clock Controller"
1542	select SM_GCC_6375
1543	depends on ARM64 || COMPILE_TEST
1544	help
1545	  Support for the graphics clock controller on SM6375 devices.
1546	  Say Y if you want to support graphics controller devices and
1547	  functionality such as 3D graphics.
1548
1549config SM_GPUCC_6350
1550	tristate "SM6350 Graphics Clock Controller"
1551	depends on ARM64 || COMPILE_TEST
1552	select SM_GCC_6350
1553	help
1554	  Support for the graphics clock controller on SM6350 devices.
1555	  Say Y if you want to support graphics controller devices and
1556	  functionality such as 3D graphics.
1557
1558config SM_GPUCC_MILOS
1559	tristate "Milos Graphics Clock Controller"
1560	depends on ARM64 || COMPILE_TEST
1561	select SM_GCC_MILOS
1562	help
1563	  Support for the graphics clock controller on Milos devices.
1564	  Say Y if you want to support graphics controller devices and
1565	  functionality such as 3D graphics.
1566
1567config SM_GPUCC_8150
1568	tristate "SM8150 Graphics Clock Controller"
1569	depends on ARM64 || COMPILE_TEST
1570	select SM_GCC_8150
1571	help
1572	  Support for the graphics clock controller on SM8150 devices.
1573	  Say Y if you want to support graphics controller devices and
1574	  functionality such as 3D graphics.
1575
1576config SM_GPUCC_8250
1577	tristate "SM8250 Graphics Clock Controller"
1578	depends on ARM64 || COMPILE_TEST
1579	select SM_GCC_8250
1580	help
1581	  Support for the graphics clock controller on SM8250 devices.
1582	  Say Y if you want to support graphics controller devices and
1583	  functionality such as 3D graphics.
1584
1585config SM_GPUCC_8350
1586	tristate "SM8350 Graphics Clock Controller"
1587	depends on ARM64 || COMPILE_TEST
1588	select SM_GCC_8350
1589	help
1590	  Support for the graphics clock controller on SM8350 devices.
1591	  Say Y if you want to support graphics controller devices and
1592	  functionality such as 3D graphics.
1593
1594config SM_GPUCC_8450
1595	tristate "SM8450 Graphics Clock Controller"
1596	depends on ARM64 || COMPILE_TEST
1597	select SM_GCC_8450
1598	help
1599	  Support for the graphics clock controller on SM8450 or SM8475
1600	  devices.
1601	  Say Y if you want to support graphics controller devices and
1602	  functionality such as 3D graphics.
1603
1604config SM_GPUCC_8550
1605	tristate "SM8550 Graphics Clock Controller"
1606	depends on ARM64 || COMPILE_TEST
1607	select SM_GCC_8550
1608	help
1609	  Support for the graphics clock controller on SM8550 devices.
1610	  Say Y if you want to support graphics controller devices and
1611	  functionality such as 3D graphics.
1612
1613config SM_GPUCC_8650
1614	tristate "SM8650 Graphics Clock Controller"
1615	depends on ARM64 || COMPILE_TEST
1616	select SM_GCC_8650
1617	help
1618	  Support for the graphics clock controller on SM8650 devices.
1619	  Say Y if you want to support graphics controller devices and
1620	  functionality such as 3D graphics.
1621
1622config SM_GPUCC_8750
1623	tristate "SM8750 Graphics Clock Controller"
1624	depends on ARM64 || COMPILE_TEST
1625	select SM_GCC_8750
1626	help
1627	  Support for the graphics clock controller on SM8750 devices.
1628	  Say Y if you want to support graphics controller devices and
1629	  functionality such as 3D graphics.
1630
1631config SM_LPASSCC_6115
1632	tristate "SM6115 Low Power Audio Subsystem (LPASS) Clock Controller"
1633	depends on ARM64 || COMPILE_TEST
1634	select SM_GCC_6115
1635	help
1636	  Support for the LPASS clock controller on SM6115 devices.
1637	  Say Y if you want to toggle LPASS-adjacent resets within
1638	  this clock controller to reset the LPASS subsystem.
1639
1640config SM_TCSRCC_8550
1641	tristate "SM8550 TCSR Clock Controller"
1642	depends on ARM64 || COMPILE_TEST
1643	select QCOM_GDSC
1644	help
1645	  Support for the TCSR clock controller on SM8550 devices.
1646	  Say Y if you want to use peripheral devices such as SD/UFS.
1647
1648config SM_TCSRCC_8650
1649	tristate "SM8650 TCSR Clock Controller"
1650	depends on ARM64 || COMPILE_TEST
1651	select QCOM_GDSC
1652	help
1653	  Support for the TCSR clock controller on SM8650 devices.
1654	  Say Y if you want to use peripheral devices such as SD/UFS.
1655
1656config SM_TCSRCC_8750
1657	tristate "SM8750 TCSR Clock Controller"
1658	depends on ARM64 || COMPILE_TEST
1659	select QCOM_GDSC
1660	help
1661	  Support for the TCSR clock controller on SM8750 devices.
1662	  Say Y if you want to use peripheral devices such as UFS/USB/PCIe.
1663
1664config SA_VIDEOCC_8775P
1665	tristate "SA8775P Video Clock Controller"
1666	depends on ARM64 || COMPILE_TEST
1667	select SA_GCC_8775P
1668	select QCOM_GDSC
1669	help
1670	  Support for the video clock controller on Qualcomm Technologies, Inc.
1671	  SA8775P devices.
1672	  Say Y if you want to support video devices and functionality such as
1673	  video encode/decode.
1674
1675config SM_VIDEOCC_6350
1676	tristate "SM6350 Video Clock Controller"
1677	depends on ARM64 || COMPILE_TEST
1678	select SM_GCC_6350
1679	select QCOM_GDSC
1680	help
1681	  Support for the video clock controller on SM6350 devices.
1682	  Say Y if you want to support video devices and functionality such as
1683	  video encode and decode.
1684
1685config SM_VIDEOCC_7150
1686	tristate "SM7150 Video Clock Controller"
1687	depends on ARM64 || COMPILE_TEST
1688	select SM_GCC_7150
1689	select QCOM_GDSC
1690	help
1691	  Support for the video clock controller on SM7150 devices.
1692	  Say Y if you want to support video devices and functionality such as
1693	  video encode and decode.
1694
1695config SM_VIDEOCC_MILOS
1696	tristate "Milos Video Clock Controller"
1697	depends on ARM64 || COMPILE_TEST
1698	select SM_GCC_MILOS
1699	select QCOM_GDSC
1700	help
1701	  Support for the video clock controller on Qualcomm Technologies, Inc.
1702	  Milos devices.
1703	  Say Y if you want to support video devices and functionality such as
1704	  video encode/decode.
1705
1706config SM_VIDEOCC_8150
1707	tristate "SM8150 Video Clock Controller"
1708	depends on ARM64 || COMPILE_TEST
1709	select SM_GCC_8150
1710	select QCOM_GDSC
1711	help
1712	  Support for the video clock controller on SM8150 devices.
1713	  Say Y if you want to support video devices and functionality such as
1714	  video encode and decode.
1715
1716config SM_VIDEOCC_8250
1717	tristate "SM8250 Video Clock Controller"
1718	depends on ARM64 || COMPILE_TEST
1719	select SM_GCC_8250
1720	select QCOM_GDSC
1721	help
1722	  Support for the video clock controller on SM8250 devices.
1723	  Say Y if you want to support video devices and functionality such as
1724	  video encode and decode.
1725
1726config SM_VIDEOCC_8350
1727	tristate "SM8350 Video Clock Controller"
1728	depends on ARM64 || COMPILE_TEST
1729	depends on SM_GCC_8350 || SC_GCC_8280XP
1730	select QCOM_GDSC
1731	help
1732	  Support for the video clock controller on SM8350 or SC8280XP devices.
1733	  Say Y if you want to support video devices and functionality such as
1734	  video encode and decode.
1735
1736config SM_VIDEOCC_8550
1737	tristate "SM8550 Video Clock Controller"
1738	depends on ARM64 || COMPILE_TEST
1739	select QCOM_GDSC
1740	help
1741	  Support for the video clock controller on Qualcomm Technologies, Inc.
1742	  SM8550 or SM8650 or X1E80100 devices.
1743	  Say Y if you want to support video devices and functionality such as
1744	  video encode/decode.
1745
1746config SM_VIDEOCC_8750
1747	tristate "SM8750 Video Clock Controller"
1748	depends on ARM64 || COMPILE_TEST
1749	select SM_GCC_8750
1750	select QCOM_GDSC
1751	help
1752	  Support for the video clock controller on Qualcomm Technologies, Inc.
1753	  SM8750 devices.
1754	  Say Y if you want to support video devices and functionality such as
1755	  video encode/decode.
1756
1757config SPMI_PMIC_CLKDIV
1758	tristate "SPMI PMIC clkdiv Support"
1759	depends on SPMI || COMPILE_TEST
1760	help
1761	  This driver supports the clkdiv functionality on the Qualcomm
1762	  Technologies, Inc. SPMI PMIC. It configures the frequency of
1763	  clkdiv outputs of the PMIC. These clocks are typically wired
1764	  through alternate functions on GPIO pins.
1765
1766config QCOM_HFPLL
1767	tristate "High-Frequency PLL (HFPLL) Clock Controller"
1768	help
1769	  Support for the high-frequency PLLs present on Qualcomm devices.
1770	  Say Y if you want to support CPU frequency scaling on devices
1771	  such as MSM8974, APQ8084, etc.
1772
1773config KPSS_XCC
1774	tristate "KPSS Clock Controller"
1775	help
1776	  Support for the Krait ACC and GCC clock controllers. Say Y
1777	  if you want to support CPU frequency scaling on devices such
1778	  as MSM8960, APQ8064, etc.
1779
1780config KRAITCC
1781	tristate "Krait Clock Controller"
1782	depends on ARM
1783	select KRAIT_CLOCKS
1784	help
1785	  Support for the Krait CPU clocks on Qualcomm devices.
1786	  Say Y if you want to support CPU frequency scaling.
1787
1788config CLK_GFM_LPASS_SM8250
1789	tristate "SM8250 GFM LPASS Clocks"
1790	depends on ARM64 || COMPILE_TEST
1791	help
1792	  Support for the Glitch Free Mux (GFM) Low power audio
1793          subsystem (LPASS) clocks found on SM8250 SoCs.
1794
1795config SM_VIDEOCC_8450
1796	tristate "SM8450 Video Clock Controller"
1797	depends on ARM64 || COMPILE_TEST
1798	select SM_GCC_8450
1799	select QCOM_GDSC
1800	help
1801	  Support for the video clock controller on Qualcomm Technologies, Inc.
1802	  SM8450 or SM8475 devices.
1803	  Say Y if you want to support video devices and functionality such as
1804	  video encode/decode.
1805endif
1806