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