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