1# SPDX-License-Identifier: GPL-2.0-only
2#
3# MediaTek Clock Drivers
4#
5menu "Clock driver for MediaTek SoC"
6	depends on ARCH_MEDIATEK || COMPILE_TEST
7
8config COMMON_CLK_MEDIATEK
9	tristate
10	select RESET_CONTROLLER
11	help
12	  MediaTek SoCs' clock support.
13
14config COMMON_CLK_MEDIATEK_FHCTL
15	bool "clock driver for MediaTek FHCTL hardware control"
16	select COMMON_CLK_MEDIATEK
17	help
18	  This driver supports MediaTek frequency hopping and
19	  spread spectrum clocking features.
20
21config COMMON_CLK_MT2701
22	bool "Clock driver for MediaTek MT2701"
23	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
24	select COMMON_CLK_MEDIATEK
25	default ARCH_MEDIATEK && ARM
26	help
27	  This driver supports MediaTek MT2701 basic clocks.
28
29config COMMON_CLK_MT2701_MMSYS
30	bool "Clock driver for MediaTek MT2701 mmsys"
31	depends on COMMON_CLK_MT2701
32	help
33	  This driver supports MediaTek MT2701 mmsys clocks.
34
35config COMMON_CLK_MT2701_IMGSYS
36	bool "Clock driver for MediaTek MT2701 imgsys"
37	depends on COMMON_CLK_MT2701
38	help
39	  This driver supports MediaTek MT2701 imgsys clocks.
40
41config COMMON_CLK_MT2701_VDECSYS
42	bool "Clock driver for MediaTek MT2701 vdecsys"
43	depends on COMMON_CLK_MT2701
44	help
45	  This driver supports MediaTek MT2701 vdecsys clocks.
46
47config COMMON_CLK_MT2701_HIFSYS
48	bool "Clock driver for MediaTek MT2701 hifsys"
49	depends on COMMON_CLK_MT2701
50	help
51	  This driver supports MediaTek MT2701 hifsys clocks.
52
53config COMMON_CLK_MT2701_ETHSYS
54	bool "Clock driver for MediaTek MT2701 ethsys"
55	depends on COMMON_CLK_MT2701
56	help
57	  This driver supports MediaTek MT2701 ethsys clocks.
58
59config COMMON_CLK_MT2701_BDPSYS
60	bool "Clock driver for MediaTek MT2701 bdpsys"
61	depends on COMMON_CLK_MT2701
62	help
63	  This driver supports MediaTek MT2701 bdpsys clocks.
64
65config COMMON_CLK_MT2701_AUDSYS
66	bool "Clock driver for Mediatek MT2701 audsys"
67	depends on COMMON_CLK_MT2701
68	help
69	  This driver supports Mediatek MT2701 audsys clocks.
70
71config COMMON_CLK_MT2701_G3DSYS
72	bool "Clock driver for MediaTek MT2701 g3dsys"
73	depends on COMMON_CLK_MT2701
74	help
75	  This driver supports MediaTek MT2701 g3dsys clocks.
76
77config COMMON_CLK_MT2712
78	tristate "Clock driver for MediaTek MT2712"
79	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
80	select COMMON_CLK_MEDIATEK
81	default ARCH_MEDIATEK && ARM64
82	help
83	  This driver supports MediaTek MT2712 basic clocks.
84
85config COMMON_CLK_MT2712_BDPSYS
86	tristate "Clock driver for MediaTek MT2712 bdpsys"
87	depends on COMMON_CLK_MT2712
88	help
89	  This driver supports MediaTek MT2712 bdpsys clocks.
90
91config COMMON_CLK_MT2712_IMGSYS
92	tristate "Clock driver for MediaTek MT2712 imgsys"
93	depends on COMMON_CLK_MT2712
94	help
95	  This driver supports MediaTek MT2712 imgsys clocks.
96
97config COMMON_CLK_MT2712_JPGDECSYS
98	tristate "Clock driver for MediaTek MT2712 jpgdecsys"
99	depends on COMMON_CLK_MT2712
100	help
101	  This driver supports MediaTek MT2712 jpgdecsys clocks.
102
103config COMMON_CLK_MT2712_MFGCFG
104	tristate "Clock driver for MediaTek MT2712 mfgcfg"
105	depends on COMMON_CLK_MT2712
106	help
107	  This driver supports MediaTek MT2712 mfgcfg clocks.
108
109config COMMON_CLK_MT2712_MMSYS
110	tristate "Clock driver for MediaTek MT2712 mmsys"
111	depends on COMMON_CLK_MT2712
112	help
113	  This driver supports MediaTek MT2712 mmsys clocks.
114
115config COMMON_CLK_MT2712_VDECSYS
116	tristate "Clock driver for MediaTek MT2712 vdecsys"
117	depends on COMMON_CLK_MT2712
118	help
119	  This driver supports MediaTek MT2712 vdecsys clocks.
120
121config COMMON_CLK_MT2712_VENCSYS
122	tristate "Clock driver for MediaTek MT2712 vencsys"
123	depends on COMMON_CLK_MT2712
124	help
125	  This driver supports MediaTek MT2712 vencsys clocks.
126
127config COMMON_CLK_MT6765
128       bool "Clock driver for MediaTek MT6765"
129       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
130       select COMMON_CLK_MEDIATEK
131       default ARCH_MEDIATEK && ARM64
132       help
133         This driver supports MediaTek MT6765 basic clocks.
134
135config COMMON_CLK_MT6765_AUDIOSYS
136       tristate "Clock driver for MediaTek MT6765 audiosys"
137       depends on COMMON_CLK_MT6765
138       help
139         This driver supports MediaTek MT6765 audiosys clocks.
140
141config COMMON_CLK_MT6765_CAMSYS
142       tristate "Clock driver for MediaTek MT6765 camsys"
143       depends on COMMON_CLK_MT6765
144       help
145         This driver supports MediaTek MT6765 camsys clocks.
146
147config COMMON_CLK_MT6765_GCESYS
148       tristate "Clock driver for MediaTek MT6765 gcesys"
149       depends on COMMON_CLK_MT6765
150       help
151         This driver supports MediaTek MT6765 gcesys clocks.
152
153config COMMON_CLK_MT6765_MMSYS
154       tristate "Clock driver for MediaTek MT6765 mmsys"
155       depends on COMMON_CLK_MT6765
156       help
157         This driver supports MediaTek MT6765 mmsys clocks.
158
159config COMMON_CLK_MT6765_IMGSYS
160       tristate "Clock driver for MediaTek MT6765 imgsys"
161       depends on COMMON_CLK_MT6765
162       help
163         This driver supports MediaTek MT6765 imgsys clocks.
164
165config COMMON_CLK_MT6765_VCODECSYS
166       tristate "Clock driver for MediaTek MT6765 vcodecsys"
167       depends on COMMON_CLK_MT6765
168       help
169         This driver supports MediaTek MT6765 vcodecsys clocks.
170
171config COMMON_CLK_MT6765_MFGSYS
172       tristate "Clock driver for MediaTek MT6765 mfgsys"
173       depends on COMMON_CLK_MT6765
174       help
175         This driver supports MediaTek MT6765 mfgsys clocks.
176
177config COMMON_CLK_MT6765_MIPI0ASYS
178       tristate "Clock driver for MediaTek MT6765 mipi0asys"
179       depends on COMMON_CLK_MT6765
180       help
181         This driver supports MediaTek MT6765 mipi0asys clocks.
182
183config COMMON_CLK_MT6765_MIPI0BSYS
184       tristate "Clock driver for MediaTek MT6765 mipi0bsys"
185       depends on COMMON_CLK_MT6765
186       help
187         This driver supports MediaTek MT6765 mipi0bsys clocks.
188
189config COMMON_CLK_MT6765_MIPI1ASYS
190       tristate "Clock driver for MediaTek MT6765 mipi1asys"
191       depends on COMMON_CLK_MT6765
192       help
193         This driver supports MediaTek MT6765 mipi1asys clocks.
194
195config COMMON_CLK_MT6765_MIPI1BSYS
196       tristate "Clock driver for MediaTek MT6765 mipi1bsys"
197       depends on COMMON_CLK_MT6765
198       help
199         This driver supports MediaTek MT6765 mipi1bsys clocks.
200
201config COMMON_CLK_MT6765_MIPI2ASYS
202       tristate "Clock driver for MediaTek MT6765 mipi2asys"
203       depends on COMMON_CLK_MT6765
204      help
205         This driver supports MediaTek MT6765 mipi2asys clocks.
206
207config COMMON_CLK_MT6765_MIPI2BSYS
208       tristate "Clock driver for MediaTek MT6765 mipi2bsys"
209       depends on COMMON_CLK_MT6765
210       help
211         This driver supports MediaTek MT6765 mipi2bsys clocks.
212
213config COMMON_CLK_MT6779
214	tristate "Clock driver for MediaTek MT6779"
215	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
216	select COMMON_CLK_MEDIATEK
217	default ARCH_MEDIATEK && ARM64
218	help
219	  This driver supports MediaTek MT6779 basic clocks.
220
221config COMMON_CLK_MT6779_MMSYS
222	tristate "Clock driver for MediaTek MT6779 mmsys"
223	depends on COMMON_CLK_MT6779
224	help
225	  This driver supports MediaTek MT6779 mmsys clocks.
226
227config COMMON_CLK_MT6779_IMGSYS
228	tristate "Clock driver for MediaTek MT6779 imgsys"
229	depends on COMMON_CLK_MT6779
230	help
231	  This driver supports MediaTek MT6779 imgsys clocks.
232
233config COMMON_CLK_MT6779_IPESYS
234	tristate "Clock driver for MediaTek MT6779 ipesys"
235	depends on COMMON_CLK_MT6779
236	help
237	  This driver supports MediaTek MT6779 ipesys clocks.
238
239config COMMON_CLK_MT6779_CAMSYS
240	tristate "Clock driver for MediaTek MT6779 camsys"
241	depends on COMMON_CLK_MT6779
242	help
243	  This driver supports MediaTek MT6779 camsys clocks.
244
245config COMMON_CLK_MT6779_VDECSYS
246	tristate "Clock driver for MediaTek MT6779 vdecsys"
247	depends on COMMON_CLK_MT6779
248	help
249	  This driver supports MediaTek MT6779 vdecsys clocks.
250
251config COMMON_CLK_MT6779_VENCSYS
252	tristate "Clock driver for MediaTek MT6779 vencsys"
253	depends on COMMON_CLK_MT6779
254	help
255	  This driver supports MediaTek MT6779 vencsys clocks.
256
257config COMMON_CLK_MT6779_MFGCFG
258	tristate "Clock driver for MediaTek MT6779 mfgcfg"
259	depends on COMMON_CLK_MT6779
260	help
261	  This driver supports MediaTek MT6779 mfgcfg clocks.
262
263config COMMON_CLK_MT6779_AUDSYS
264	tristate "Clock driver for Mediatek MT6779 audsys"
265	depends on COMMON_CLK_MT6779
266	help
267	  This driver supports Mediatek MT6779 audsys clocks.
268
269config COMMON_CLK_MT6795
270	tristate "Clock driver for MediaTek MT6795"
271	depends on ARCH_MEDIATEK || COMPILE_TEST
272	select COMMON_CLK_MEDIATEK
273	select COMMON_CLK_MEDIATEK_FHCTL
274	default ARCH_MEDIATEK
275	help
276	  This driver supports MediaTek MT6795 basic clocks and clocks
277	  required for various peripherals found on MediaTek.
278
279config COMMON_CLK_MT6795_MFGCFG
280	tristate "Clock driver for MediaTek MT6795 mfgcfg"
281	depends on COMMON_CLK_MT6795
282	default COMMON_CLK_MT6795
283	help
284	  This driver supports MediaTek MT6795 mfgcfg clocks.
285
286config COMMON_CLK_MT6795_MMSYS
287       tristate "Clock driver for MediaTek MT6795 mmsys"
288       depends on COMMON_CLK_MT6795
289	default COMMON_CLK_MT6795
290       help
291         This driver supports MediaTek MT6795 mmsys clocks.
292
293config COMMON_CLK_MT6795_VDECSYS
294	tristate "Clock driver for MediaTek MT6795 VDECSYS"
295	depends on COMMON_CLK_MT6795
296	default COMMON_CLK_MT6795
297	help
298	  This driver supports MediaTek MT6795 vdecsys clocks.
299
300config COMMON_CLK_MT6795_VENCSYS
301	tristate "Clock driver for MediaTek MT6795 VENCSYS"
302	depends on COMMON_CLK_MT6795
303	default COMMON_CLK_MT6795
304	help
305	  This driver supports MediaTek MT6795 vencsys clocks.
306
307config COMMON_CLK_MT6797
308	bool "Clock driver for MediaTek MT6797"
309	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
310	select COMMON_CLK_MEDIATEK
311	default ARCH_MEDIATEK && ARM64
312	help
313	  This driver supports MediaTek MT6797 basic clocks.
314
315config COMMON_CLK_MT6797_MMSYS
316	tristate "Clock driver for MediaTek MT6797 mmsys"
317	depends on COMMON_CLK_MT6797
318	help
319	  This driver supports MediaTek MT6797 mmsys clocks.
320
321config COMMON_CLK_MT6797_IMGSYS
322	tristate "Clock driver for MediaTek MT6797 imgsys"
323	depends on COMMON_CLK_MT6797
324	help
325	  This driver supports MediaTek MT6797 imgsys clocks.
326
327config COMMON_CLK_MT6797_VDECSYS
328	tristate "Clock driver for MediaTek MT6797 vdecsys"
329	depends on COMMON_CLK_MT6797
330	help
331	  This driver supports MediaTek MT6797 vdecsys clocks.
332
333config COMMON_CLK_MT6797_VENCSYS
334	tristate "Clock driver for MediaTek MT6797 vencsys"
335	depends on COMMON_CLK_MT6797
336	help
337	  This driver supports MediaTek MT6797 vencsys clocks.
338
339config COMMON_CLK_MT7622
340	tristate "Clock driver for MediaTek MT7622"
341	depends on ARCH_MEDIATEK || COMPILE_TEST
342	select COMMON_CLK_MEDIATEK
343	default ARCH_MEDIATEK
344	help
345	  This driver supports MediaTek MT7622 basic clocks and clocks
346	  required for various periperals found on MediaTek.
347
348config COMMON_CLK_MT7622_ETHSYS
349	tristate "Clock driver for MediaTek MT7622 ETHSYS"
350	depends on COMMON_CLK_MT7622
351	help
352	  This driver add support for clocks for Ethernet and SGMII
353	  required on MediaTek MT7622 SoC.
354
355config COMMON_CLK_MT7622_HIFSYS
356	tristate "Clock driver for MediaTek MT7622 HIFSYS"
357	depends on COMMON_CLK_MT7622
358	help
359	  This driver supports MediaTek MT7622 HIFSYS clocks providing
360	  to PCI-E and USB.
361
362config COMMON_CLK_MT7622_AUDSYS
363	tristate "Clock driver for MediaTek MT7622 AUDSYS"
364	depends on COMMON_CLK_MT7622
365	help
366	  This driver supports MediaTek MT7622 AUDSYS clocks providing
367	  to audio consumers such as I2S and TDM.
368
369config COMMON_CLK_MT7629
370	bool "Clock driver for MediaTek MT7629"
371	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
372	select COMMON_CLK_MEDIATEK
373	default ARCH_MEDIATEK && ARM
374	help
375	  This driver supports MediaTek MT7629 basic clocks and clocks
376	  required for various periperals found on MediaTek.
377
378config COMMON_CLK_MT7629_ETHSYS
379	bool "Clock driver for MediaTek MT7629 ETHSYS"
380	depends on COMMON_CLK_MT7629
381	help
382	  This driver add support for clocks for Ethernet and SGMII
383	  required on MediaTek MT7629 SoC.
384
385config COMMON_CLK_MT7629_HIFSYS
386	bool "Clock driver for MediaTek MT7629 HIFSYS"
387	depends on COMMON_CLK_MT7629
388	help
389	  This driver supports MediaTek MT7629 HIFSYS clocks providing
390	  to PCI-E and USB.
391
392config COMMON_CLK_MT7981
393	bool "Clock driver for MediaTek MT7981"
394	depends on ARCH_MEDIATEK || COMPILE_TEST
395	select COMMON_CLK_MEDIATEK
396	default ARCH_MEDIATEK
397	help
398	  This driver supports MediaTek MT7981 basic clocks and clocks
399	  required for various peripherals found on this SoC.
400
401config COMMON_CLK_MT7981_ETHSYS
402	tristate "Clock driver for MediaTek MT7981 ETHSYS"
403	depends on COMMON_CLK_MT7981
404	default COMMON_CLK_MT7981
405	help
406	  This driver adds support for clocks for Ethernet and SGMII
407	  required on MediaTek MT7981 SoC.
408
409config COMMON_CLK_MT7986
410	tristate "Clock driver for MediaTek MT7986"
411	depends on ARCH_MEDIATEK || COMPILE_TEST
412	select COMMON_CLK_MEDIATEK
413	default ARCH_MEDIATEK
414	help
415	  This driver supports MediaTek MT7986 basic clocks and clocks
416	  required for various peripherals found on MediaTek.
417
418config COMMON_CLK_MT7986_ETHSYS
419	tristate "Clock driver for MediaTek MT7986 ETHSYS"
420	depends on COMMON_CLK_MT7986
421	default COMMON_CLK_MT7986
422	help
423	  This driver adds support for clocks for Ethernet and SGMII
424	  required on MediaTek MT7986 SoC.
425
426config COMMON_CLK_MT7988
427	tristate "Clock driver for MediaTek MT7988"
428	depends on ARCH_MEDIATEK || COMPILE_TEST
429	select COMMON_CLK_MEDIATEK
430	default ARCH_MEDIATEK
431	help
432	  This driver supports MediaTek MT7988 basic clocks and clocks
433	  required for various periperals found on this SoC.
434
435config COMMON_CLK_MT8135
436	tristate "Clock driver for MediaTek MT8135"
437	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
438	select COMMON_CLK_MEDIATEK
439	default ARCH_MEDIATEK && ARM
440	help
441	  This driver supports MediaTek MT8135 clocks.
442
443config COMMON_CLK_MT8167
444	tristate "Clock driver for MediaTek MT8167"
445	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
446	select COMMON_CLK_MEDIATEK
447	default ARCH_MEDIATEK
448	help
449	  This driver supports MediaTek MT8167 basic clocks.
450
451config COMMON_CLK_MT8167_AUDSYS
452	tristate "Clock driver for MediaTek MT8167 audsys"
453	depends on COMMON_CLK_MT8167
454	default COMMON_CLK_MT8167
455	help
456	  This driver supports MediaTek MT8167 audsys clocks.
457
458config COMMON_CLK_MT8167_IMGSYS
459	tristate "Clock driver for MediaTek MT8167 imgsys"
460	depends on COMMON_CLK_MT8167
461	default COMMON_CLK_MT8167
462	help
463	  This driver supports MediaTek MT8167 imgsys clocks.
464
465config COMMON_CLK_MT8167_MFGCFG
466	tristate "Clock driver for MediaTek MT8167 mfgcfg"
467	depends on COMMON_CLK_MT8167
468	default COMMON_CLK_MT8167
469	help
470	  This driver supports MediaTek MT8167 mfgcfg clocks.
471
472config COMMON_CLK_MT8167_MMSYS
473	tristate "Clock driver for MediaTek MT8167 mmsys"
474	depends on COMMON_CLK_MT8167
475	default COMMON_CLK_MT8167
476	help
477	  This driver supports MediaTek MT8167 mmsys clocks.
478
479config COMMON_CLK_MT8167_VDECSYS
480	tristate "Clock driver for MediaTek MT8167 vdecsys"
481	depends on COMMON_CLK_MT8167
482	default COMMON_CLK_MT8167
483	help
484	  This driver supports MediaTek MT8167 vdecsys clocks.
485
486config COMMON_CLK_MT8173
487	tristate "Clock driver for MediaTek MT8173"
488	depends on ARM64 || COMPILE_TEST
489	select COMMON_CLK_MEDIATEK
490	select COMMON_CLK_MEDIATEK_FHCTL
491	default ARCH_MEDIATEK
492	help
493	  This driver supports MediaTek MT8173 basic clocks and clocks
494	  required for various peripherals found on MediaTek.
495
496config COMMON_CLK_MT8173_IMGSYS
497	tristate "Clock driver for MediaTek MT8173 imgsys"
498	depends on COMMON_CLK_MT8173
499	default COMMON_CLK_MT8173
500	help
501	  This driver supports MediaTek MT8173 imgsys clocks.
502
503config COMMON_CLK_MT8173_MMSYS
504       tristate "Clock driver for MediaTek MT8173 mmsys"
505       depends on COMMON_CLK_MT8173
506	default COMMON_CLK_MT8173
507       help
508         This driver supports MediaTek MT8173 mmsys clocks.
509
510config COMMON_CLK_MT8173_VDECSYS
511	tristate "Clock driver for MediaTek MT8173 VDECSYS"
512	depends on COMMON_CLK_MT8173
513	default COMMON_CLK_MT8173
514	help
515	  This driver supports MediaTek MT8173 vdecsys clocks.
516
517config COMMON_CLK_MT8173_VENCSYS
518	tristate "Clock driver for MediaTek MT8173 VENCSYS"
519	depends on COMMON_CLK_MT8173
520	default COMMON_CLK_MT8173
521	help
522	  This driver supports MediaTek MT8173 vencsys clocks.
523
524config COMMON_CLK_MT8183
525	tristate "Clock driver for MediaTek MT8183"
526	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
527	select COMMON_CLK_MEDIATEK
528	default ARCH_MEDIATEK && ARM64
529	help
530	  This driver supports MediaTek MT8183 basic clocks.
531
532config COMMON_CLK_MT8183_AUDIOSYS
533	tristate "Clock driver for MediaTek MT8183 audiosys"
534	depends on COMMON_CLK_MT8183
535	default COMMON_CLK_MT8183
536	help
537	  This driver supports MediaTek MT8183 audiosys clocks.
538
539config COMMON_CLK_MT8183_CAMSYS
540	tristate "Clock driver for MediaTek MT8183 camsys"
541	depends on COMMON_CLK_MT8183
542	default COMMON_CLK_MT8183
543	help
544	  This driver supports MediaTek MT8183 camsys clocks.
545
546config COMMON_CLK_MT8183_IMGSYS
547	tristate "Clock driver for MediaTek MT8183 imgsys"
548	depends on COMMON_CLK_MT8183
549	default COMMON_CLK_MT8183
550	help
551	  This driver supports MediaTek MT8183 imgsys clocks.
552
553config COMMON_CLK_MT8183_IPU_CORE0
554	tristate "Clock driver for MediaTek MT8183 ipu_core0"
555	depends on COMMON_CLK_MT8183
556	default COMMON_CLK_MT8183
557	help
558	  This driver supports MediaTek MT8183 ipu_core0 clocks.
559
560config COMMON_CLK_MT8183_IPU_CORE1
561	tristate "Clock driver for MediaTek MT8183 ipu_core1"
562	depends on COMMON_CLK_MT8183
563	default COMMON_CLK_MT8183
564	help
565	  This driver supports MediaTek MT8183 ipu_core1 clocks.
566
567config COMMON_CLK_MT8183_IPU_ADL
568	tristate "Clock driver for MediaTek MT8183 ipu_adl"
569	depends on COMMON_CLK_MT8183
570	default COMMON_CLK_MT8183
571	help
572	  This driver supports MediaTek MT8183 ipu_adl clocks.
573
574config COMMON_CLK_MT8183_IPU_CONN
575	tristate "Clock driver for MediaTek MT8183 ipu_conn"
576	depends on COMMON_CLK_MT8183
577	default COMMON_CLK_MT8183
578	help
579	  This driver supports MediaTek MT8183 ipu_conn clocks.
580
581config COMMON_CLK_MT8183_MFGCFG
582	tristate "Clock driver for MediaTek MT8183 mfgcfg"
583	depends on COMMON_CLK_MT8183
584	default COMMON_CLK_MT8183
585	help
586	  This driver supports MediaTek MT8183 mfgcfg clocks.
587
588config COMMON_CLK_MT8183_MMSYS
589	tristate "Clock driver for MediaTek MT8183 mmsys"
590	depends on COMMON_CLK_MT8183
591	default COMMON_CLK_MT8183
592	help
593	  This driver supports MediaTek MT8183 mmsys clocks.
594
595config COMMON_CLK_MT8183_VDECSYS
596	tristate "Clock driver for MediaTek MT8183 vdecsys"
597	depends on COMMON_CLK_MT8183
598	default COMMON_CLK_MT8183
599	help
600	  This driver supports MediaTek MT8183 vdecsys clocks.
601
602config COMMON_CLK_MT8183_VENCSYS
603	tristate "Clock driver for MediaTek MT8183 vencsys"
604	depends on COMMON_CLK_MT8183
605	default COMMON_CLK_MT8183
606	help
607	  This driver supports MediaTek MT8183 vencsys clocks.
608
609config COMMON_CLK_MT8186
610	tristate "Clock driver for MediaTek MT8186"
611	depends on ARM64 || COMPILE_TEST
612	select COMMON_CLK_MEDIATEK
613	select COMMON_CLK_MEDIATEK_FHCTL
614	default ARCH_MEDIATEK
615	help
616	  This driver supports MediaTek MT8186 clocks.
617
618config COMMON_CLK_MT8186_CAMSYS
619	tristate "Clock driver for MediaTek MT8186 camsys"
620	depends on COMMON_CLK_MT8186
621	default COMMON_CLK_MT8186
622	help
623	  This driver supports MediaTek MT8186 camsys and camsys_raw clocks.
624
625config COMMON_CLK_MT8186_IMGSYS
626	tristate "Clock driver for MediaTek MT8186 imgsys"
627	depends on COMMON_CLK_MT8186
628	default COMMON_CLK_MT8186
629	help
630	  This driver supports MediaTek MT8186 imgsys and imgsys2 clocks.
631
632config COMMON_CLK_MT8186_IPESYS
633	tristate "Clock driver for MediaTek MT8186 ipesys"
634	depends on COMMON_CLK_MT8186_IMGSYS
635	default COMMON_CLK_MT8186_IMGSYS
636	help
637	  This driver supports MediaTek MT8186 ipesys clocks.
638
639config COMMON_CLK_MT8186_WPESYS
640	tristate "Clock driver for MediaTek MT8186 wpesys"
641	depends on COMMON_CLK_MT8186_IMGSYS
642	default COMMON_CLK_MT8186_IMGSYS
643	help
644	  This driver supports MediaTek MT8186 Warp Engine clocks.
645
646config COMMON_CLK_MT8186_IMP_IIC_WRAP
647	tristate "Clock driver for MediaTek MT8186 imp_iic_wrap"
648	depends on COMMON_CLK_MT8186
649	default COMMON_CLK_MT8186
650	help
651	  This driver supports MediaTek MT8186 imp_iic_wrap clocks.
652
653config COMMON_CLK_MT8186_MCUSYS
654	tristate "Clock driver for MediaTek MT8186 mcusys"
655	depends on COMMON_CLK_MT8186
656	default COMMON_CLK_MT8186
657	help
658	  This driver supports MediaTek MT8186 mcusys clocks.
659
660config COMMON_CLK_MT8186_MDPSYS
661	tristate "Clock driver for MediaTek MT8186 mdpsys"
662	depends on COMMON_CLK_MT8186
663	default COMMON_CLK_MT8186
664	help
665	  This driver supports MediaTek MT8186 mdpsys clocks.
666
667config COMMON_CLK_MT8186_MFGCFG
668	tristate "Clock driver for MediaTek MT8186 mfgcfg"
669	depends on COMMON_CLK_MT8186
670	default COMMON_CLK_MT8186
671	help
672	  This driver supports MediaTek MT8186 mfgcfg clocks.
673
674config COMMON_CLK_MT8186_MMSYS
675	tristate "Clock driver for MediaTek MT8186 mmsys"
676	depends on COMMON_CLK_MT8186
677	default COMMON_CLK_MT8186
678	help
679	  This driver supports MediaTek MT8186 mmsys clocks.
680
681config COMMON_CLK_MT8186_VDECSYS
682	tristate "Clock driver for MediaTek MT8186 vdecsys"
683	depends on COMMON_CLK_MT8186
684	default COMMON_CLK_MT8186
685	help
686	  This driver supports MediaTek MT8186 vdecsys and vdecsys_soc clocks.
687
688config COMMON_CLK_MT8186_VENCSYS
689	tristate "Clock driver for MediaTek MT8186 vencsys"
690	depends on COMMON_CLK_MT8186
691	default COMMON_CLK_MT8186
692	help
693	  This driver supports MediaTek MT8186 vencsys clocks.
694
695config COMMON_CLK_MT8188
696	tristate "Clock driver for MediaTek MT8188"
697	depends on ARM64 || COMPILE_TEST
698	select COMMON_CLK_MEDIATEK
699	select COMMON_CLK_MEDIATEK_FHCTL
700	default ARCH_MEDIATEK
701	help
702          This driver supports MediaTek MT8188 clocks.
703
704config COMMON_CLK_MT8188_ADSP_AUDIO26M
705	tristate "Clock driver for MediaTek MT8188 adsp audio26m"
706	depends on COMMON_CLK_MT8188
707	default COMMON_CLK_MT8188
708	help
709	  This driver supports MediaTek MT8188 adsp audio26m clocks.
710
711config COMMON_CLK_MT8188_CAMSYS
712	tristate "Clock driver for MediaTek MT8188 camsys"
713	depends on COMMON_CLK_MT8188_VPPSYS
714	default COMMON_CLK_MT8188_VPPSYS
715	help
716	  This driver supports MediaTek MT8188 camsys and camsys_raw clocks.
717
718config COMMON_CLK_MT8188_IMGSYS
719	tristate "Clock driver for MediaTek MT8188 imgsys"
720	depends on COMMON_CLK_MT8188_VPPSYS
721	default COMMON_CLK_MT8188_VPPSYS
722	help
723	  This driver supports MediaTek MT8188 imgsys and imgsys2 clocks.
724
725config COMMON_CLK_MT8188_IMP_IIC_WRAP
726	tristate "Clock driver for MediaTek MT8188 imp_iic_wrap"
727	depends on COMMON_CLK_MT8188
728	default COMMON_CLK_MT8188
729	help
730	  This driver supports MediaTek MT8188 I2C/I3C clocks.
731
732config COMMON_CLK_MT8188_IPESYS
733	tristate "Clock driver for MediaTek MT8188 ipesys"
734	depends on COMMON_CLK_MT8188_IMGSYS
735	default COMMON_CLK_MT8188_IMGSYS
736	help
737	  This driver supports MediaTek MT8188 ipesys clocks.
738
739config COMMON_CLK_MT8188_MFGCFG
740	tristate "Clock driver for MediaTek MT8188 mfgcfg"
741	depends on COMMON_CLK_MT8188
742	default COMMON_CLK_MT8188
743	help
744	  This driver supports MediaTek MT8188 mfgcfg clocks.
745
746config COMMON_CLK_MT8188_VDECSYS
747	tristate "Clock driver for MediaTek MT8188 vdecsys"
748	depends on COMMON_CLK_MT8188_VPPSYS
749	default COMMON_CLK_MT8188_VPPSYS
750	help
751	  This driver supports MediaTek MT8188 vdecsys and vdecsys_soc clocks.
752
753config COMMON_CLK_MT8188_VDOSYS
754	tristate "Clock driver for MediaTek MT8188 vdosys"
755	depends on COMMON_CLK_MT8188
756	default COMMON_CLK_MT8188
757	help
758	  This driver supports MediaTek MT8188 vdosys0/1 (multimedia) clocks.
759
760config COMMON_CLK_MT8188_VENCSYS
761	tristate "Clock driver for MediaTek MT8188 vencsys"
762	depends on COMMON_CLK_MT8188_VPPSYS
763	default COMMON_CLK_MT8188_VPPSYS
764	help
765	  This driver supports MediaTek MT8188 vencsys clocks.
766
767config COMMON_CLK_MT8188_VPPSYS
768	tristate "Clock driver for MediaTek MT8188 vppsys"
769	depends on COMMON_CLK_MT8188
770	default COMMON_CLK_MT8188
771	help
772	  This driver supports MediaTek MT8188 vppsys0/1 clocks.
773
774config COMMON_CLK_MT8188_WPESYS
775	tristate "Clock driver for MediaTek MT8188 wpesys"
776	depends on COMMON_CLK_MT8188_IMGSYS
777	default COMMON_CLK_MT8188_IMGSYS
778	help
779	  This driver supports MediaTek MT8188 Warp Engine clocks.
780
781config COMMON_CLK_MT8192
782	tristate "Clock driver for MediaTek MT8192"
783	depends on ARM64 || COMPILE_TEST
784	select COMMON_CLK_MEDIATEK
785	select COMMON_CLK_MEDIATEK_FHCTL
786	default ARM64
787	help
788	  This driver supports MediaTek MT8192 basic clocks.
789
790config COMMON_CLK_MT8192_AUDSYS
791	tristate "Clock driver for MediaTek MT8192 audsys"
792	depends on COMMON_CLK_MT8192
793	default COMMON_CLK_MT8192
794	help
795	  This driver supports MediaTek MT8192 audsys clocks.
796
797config COMMON_CLK_MT8192_CAMSYS
798	tristate "Clock driver for MediaTek MT8192 camsys"
799	depends on COMMON_CLK_MT8192
800	default COMMON_CLK_MT8192
801	help
802	  This driver supports MediaTek MT8192 camsys and camsys_raw clocks.
803
804config COMMON_CLK_MT8192_IMGSYS
805	tristate "Clock driver for MediaTek MT8192 imgsys"
806	depends on COMMON_CLK_MT8192
807	default COMMON_CLK_MT8192
808	help
809	  This driver supports MediaTek MT8192 imgsys and imgsys2 clocks.
810
811config COMMON_CLK_MT8192_IMP_IIC_WRAP
812	tristate "Clock driver for MediaTek MT8192 imp_iic_wrap"
813	depends on COMMON_CLK_MT8192
814	default COMMON_CLK_MT8192
815	help
816	  This driver supports MediaTek MT8192 imp_iic_wrap clocks.
817
818config COMMON_CLK_MT8192_IPESYS
819	tristate "Clock driver for MediaTek MT8192 ipesys"
820	depends on COMMON_CLK_MT8192
821	default COMMON_CLK_MT8192
822	help
823	  This driver supports MediaTek MT8192 ipesys clocks.
824
825config COMMON_CLK_MT8192_MDPSYS
826	tristate "Clock driver for MediaTek MT8192 mdpsys"
827	depends on COMMON_CLK_MT8192
828	default COMMON_CLK_MT8192
829	help
830	  This driver supports MediaTek MT8192 mdpsys clocks.
831
832config COMMON_CLK_MT8192_MFGCFG
833	tristate "Clock driver for MediaTek MT8192 mfgcfg"
834	depends on COMMON_CLK_MT8192
835	default COMMON_CLK_MT8192
836	help
837	  This driver supports MediaTek MT8192 mfgcfg clocks.
838
839config COMMON_CLK_MT8192_MMSYS
840	tristate "Clock driver for MediaTek MT8192 mmsys"
841	depends on COMMON_CLK_MT8192
842	default COMMON_CLK_MT8192
843	help
844	  This driver supports MediaTek MT8192 mmsys clocks.
845
846config COMMON_CLK_MT8192_MSDC
847	tristate "Clock driver for MediaTek MT8192 msdc"
848	depends on COMMON_CLK_MT8192
849	default COMMON_CLK_MT8192
850	help
851	  This driver supports MediaTek MT8192 msdc and msdc_top clocks.
852
853config COMMON_CLK_MT8192_SCP_ADSP
854	tristate "Clock driver for MediaTek MT8192 scp_adsp"
855	depends on COMMON_CLK_MT8192
856	default COMMON_CLK_MT8192
857	help
858	  This driver supports MediaTek MT8192 scp_adsp clocks.
859
860config COMMON_CLK_MT8192_VDECSYS
861	tristate "Clock driver for MediaTek MT8192 vdecsys"
862	depends on COMMON_CLK_MT8192
863	default COMMON_CLK_MT8192
864	help
865	  This driver supports MediaTek MT8192 vdecsys and vdecsys_soc clocks.
866
867config COMMON_CLK_MT8192_VENCSYS
868	tristate "Clock driver for MediaTek MT8192 vencsys"
869	depends on COMMON_CLK_MT8192
870	default COMMON_CLK_MT8192
871	help
872	  This driver supports MediaTek MT8192 vencsys clocks.
873
874config COMMON_CLK_MT8195
875        bool "Clock driver for MediaTek MT8195"
876        depends on ARM64 || COMPILE_TEST
877        select COMMON_CLK_MEDIATEK
878	select COMMON_CLK_MEDIATEK_FHCTL
879        default ARCH_MEDIATEK
880        help
881          This driver supports MediaTek MT8195 clocks.
882
883config COMMON_CLK_MT8195_APUSYS
884	tristate "Clock driver for MediaTek MT8195 apusys"
885	depends on COMMON_CLK_MT8195
886	default COMMON_CLK_MT8195
887	help
888	  This driver supports MediaTek MT8195 AI Processor Unit System clocks.
889
890config COMMON_CLK_MT8195_AUDSYS
891	tristate "Clock driver for MediaTek MT8195 audsys"
892	depends on COMMON_CLK_MT8195
893	default COMMON_CLK_MT8195
894	help
895	  This driver supports MediaTek MT8195 audsys clocks.
896
897config COMMON_CLK_MT8195_IMP_IIC_WRAP
898	tristate "Clock driver for MediaTek MT8195 imp_iic_wrap"
899	depends on COMMON_CLK_MT8195
900	default COMMON_CLK_MT8195
901	help
902	  This driver supports MediaTek MT8195 I2C/I3C clocks.
903
904config COMMON_CLK_MT8195_MFGCFG
905	tristate "Clock driver for MediaTek MT8195 mfgcfg"
906	depends on COMMON_CLK_MT8195
907	default COMMON_CLK_MT8195
908	help
909	  This driver supports MediaTek MT8195 mfgcfg clocks.
910
911config COMMON_CLK_MT8195_MSDC
912	tristate "Clock driver for MediaTek MT8195 msdc"
913	depends on COMMON_CLK_MT8195
914	default COMMON_CLK_MT8195
915	help
916	  This driver supports MediaTek MT8195 MMC and SD Controller's
917	  msdc and msdc_top clocks.
918
919config COMMON_CLK_MT8195_SCP_ADSP
920	tristate "Clock driver for MediaTek MT8195 scp_adsp"
921	depends on COMMON_CLK_MT8195
922	default COMMON_CLK_MT8195
923	help
924	  This driver supports MediaTek MT8195 System Companion Processor
925	  Audio DSP clocks.
926
927config COMMON_CLK_MT8195_VDOSYS
928	tristate "Clock driver for MediaTek MT8195 vdosys"
929	depends on COMMON_CLK_MT8195
930	default COMMON_CLK_MT8195
931	help
932	  This driver supports MediaTek MT8195 vdosys0/1 (multimedia) clocks.
933
934config COMMON_CLK_MT8195_VPPSYS
935	tristate "Clock driver for MediaTek MT8195 vppsys"
936	depends on COMMON_CLK_MT8195
937	default COMMON_CLK_MT8195
938	help
939	  This driver supports MediaTek MT8195 vppsys0/1 clocks.
940
941config COMMON_CLK_MT8195_CAMSYS
942	tristate "Clock driver for MediaTek MT8195 camsys"
943	depends on COMMON_CLK_MT8195_VPPSYS
944	default COMMON_CLK_MT8195_VPPSYS
945	help
946	  This driver supports MediaTek MT8195 camsys and camsys_raw clocks.
947
948config COMMON_CLK_MT8195_IMGSYS
949	tristate "Clock driver for MediaTek MT8195 imgsys"
950	depends on COMMON_CLK_MT8195_VPPSYS
951	default COMMON_CLK_MT8195_VPPSYS
952	help
953	  This driver supports MediaTek MT8195 imgsys and imgsys2 clocks.
954
955config COMMON_CLK_MT8195_IPESYS
956	tristate "Clock driver for MediaTek MT8195 ipesys"
957	depends on COMMON_CLK_MT8195_IMGSYS
958	default COMMON_CLK_MT8195_IMGSYS
959	help
960	  This driver supports MediaTek MT8195 ipesys clocks.
961
962config COMMON_CLK_MT8195_WPESYS
963	tristate "Clock driver for MediaTek MT8195 wpesys"
964	depends on COMMON_CLK_MT8195_IMGSYS
965	default COMMON_CLK_MT8195_IMGSYS
966	help
967	  This driver supports MediaTek MT8195 Warp Engine clocks.
968
969config COMMON_CLK_MT8195_VDECSYS
970	tristate "Clock driver for MediaTek MT8195 vdecsys"
971	depends on COMMON_CLK_MT8195_VPPSYS
972	default COMMON_CLK_MT8195_VPPSYS
973	help
974	  This driver supports MediaTek MT8195 vdecsys and vdecsys_soc clocks.
975
976config COMMON_CLK_MT8195_VENCSYS
977	tristate "Clock driver for MediaTek MT8195 vencsys"
978	depends on COMMON_CLK_MT8195_VPPSYS
979	default COMMON_CLK_MT8195_VPPSYS
980	help
981	  This driver supports MediaTek MT8195 vencsys clocks.
982
983config COMMON_CLK_MT8365
984	tristate "Clock driver for MediaTek MT8365"
985	depends on ARCH_MEDIATEK || COMPILE_TEST
986	select COMMON_CLK_MEDIATEK
987	default ARCH_MEDIATEK && ARM64
988	help
989	  This driver supports MediaTek MT8365 basic clocks.
990
991config COMMON_CLK_MT8365_APU
992	tristate "Clock driver for MediaTek MT8365 apu"
993	depends on COMMON_CLK_MT8365
994	default COMMON_CLK_MT8365
995	help
996	  This driver supports MediaTek MT8365 apu clocks.
997
998config COMMON_CLK_MT8365_CAM
999	tristate "Clock driver for MediaTek MT8365 cam"
1000	depends on COMMON_CLK_MT8365
1001	default COMMON_CLK_MT8365
1002	help
1003	  This driver supports MediaTek MT8365 cam clocks.
1004
1005config COMMON_CLK_MT8365_MFG
1006	tristate "Clock driver for MediaTek MT8365 mfg"
1007	depends on COMMON_CLK_MT8365
1008	default COMMON_CLK_MT8365
1009	help
1010	  This driver supports MediaTek MT8365 mfg clocks.
1011
1012config COMMON_CLK_MT8365_MMSYS
1013	tristate "Clock driver for MediaTek MT8365 mmsys"
1014	depends on COMMON_CLK_MT8365
1015	default COMMON_CLK_MT8365
1016	help
1017	  This driver supports MediaTek MT8365 mmsys clocks.
1018
1019config COMMON_CLK_MT8365_VDEC
1020	tristate "Clock driver for MediaTek MT8365 vdec"
1021	depends on COMMON_CLK_MT8365
1022	default COMMON_CLK_MT8365
1023	help
1024	  This driver supports MediaTek MT8365 vdec clocks.
1025
1026config COMMON_CLK_MT8365_VENC
1027	tristate "Clock driver for MediaTek MT8365 venc"
1028	depends on COMMON_CLK_MT8365
1029	default COMMON_CLK_MT8365
1030	help
1031	  This driver supports MediaTek MT8365 venc clocks.
1032
1033config COMMON_CLK_MT8516
1034	tristate "Clock driver for MediaTek MT8516"
1035	depends on ARCH_MEDIATEK || COMPILE_TEST
1036	select COMMON_CLK_MEDIATEK
1037	default ARCH_MEDIATEK
1038	help
1039	  This driver supports MediaTek MT8516 clocks.
1040
1041config COMMON_CLK_MT8516_AUDSYS
1042	tristate "Clock driver for MediaTek MT8516 audsys"
1043	depends on COMMON_CLK_MT8516
1044	help
1045	  This driver supports MediaTek MT8516 audsys clocks.
1046
1047endmenu
1048