xref: /openbmc/linux/drivers/clk/qcom/Kconfig (revision 65b96377)
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
10config QCOM_RPMCC
11	bool
12
13menuconfig COMMON_CLK_QCOM
14	tristate "Support for Qualcomm's clock controllers"
15	depends on OF
16	depends on ARCH_QCOM || COMPILE_TEST
17	select RATIONAL
18	select REGMAP_MMIO
19	select RESET_CONTROLLER
20
21if COMMON_CLK_QCOM
22
23config QCOM_A53PLL
24	tristate "MSM8916 A53 PLL"
25	help
26	  Support for the A53 PLL on MSM8916 devices. It provides
27	  the CPU with frequencies above 1GHz.
28	  Say Y if you want to support higher CPU frequencies on MSM8916
29	  devices.
30
31config QCOM_A7PLL
32	tristate "A7 PLL driver for SDX55 and SDX65"
33	help
34	  Support for the A7 PLL on SDX55 and SDX65 devices. It provides the CPU with
35	  frequencies above 1GHz.
36	  Say Y if you want to support higher CPU frequencies on SDX55 and SDX65
37	  devices.
38
39config QCOM_CLK_APCS_MSM8916
40	tristate "MSM8916 APCS Clock Controller"
41	depends on QCOM_APCS_IPC || COMPILE_TEST
42	help
43	  Support for the APCS Clock Controller on msm8916 devices. The
44	  APCS is managing the mux and divider which feeds the CPUs.
45	  Say Y if you want to support CPU frequency scaling on devices
46	  such as msm8916.
47
48config QCOM_CLK_APCC_MSM8996
49	tristate "MSM8996 CPU Clock Controller"
50	select QCOM_KRYO_L2_ACCESSORS
51	depends on ARM64
52	help
53	  Support for the CPU clock controller on msm8996 devices.
54	  Say Y if you want to support CPU clock scaling using CPUfreq
55	  drivers for dynamic power management.
56
57config QCOM_CLK_APCS_SDX55
58	tristate "SDX55 and SDX65 APCS Clock Controller"
59	depends on QCOM_APCS_IPC || COMPILE_TEST
60	help
61	  Support for the APCS Clock Controller on SDX55, SDX65 platforms. The
62	  APCS is managing the mux and divider which feeds the CPUs.
63	  Say Y if you want to support CPU frequency scaling on devices
64	  such as SDX55, SDX65.
65
66config QCOM_CLK_RPM
67	tristate "RPM based Clock Controller"
68	depends on MFD_QCOM_RPM
69	select QCOM_RPMCC
70	help
71	  The RPM (Resource Power Manager) is a dedicated hardware engine for
72	  managing the shared SoC resources in order to keep the lowest power
73	  profile. It communicates with other hardware subsystems via shared
74	  memory and accepts clock requests, aggregates the requests and turns
75	  the clocks on/off or scales them on demand.
76	  Say Y if you want to support the clocks exposed by the RPM on
77	  platforms such as apq8064, msm8660, msm8960 etc.
78
79config QCOM_CLK_SMD_RPM
80	tristate "RPM over SMD based Clock Controller"
81	depends on QCOM_SMD_RPM
82	select QCOM_RPMCC
83	help
84	  The RPM (Resource Power Manager) is a dedicated hardware engine for
85	  managing the shared SoC resources in order to keep the lowest power
86	  profile. It communicates with other hardware subsystems via shared
87	  memory and accepts clock requests, aggregates the requests and turns
88	  the clocks on/off or scales them on demand.
89	  Say Y if you want to support the clocks exposed by the RPM on
90	  platforms such as apq8016, apq8084, msm8974 etc.
91
92config QCOM_CLK_RPMH
93	tristate "RPMh Clock Driver"
94	depends on QCOM_RPMH
95	help
96	 RPMh manages shared resources on some Qualcomm Technologies, Inc.
97	 SoCs. It accepts requests from other hardware subsystems via RSC.
98	 Say Y if you want to support the clocks exposed by RPMh on
99	 platforms such as SDM845.
100
101config APQ_GCC_8084
102	tristate "APQ8084 Global Clock Controller"
103	select QCOM_GDSC
104	help
105	  Support for the global clock controller on apq8084 devices.
106	  Say Y if you want to use peripheral devices such as UART, SPI,
107	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
108
109config APQ_MMCC_8084
110	tristate "APQ8084 Multimedia Clock Controller"
111	select APQ_GCC_8084
112	select QCOM_GDSC
113	help
114	  Support for the multimedia clock controller on apq8084 devices.
115	  Say Y if you want to support multimedia devices such as display,
116	  graphics, video encode/decode, camera, etc.
117
118config IPQ_APSS_PLL
119	tristate "IPQ APSS PLL"
120	help
121	  Support for APSS PLL on ipq devices. The APSS PLL is the main
122	  clock that feeds the CPUs on ipq based devices.
123	  Say Y if you want to support CPU frequency scaling on ipq based
124	  devices.
125
126config IPQ_APSS_6018
127	tristate "IPQ APSS Clock Controller"
128	select IPQ_APSS_PLL
129	depends on QCOM_APCS_IPC || COMPILE_TEST
130	help
131	  Support for APSS clock controller on IPQ platforms. The
132	  APSS clock controller manages the Mux and enable block that feeds the
133	  CPUs.
134	  Say Y if you want to support CPU frequency scaling on
135	  ipq based devices.
136
137config IPQ_GCC_4019
138	tristate "IPQ4019 Global Clock Controller"
139	help
140	  Support for the global clock controller on ipq4019 devices.
141	  Say Y if you want to use peripheral devices such as UART, SPI,
142	  i2c, USB, SD/eMMC, etc.
143
144config IPQ_GCC_6018
145	tristate "IPQ6018 Global Clock Controller"
146	help
147	  Support for global clock controller on ipq6018 devices.
148	  Say Y if you want to use peripheral devices such as UART, SPI,
149	  i2c, USB, SD/eMMC, etc. Select this for the root clock
150	  of ipq6018.
151
152config IPQ_GCC_806X
153	tristate "IPQ806x Global Clock Controller"
154	help
155	  Support for the global clock controller on ipq806x devices.
156	  Say Y if you want to use peripheral devices such as UART, SPI,
157	  i2c, USB, SD/eMMC, etc.
158
159config IPQ_LCC_806X
160	tristate "IPQ806x LPASS Clock Controller"
161	select IPQ_GCC_806X
162	help
163	  Support for the LPASS clock controller on ipq806x devices.
164	  Say Y if you want to use audio devices such as i2s, pcm,
165	  S/PDIF, etc.
166
167config IPQ_GCC_8074
168	tristate "IPQ8074 Global Clock Controller"
169	help
170	  Support for global clock controller on ipq8074 devices.
171	  Say Y if you want to use peripheral devices such as UART, SPI,
172	  i2c, USB, SD/eMMC, etc. Select this for the root clock
173	  of ipq8074.
174
175config MSM_GCC_8660
176	tristate "MSM8660 Global Clock Controller"
177	help
178	  Support for the global clock controller on msm8660 devices.
179	  Say Y if you want to use peripheral devices such as UART, SPI,
180	  i2c, USB, SD/eMMC, etc.
181
182config MSM_GCC_8916
183	tristate "MSM8916 Global Clock Controller"
184	select QCOM_GDSC
185	help
186	  Support for the global clock controller on msm8916 devices.
187	  Say Y if you want to use devices such as UART, SPI i2c, USB,
188	  SD/eMMC, display, graphics, camera etc.
189
190config MSM_GCC_8939
191	tristate "MSM8939 Global Clock Controller"
192	select QCOM_GDSC
193	help
194	  Support for the global clock controller on msm8939 devices.
195	  Say Y if you want to use devices such as UART, SPI i2c, USB,
196	  SD/eMMC, display, graphics, camera etc.
197
198config MSM_GCC_8960
199	tristate "APQ8064/MSM8960 Global Clock Controller"
200	help
201	  Support for the global clock controller on apq8064/msm8960 devices.
202	  Say Y if you want to use peripheral devices such as UART, SPI,
203	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
204
205config MSM_LCC_8960
206	tristate "APQ8064/MSM8960 LPASS Clock Controller"
207	select MSM_GCC_8960
208	help
209	  Support for the LPASS clock controller on apq8064/msm8960 devices.
210	  Say Y if you want to use audio devices such as i2s, pcm,
211	  SLIMBus, etc.
212
213config MDM_GCC_9607
214	tristate "MDM9607 Global Clock Controller"
215	help
216	  Support for the global clock controller on mdm9607 devices.
217	  Say Y if you want to use peripheral devices such as UART, SPI,
218	  I2C, USB, SD/eMMC, etc.
219
220config MDM_GCC_9615
221	tristate "MDM9615 Global Clock Controller"
222	help
223	  Support for the global clock controller on mdm9615 devices.
224	  Say Y if you want to use peripheral devices such as UART, SPI,
225	  i2c, USB, SD/eMMC, etc.
226
227config MDM_LCC_9615
228	tristate "MDM9615 LPASS Clock Controller"
229	select MDM_GCC_9615
230	help
231	  Support for the LPASS clock controller on mdm9615 devices.
232	  Say Y if you want to use audio devices such as i2s, pcm,
233	  SLIMBus, etc.
234
235config MSM_MMCC_8960
236	tristate "MSM8960 Multimedia Clock Controller"
237	select MSM_GCC_8960
238	help
239	  Support for the multimedia clock controller on msm8960 devices.
240	  Say Y if you want to support multimedia devices such as display,
241	  graphics, video encode/decode, camera, etc.
242
243config MSM_GCC_8953
244	tristate "MSM8953 Global Clock Controller"
245	select QCOM_GDSC
246	help
247	  Support for the global clock controller on msm8953 devices.
248	  Say Y if you want to use devices such as UART, SPI i2c, USB,
249	  SD/eMMC, display, graphics, camera etc.
250
251config MSM_GCC_8974
252	tristate "MSM8974 Global Clock Controller"
253	select QCOM_GDSC
254	help
255	  Support for the global clock controller on msm8974 devices.
256	  Say Y if you want to use peripheral devices such as UART, SPI,
257	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
258
259config MSM_MMCC_8974
260	tristate "MSM8974 Multimedia Clock Controller"
261	select MSM_GCC_8974
262	select QCOM_GDSC
263	help
264	  Support for the multimedia clock controller on msm8974 devices.
265	  Say Y if you want to support multimedia devices such as display,
266	  graphics, video encode/decode, camera, etc.
267
268config MSM_GCC_8976
269	tristate "MSM8956/76 Global Clock Controller"
270	select QCOM_GDSC
271	help
272	  Support for the global clock controller on msm8956/76 devices.
273	  Say Y if you want to use peripheral devices such as UART, SPI,
274	  i2c, USB, SD/eMMC, SATA, PCIe, etc.
275
276config MSM_MMCC_8994
277	tristate "MSM8994 Multimedia Clock Controller"
278	select MSM_GCC_8994
279	select QCOM_GDSC
280	help
281	  Support for the multimedia clock controller on msm8994 devices.
282	  Say Y if you want to support multimedia devices such as display,
283	  graphics, video encode/decode, camera, etc.
284
285config MSM_GCC_8994
286	tristate "MSM8994 Global Clock Controller"
287	help
288	  Support for the global clock controller on msm8994 devices.
289	  Say Y if you want to use peripheral devices such as UART, SPI,
290	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
291
292config MSM_GCC_8996
293	tristate "MSM8996 Global Clock Controller"
294	select QCOM_GDSC
295	help
296	  Support for the global clock controller on msm8996 devices.
297	  Say Y if you want to use peripheral devices such as UART, SPI,
298	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
299
300config MSM_MMCC_8996
301	tristate "MSM8996 Multimedia Clock Controller"
302	select MSM_GCC_8996
303	select QCOM_GDSC
304	help
305	  Support for the multimedia clock controller on msm8996 devices.
306	  Say Y if you want to support multimedia devices such as display,
307	  graphics, video encode/decode, camera, etc.
308
309config MSM_GCC_8998
310	tristate "MSM8998 Global Clock Controller"
311	select QCOM_GDSC
312	help
313	  Support for the global clock controller on msm8998 devices.
314	  Say Y if you want to use peripheral devices such as UART, SPI,
315	  i2c, USB, UFS, SD/eMMC, PCIe, etc.
316
317config MSM_GPUCC_8998
318	tristate "MSM8998 Graphics Clock Controller"
319	select MSM_GCC_8998
320	select QCOM_GDSC
321	help
322	  Support for the graphics clock controller on MSM8998 devices.
323	  Say Y if you want to support graphics controller devices and
324	  functionality such as 3D graphics.
325
326config MSM_MMCC_8998
327	tristate "MSM8998 Multimedia Clock Controller"
328	select MSM_GCC_8998
329	select QCOM_GDSC
330	help
331	  Support for the multimedia clock controller on msm8998 devices.
332	  Say Y if you want to support multimedia devices such as display,
333	  graphics, video encode/decode, camera, etc.
334
335config QCM_GCC_2290
336	tristate "QCM2290 Global Clock Controller"
337	select QCOM_GDSC
338	help
339	  Support for the global clock controller on QCM2290 devices.
340	  Say Y if you want to use multimedia devices or peripheral
341	  devices such as UART, SPI, I2C, USB, SD/eMMC etc.
342
343config QCM_DISPCC_2290
344	tristate "QCM2290 Display Clock Controller"
345	select QCM_GCC_2290
346	help
347	  Support for the display clock controller on Qualcomm Technologies, Inc
348	  QCM2290 devices.
349	  Say Y if you want to support display devices and functionality such as
350	  splash screen.
351
352config QCS_GCC_404
353	tristate "QCS404 Global Clock Controller"
354	help
355	  Support for the global clock controller on QCS404 devices.
356	  Say Y if you want to use multimedia devices or peripheral
357	  devices such as UART, SPI, I2C, USB, SD/eMMC, PCIe etc.
358
359config SC_CAMCC_7180
360	tristate "SC7180 Camera Clock Controller"
361	select SC_GCC_7180
362	help
363	  Support for the camera clock controller on Qualcomm Technologies, Inc
364	  SC7180 devices.
365	  Say Y if you want to support camera devices and functionality such as
366	  capturing pictures.
367
368config SC_CAMCC_7280
369	tristate "SC7280 Camera Clock Controller"
370	select SC_GCC_7280
371	help
372	  Support for the camera clock controller on Qualcomm Technologies, Inc
373	  SC7280 devices.
374	  Say Y if you want to support camera devices and functionality such as
375	  capturing pictures.
376
377config SC_DISPCC_7180
378	tristate "SC7180 Display Clock Controller"
379	select SC_GCC_7180
380	help
381	  Support for the display clock controller on Qualcomm Technologies, Inc
382	  SC7180 devices.
383	  Say Y if you want to support display devices and functionality such as
384	  splash screen.
385
386config SC_DISPCC_7280
387	tristate "SC7280 Display Clock Controller"
388	select SC_GCC_7280
389	help
390	  Support for the display clock controller on Qualcomm Technologies, Inc.
391	  SC7280 devices.
392	  Say Y if you want to support display devices and functionality such as
393	  splash screen.
394
395config SC_GCC_7180
396	tristate "SC7180 Global Clock Controller"
397	select QCOM_GDSC
398	depends on COMMON_CLK_QCOM
399	help
400	  Support for the global clock controller on SC7180 devices.
401	  Say Y if you want to use peripheral devices such as UART, SPI,
402	  I2C, USB, UFS, SDCC, etc.
403
404config SC_GCC_7280
405	tristate "SC7280 Global Clock Controller"
406	select QCOM_GDSC
407	depends on COMMON_CLK_QCOM
408	help
409	  Support for the global clock controller on SC7280 devices.
410	  Say Y if you want to use peripheral devices such as UART, SPI,
411	  I2C, USB, UFS, SDCC, PCIe etc.
412
413config SC_GCC_8180X
414	tristate "SC8180X Global Clock Controller"
415	select QCOM_GDSC
416	depends on COMMON_CLK_QCOM
417	help
418	  Support for the global clock controller on SC8180X devices.
419	  Say Y if you want to use peripheral devices such as UART, SPI,
420	  I2C, USB, UFS, SDCC, etc.
421
422config SC_GPUCC_7180
423	tristate "SC7180 Graphics Clock Controller"
424	select SC_GCC_7180
425	help
426	  Support for the graphics clock controller on SC7180 devices.
427	  Say Y if you want to support graphics controller devices and
428	  functionality such as 3D graphics.
429
430config SC_GPUCC_7280
431	tristate "SC7280 Graphics Clock Controller"
432	select SC_GCC_7280
433	help
434	  Support for the graphics clock controller on SC7280 devices.
435	  Say Y if you want to support graphics controller devices and
436	  functionality such as 3D graphics.
437
438config SC_LPASSCC_7280
439	tristate "SC7280 Low Power Audio Subsystem (LPASS) Clock Controller"
440	select SC_GCC_7280
441	help
442	  Support for the LPASS clock controller on SC7280 devices.
443	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
444	  controller to reset the LPASS subsystem.
445
446config SC_LPASS_CORECC_7180
447	tristate "SC7180 LPASS Core Clock Controller"
448	select SC_GCC_7180
449	help
450	  Support for the LPASS(Low Power Audio Subsystem) core clock controller
451	  on SC7180 devices.
452	  Say Y if you want to use LPASS clocks and power domains of the LPASS
453	  core clock controller.
454
455config SC_MSS_7180
456	tristate "SC7180 Modem Clock Controller"
457	select SC_GCC_7180
458	help
459	  Support for the Modem Subsystem clock controller on Qualcomm
460	  Technologies, Inc on SC7180 devices.
461	  Say Y if you want to use the Modem branch clocks of the Modem
462	  subsystem clock controller to reset the MSS subsystem.
463
464config SC_VIDEOCC_7180
465	tristate "SC7180 Video Clock Controller"
466	select SC_GCC_7180
467	help
468	  Support for the video clock controller on SC7180 devices.
469	  Say Y if you want to support video devices and functionality such as
470	  video encode and decode.
471
472config SC_VIDEOCC_7280
473	tristate "SC7280 Video Clock Controller"
474	select SC_GCC_7280
475	help
476	  Support for the video clock controller on SC7280 devices.
477	  Say Y if you want to support video devices and functionality such as
478	  video encode and decode.
479
480config SDM_CAMCC_845
481	tristate "SDM845 Camera Clock Controller"
482	select SDM_GCC_845
483	help
484	  Support for the camera clock controller on SDM845 devices.
485	  Say Y if you want to support camera devices and camera functionality.
486
487config SDM_GCC_660
488	tristate "SDM660 Global Clock Controller"
489	select QCOM_GDSC
490	help
491	  Support for the global clock controller on SDM660 devices.
492	  Say Y if you want to use peripheral devices such as UART, SPI,
493	  i2C, USB, UFS, SDDC, PCIe, etc.
494
495config SDM_MMCC_660
496	tristate "SDM660 Multimedia Clock Controller"
497	select SDM_GCC_660
498	select QCOM_GDSC
499	help
500	  Support for the multimedia clock controller on SDM660 devices.
501	  Say Y if you want to support multimedia devices such as display,
502	  graphics, video encode/decode, camera, etc.
503
504config SDM_GPUCC_660
505	tristate "SDM660 Graphics Clock Controller"
506	select SDM_GCC_660
507	select QCOM_GDSC
508	help
509	  Support for the graphics clock controller on SDM630/636/660 devices.
510	  Say Y if you want to support graphics controller devices and
511	  functionality such as 3D graphics
512
513config QCS_TURING_404
514	tristate "QCS404 Turing Clock Controller"
515	help
516	  Support for the Turing Clock Controller on QCS404, provides clocks
517	  and resets for the Turing subsystem.
518
519config QCS_Q6SSTOP_404
520	tristate "QCS404 Q6SSTOP Clock Controller"
521	select QCS_GCC_404
522	help
523	  Support for the Q6SSTOP clock controller on QCS404 devices.
524	  Say Y if you want to use the Q6SSTOP branch clocks of the WCSS clock
525	  controller to reset the Q6SSTOP subsystem.
526
527config SDM_GCC_845
528	tristate "SDM845 Global Clock Controller"
529	select QCOM_GDSC
530	help
531	  Support for the global clock controller on SDM845 devices.
532	  Say Y if you want to use peripheral devices such as UART, SPI,
533	  i2C, USB, UFS, SDDC, PCIe, etc.
534
535config SDM_GPUCC_845
536	tristate "SDM845 Graphics Clock Controller"
537	select SDM_GCC_845
538	help
539	  Support for the graphics clock controller on SDM845 devices.
540	  Say Y if you want to support graphics controller devices and
541	  functionality such as 3D graphics.
542
543config SDM_VIDEOCC_845
544	tristate "SDM845 Video Clock Controller"
545	select SDM_GCC_845
546	select QCOM_GDSC
547	help
548	  Support for the video clock controller on SDM845 devices.
549	  Say Y if you want to support video devices and functionality such as
550	  video encode and decode.
551
552config SDM_DISPCC_845
553	tristate "SDM845 Display Clock Controller"
554	select SDM_GCC_845
555	help
556	  Support for the display clock controller on Qualcomm Technologies, Inc
557	  SDM845 devices.
558	  Say Y if you want to support display devices and functionality such as
559	  splash screen.
560
561config SDM_LPASSCC_845
562	tristate "SDM845 Low Power Audio Subsystem (LPAAS) Clock Controller"
563	select SDM_GCC_845
564	help
565	  Support for the LPASS clock controller on SDM845 devices.
566	  Say Y if you want to use the LPASS branch clocks of the LPASS clock
567	  controller to reset the LPASS subsystem.
568
569config SDX_GCC_55
570	tristate "SDX55 Global Clock Controller"
571	select QCOM_GDSC
572	help
573	  Support for the global clock controller on SDX55 devices.
574	  Say Y if you want to use peripheral devices such as UART,
575	  SPI, I2C, USB, SD/UFS, PCIe etc.
576
577config SDX_GCC_65
578	tristate "SDX65 Global Clock Controller"
579	select QCOM_GDSC
580	help
581	  Support for the global clock controller on SDX65 devices.
582	  Say Y if you want to use peripheral devices such as UART,
583	  SPI, I2C, USB, SD/UFS, PCIe etc.
584
585config SM_CAMCC_8250
586	tristate "SM8250 Camera Clock Controller"
587	select SM_GCC_8250
588	help
589	  Support for the camera clock controller on SM8250 devices.
590	  Say Y if you want to support camera devices and camera functionality.
591
592config SM_DISPCC_6125
593	tristate "SM6125 Display Clock Controller"
594	depends on SM_GCC_6125
595	help
596	  Support for the display clock controller on Qualcomm Technologies, Inc
597	  SM6125 devices.
598	  Say Y if you want to support display devices and functionality such as
599	  splash screen
600
601config SM_DISPCC_8250
602	tristate "SM8150 and SM8250 Display Clock Controller"
603	depends on SM_GCC_8150 || SM_GCC_8250
604	help
605	  Support for the display clock controller on Qualcomm Technologies, Inc
606	  SM8150 and SM8250 devices.
607	  Say Y if you want to support display devices and functionality such as
608	  splash screen.
609
610config SM_DISPCC_6350
611	tristate "SM6350 Display Clock Controller"
612	depends on SM_GCC_6350
613	help
614	  Support for the display clock controller on Qualcomm Technologies, Inc
615	  SM6350 devices.
616	  Say Y if you want to support display devices and functionality such as
617	  splash screen.
618
619config SM_GCC_6115
620	tristate "SM6115 and SM4250 Global Clock Controller"
621	help
622	  Support for the global clock controller on SM6115 and SM4250 devices.
623	  Say Y if you want to use peripheral devices such as UART, SPI,
624	  i2C, USB, UFS, SDDC, PCIe, etc.
625
626config SM_GCC_6125
627	tristate "SM6125 Global Clock Controller"
628	help
629	  Support for the global clock controller on SM6125 devices.
630	  Say Y if you want to use peripheral devices such as UART,
631	  SPI, I2C, USB, SD/UFS, PCIe etc.
632
633config SM_GCC_6350
634	tristate "SM6350 Global Clock Controller"
635	select QCOM_GDSC
636	help
637	  Support for the global clock controller on SM6350 devices.
638	  Say Y if you want to use peripheral devices such as UART,
639	  SPI, I2C, USB, SD/UFS, PCIe etc.
640
641config SM_GCC_8150
642	tristate "SM8150 Global Clock Controller"
643	help
644	  Support for the global clock controller on SM8150 devices.
645	  Say Y if you want to use peripheral devices such as UART,
646	  SPI, I2C, USB, SD/UFS, PCIe etc.
647
648config SM_GCC_8250
649	tristate "SM8250 Global Clock Controller"
650	select QCOM_GDSC
651	help
652	  Support for the global clock controller on SM8250 devices.
653	  Say Y if you want to use peripheral devices such as UART,
654	  SPI, I2C, USB, SD/UFS, PCIe etc.
655
656config SM_GCC_8350
657	tristate "SM8350 Global Clock Controller"
658	select QCOM_GDSC
659	help
660	  Support for the global clock controller on SM8350 devices.
661	  Say Y if you want to use peripheral devices such as UART,
662	  SPI, I2C, USB, SD/UFS, PCIe etc.
663
664config SM_GCC_8450
665	tristate "SM8450 Global Clock Controller"
666	select QCOM_GDSC
667	help
668	  Support for the global clock controller on SM8450 devices.
669	  Say Y if you want to use peripheral devices such as UART,
670	  SPI, I2C, USB, SD/UFS, PCIe etc.
671
672config SM_GPUCC_6350
673	tristate "SM6350 Graphics Clock Controller"
674	select SM_GCC_6350
675	help
676	  Support for the graphics clock controller on SM6350 devices.
677	  Say Y if you want to support graphics controller devices and
678	  functionality such as 3D graphics.
679
680config SM_GPUCC_8150
681	tristate "SM8150 Graphics Clock Controller"
682	select SM_GCC_8150
683	help
684	  Support for the graphics clock controller on SM8150 devices.
685	  Say Y if you want to support graphics controller devices and
686	  functionality such as 3D graphics.
687
688config SM_GPUCC_8250
689	tristate "SM8250 Graphics Clock Controller"
690	select SM_GCC_8250
691	help
692	  Support for the graphics clock controller on SM8250 devices.
693	  Say Y if you want to support graphics controller devices and
694	  functionality such as 3D graphics.
695
696config SM_VIDEOCC_8150
697	tristate "SM8150 Video Clock Controller"
698	select SM_GCC_8150
699	select QCOM_GDSC
700	help
701	  Support for the video clock controller on SM8150 devices.
702	  Say Y if you want to support video devices and functionality such as
703	  video encode and decode.
704
705config SM_VIDEOCC_8250
706	tristate "SM8250 Video Clock Controller"
707	select SM_GCC_8250
708	select QCOM_GDSC
709	help
710	  Support for the video clock controller on SM8250 devices.
711	  Say Y if you want to support video devices and functionality such as
712	  video encode and decode.
713
714config SPMI_PMIC_CLKDIV
715	tristate "SPMI PMIC clkdiv Support"
716	depends on SPMI || COMPILE_TEST
717	help
718	  This driver supports the clkdiv functionality on the Qualcomm
719	  Technologies, Inc. SPMI PMIC. It configures the frequency of
720	  clkdiv outputs of the PMIC. These clocks are typically wired
721	  through alternate functions on GPIO pins.
722
723config QCOM_HFPLL
724	tristate "High-Frequency PLL (HFPLL) Clock Controller"
725	help
726	  Support for the high-frequency PLLs present on Qualcomm devices.
727	  Say Y if you want to support CPU frequency scaling on devices
728	  such as MSM8974, APQ8084, etc.
729
730config KPSS_XCC
731	tristate "KPSS Clock Controller"
732	help
733	  Support for the Krait ACC and GCC clock controllers. Say Y
734	  if you want to support CPU frequency scaling on devices such
735	  as MSM8960, APQ8064, etc.
736
737config KRAITCC
738	tristate "Krait Clock Controller"
739	depends on ARM
740	select KRAIT_CLOCKS
741	help
742	  Support for the Krait CPU clocks on Qualcomm devices.
743	  Say Y if you want to support CPU frequency scaling.
744
745config CLK_GFM_LPASS_SM8250
746	tristate "SM8250 GFM LPASS Clocks"
747	help
748	  Support for the Glitch Free Mux (GFM) Low power audio
749          subsystem (LPASS) clocks found on SM8250 SoCs.
750
751endif
752