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