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