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