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	bool "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	bool "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	bool "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	bool "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	bool "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	bool "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	bool "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	bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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       bool "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	default ARCH_MEDIATEK
274	help
275	  This driver supports MediaTek MT6795 basic clocks and clocks
276	  required for various peripherals found on MediaTek.
277
278config COMMON_CLK_MT6795_MFGCFG
279	tristate "Clock driver for MediaTek MT6795 mfgcfg"
280	depends on COMMON_CLK_MT6795
281	default COMMON_CLK_MT6795
282	help
283	  This driver supports MediaTek MT6795 mfgcfg clocks.
284
285config COMMON_CLK_MT6795_MMSYS
286       tristate "Clock driver for MediaTek MT6795 mmsys"
287       depends on COMMON_CLK_MT6795
288	default COMMON_CLK_MT6795
289       help
290         This driver supports MediaTek MT6795 mmsys clocks.
291
292config COMMON_CLK_MT6795_VDECSYS
293	tristate "Clock driver for MediaTek MT6795 VDECSYS"
294	depends on COMMON_CLK_MT6795
295	default COMMON_CLK_MT6795
296	help
297	  This driver supports MediaTek MT6795 vdecsys clocks.
298
299config COMMON_CLK_MT6795_VENCSYS
300	tristate "Clock driver for MediaTek MT6795 VENCSYS"
301	depends on COMMON_CLK_MT6795
302	default COMMON_CLK_MT6795
303	help
304	  This driver supports MediaTek MT6795 vencsys clocks.
305
306config COMMON_CLK_MT6797
307	bool "Clock driver for MediaTek MT6797"
308	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
309	select COMMON_CLK_MEDIATEK
310	default ARCH_MEDIATEK && ARM64
311	help
312	  This driver supports MediaTek MT6797 basic clocks.
313
314config COMMON_CLK_MT6797_MMSYS
315	bool "Clock driver for MediaTek MT6797 mmsys"
316	depends on COMMON_CLK_MT6797
317	help
318	  This driver supports MediaTek MT6797 mmsys clocks.
319
320config COMMON_CLK_MT6797_IMGSYS
321	bool "Clock driver for MediaTek MT6797 imgsys"
322	depends on COMMON_CLK_MT6797
323	help
324	  This driver supports MediaTek MT6797 imgsys clocks.
325
326config COMMON_CLK_MT6797_VDECSYS
327	bool "Clock driver for MediaTek MT6797 vdecsys"
328	depends on COMMON_CLK_MT6797
329	help
330	  This driver supports MediaTek MT6797 vdecsys clocks.
331
332config COMMON_CLK_MT6797_VENCSYS
333	bool "Clock driver for MediaTek MT6797 vencsys"
334	depends on COMMON_CLK_MT6797
335	help
336	  This driver supports MediaTek MT6797 vencsys clocks.
337
338config COMMON_CLK_MT7622
339	bool "Clock driver for MediaTek MT7622"
340	depends on ARCH_MEDIATEK || COMPILE_TEST
341	select COMMON_CLK_MEDIATEK
342	default ARCH_MEDIATEK
343	help
344	  This driver supports MediaTek MT7622 basic clocks and clocks
345	  required for various periperals found on MediaTek.
346
347config COMMON_CLK_MT7622_ETHSYS
348	bool "Clock driver for MediaTek MT7622 ETHSYS"
349	depends on COMMON_CLK_MT7622
350	help
351	  This driver add support for clocks for Ethernet and SGMII
352	  required on MediaTek MT7622 SoC.
353
354config COMMON_CLK_MT7622_HIFSYS
355	bool "Clock driver for MediaTek MT7622 HIFSYS"
356	depends on COMMON_CLK_MT7622
357	help
358	  This driver supports MediaTek MT7622 HIFSYS clocks providing
359	  to PCI-E and USB.
360
361config COMMON_CLK_MT7622_AUDSYS
362	bool "Clock driver for MediaTek MT7622 AUDSYS"
363	depends on COMMON_CLK_MT7622
364	help
365	  This driver supports MediaTek MT7622 AUDSYS clocks providing
366	  to audio consumers such as I2S and TDM.
367
368config COMMON_CLK_MT7629
369	bool "Clock driver for MediaTek MT7629"
370	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
371	select COMMON_CLK_MEDIATEK
372	default ARCH_MEDIATEK && ARM
373	help
374	  This driver supports MediaTek MT7629 basic clocks and clocks
375	  required for various periperals found on MediaTek.
376
377config COMMON_CLK_MT7629_ETHSYS
378	bool "Clock driver for MediaTek MT7629 ETHSYS"
379	depends on COMMON_CLK_MT7629
380	help
381	  This driver add support for clocks for Ethernet and SGMII
382	  required on MediaTek MT7629 SoC.
383
384config COMMON_CLK_MT7629_HIFSYS
385	bool "Clock driver for MediaTek MT7629 HIFSYS"
386	depends on COMMON_CLK_MT7629
387	help
388	  This driver supports MediaTek MT7629 HIFSYS clocks providing
389	  to PCI-E and USB.
390
391config COMMON_CLK_MT7981
392	bool "Clock driver for MediaTek MT7981"
393	depends on ARCH_MEDIATEK || COMPILE_TEST
394	select COMMON_CLK_MEDIATEK
395	default ARCH_MEDIATEK
396	help
397	  This driver supports MediaTek MT7981 basic clocks and clocks
398	  required for various peripherals found on this SoC.
399
400config COMMON_CLK_MT7981_ETHSYS
401	tristate "Clock driver for MediaTek MT7981 ETHSYS"
402	depends on COMMON_CLK_MT7981
403	default COMMON_CLK_MT7981
404	help
405	  This driver adds support for clocks for Ethernet and SGMII
406	  required on MediaTek MT7981 SoC.
407
408config COMMON_CLK_MT7986
409	bool "Clock driver for MediaTek MT7986"
410	depends on ARCH_MEDIATEK || COMPILE_TEST
411	select COMMON_CLK_MEDIATEK
412	default ARCH_MEDIATEK
413	help
414	  This driver supports MediaTek MT7986 basic clocks and clocks
415	  required for various peripherals found on MediaTek.
416
417config COMMON_CLK_MT7986_ETHSYS
418	bool "Clock driver for MediaTek MT7986 ETHSYS"
419	depends on COMMON_CLK_MT7986
420	default COMMON_CLK_MT7986
421	help
422	  This driver adds support for clocks for Ethernet and SGMII
423	  required on MediaTek MT7986 SoC.
424
425config COMMON_CLK_MT8135
426	bool "Clock driver for MediaTek MT8135"
427	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
428	select COMMON_CLK_MEDIATEK
429	default ARCH_MEDIATEK && ARM
430	help
431	  This driver supports MediaTek MT8135 clocks.
432
433config COMMON_CLK_MT8167
434	bool "Clock driver for MediaTek MT8167"
435	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
436	select COMMON_CLK_MEDIATEK
437	default ARCH_MEDIATEK
438	help
439	  This driver supports MediaTek MT8167 basic clocks.
440
441config COMMON_CLK_MT8167_AUDSYS
442	bool "Clock driver for MediaTek MT8167 audsys"
443	depends on COMMON_CLK_MT8167
444	default COMMON_CLK_MT8167
445	help
446	  This driver supports MediaTek MT8167 audsys clocks.
447
448config COMMON_CLK_MT8167_IMGSYS
449	bool "Clock driver for MediaTek MT8167 imgsys"
450	depends on COMMON_CLK_MT8167
451	default COMMON_CLK_MT8167
452	help
453	  This driver supports MediaTek MT8167 imgsys clocks.
454
455config COMMON_CLK_MT8167_MFGCFG
456	bool "Clock driver for MediaTek MT8167 mfgcfg"
457	depends on COMMON_CLK_MT8167
458	default COMMON_CLK_MT8167
459	help
460	  This driver supports MediaTek MT8167 mfgcfg clocks.
461
462config COMMON_CLK_MT8167_MMSYS
463	bool "Clock driver for MediaTek MT8167 mmsys"
464	depends on COMMON_CLK_MT8167
465	default COMMON_CLK_MT8167
466	help
467	  This driver supports MediaTek MT8167 mmsys clocks.
468
469config COMMON_CLK_MT8167_VDECSYS
470	bool "Clock driver for MediaTek MT8167 vdecsys"
471	depends on COMMON_CLK_MT8167
472	default COMMON_CLK_MT8167
473	help
474	  This driver supports MediaTek MT8167 vdecsys clocks.
475
476config COMMON_CLK_MT8173
477	tristate "Clock driver for MediaTek MT8173"
478	depends on ARM64 || COMPILE_TEST
479	select COMMON_CLK_MEDIATEK
480	default ARCH_MEDIATEK
481	help
482	  This driver supports MediaTek MT8173 basic clocks and clocks
483	  required for various peripherals found on MediaTek.
484
485config COMMON_CLK_MT8173_IMGSYS
486	tristate "Clock driver for MediaTek MT8173 imgsys"
487	depends on COMMON_CLK_MT8173
488	default COMMON_CLK_MT8173
489	help
490	  This driver supports MediaTek MT8173 imgsys clocks.
491
492config COMMON_CLK_MT8173_MMSYS
493       tristate "Clock driver for MediaTek MT8173 mmsys"
494       depends on COMMON_CLK_MT8173
495	default COMMON_CLK_MT8173
496       help
497         This driver supports MediaTek MT8173 mmsys clocks.
498
499config COMMON_CLK_MT8173_VDECSYS
500	tristate "Clock driver for MediaTek MT8173 VDECSYS"
501	depends on COMMON_CLK_MT8173
502	default COMMON_CLK_MT8173
503	help
504	  This driver supports MediaTek MT8173 vdecsys clocks.
505
506config COMMON_CLK_MT8173_VENCSYS
507	tristate "Clock driver for MediaTek MT8173 VENCSYS"
508	depends on COMMON_CLK_MT8173
509	default COMMON_CLK_MT8173
510	help
511	  This driver supports MediaTek MT8173 vencsys clocks.
512
513config COMMON_CLK_MT8183
514	bool "Clock driver for MediaTek MT8183"
515	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
516	select COMMON_CLK_MEDIATEK
517	default ARCH_MEDIATEK && ARM64
518	help
519	  This driver supports MediaTek MT8183 basic clocks.
520
521config COMMON_CLK_MT8183_AUDIOSYS
522	bool "Clock driver for MediaTek MT8183 audiosys"
523	depends on COMMON_CLK_MT8183
524	default COMMON_CLK_MT8183
525	help
526	  This driver supports MediaTek MT8183 audiosys clocks.
527
528config COMMON_CLK_MT8183_CAMSYS
529	bool "Clock driver for MediaTek MT8183 camsys"
530	depends on COMMON_CLK_MT8183
531	default COMMON_CLK_MT8183
532	help
533	  This driver supports MediaTek MT8183 camsys clocks.
534
535config COMMON_CLK_MT8183_IMGSYS
536	bool "Clock driver for MediaTek MT8183 imgsys"
537	depends on COMMON_CLK_MT8183
538	default COMMON_CLK_MT8183
539	help
540	  This driver supports MediaTek MT8183 imgsys clocks.
541
542config COMMON_CLK_MT8183_IPU_CORE0
543	bool "Clock driver for MediaTek MT8183 ipu_core0"
544	depends on COMMON_CLK_MT8183
545	default COMMON_CLK_MT8183
546	help
547	  This driver supports MediaTek MT8183 ipu_core0 clocks.
548
549config COMMON_CLK_MT8183_IPU_CORE1
550	bool "Clock driver for MediaTek MT8183 ipu_core1"
551	depends on COMMON_CLK_MT8183
552	default COMMON_CLK_MT8183
553	help
554	  This driver supports MediaTek MT8183 ipu_core1 clocks.
555
556config COMMON_CLK_MT8183_IPU_ADL
557	bool "Clock driver for MediaTek MT8183 ipu_adl"
558	depends on COMMON_CLK_MT8183
559	default COMMON_CLK_MT8183
560	help
561	  This driver supports MediaTek MT8183 ipu_adl clocks.
562
563config COMMON_CLK_MT8183_IPU_CONN
564	bool "Clock driver for MediaTek MT8183 ipu_conn"
565	depends on COMMON_CLK_MT8183
566	default COMMON_CLK_MT8183
567	help
568	  This driver supports MediaTek MT8183 ipu_conn clocks.
569
570config COMMON_CLK_MT8183_MFGCFG
571	bool "Clock driver for MediaTek MT8183 mfgcfg"
572	depends on COMMON_CLK_MT8183
573	default COMMON_CLK_MT8183
574	help
575	  This driver supports MediaTek MT8183 mfgcfg clocks.
576
577config COMMON_CLK_MT8183_MMSYS
578	bool "Clock driver for MediaTek MT8183 mmsys"
579	depends on COMMON_CLK_MT8183
580	default COMMON_CLK_MT8183
581	help
582	  This driver supports MediaTek MT8183 mmsys clocks.
583
584config COMMON_CLK_MT8183_VDECSYS
585	bool "Clock driver for MediaTek MT8183 vdecsys"
586	depends on COMMON_CLK_MT8183
587	default COMMON_CLK_MT8183
588	help
589	  This driver supports MediaTek MT8183 vdecsys clocks.
590
591config COMMON_CLK_MT8183_VENCSYS
592	bool "Clock driver for MediaTek MT8183 vencsys"
593	depends on COMMON_CLK_MT8183
594	default COMMON_CLK_MT8183
595	help
596	  This driver supports MediaTek MT8183 vencsys clocks.
597
598config COMMON_CLK_MT8186
599	bool "Clock driver for MediaTek MT8186"
600	depends on ARM64 || COMPILE_TEST
601	select COMMON_CLK_MEDIATEK
602	select COMMON_CLK_MEDIATEK_FHCTL
603	default ARCH_MEDIATEK
604	help
605	  This driver supports MediaTek MT8186 clocks.
606
607config COMMON_CLK_MT8192
608	bool "Clock driver for MediaTek MT8192"
609	depends on ARM64 || COMPILE_TEST
610	select COMMON_CLK_MEDIATEK
611	default ARM64
612	help
613	  This driver supports MediaTek MT8192 basic clocks.
614
615config COMMON_CLK_MT8192_AUDSYS
616	bool "Clock driver for MediaTek MT8192 audsys"
617	depends on COMMON_CLK_MT8192
618	help
619	  This driver supports MediaTek MT8192 audsys clocks.
620
621config COMMON_CLK_MT8192_CAMSYS
622	bool "Clock driver for MediaTek MT8192 camsys"
623	depends on COMMON_CLK_MT8192
624	help
625	  This driver supports MediaTek MT8192 camsys and camsys_raw clocks.
626
627config COMMON_CLK_MT8192_IMGSYS
628	bool "Clock driver for MediaTek MT8192 imgsys"
629	depends on COMMON_CLK_MT8192
630	help
631	  This driver supports MediaTek MT8192 imgsys and imgsys2 clocks.
632
633config COMMON_CLK_MT8192_IMP_IIC_WRAP
634	bool "Clock driver for MediaTek MT8192 imp_iic_wrap"
635	depends on COMMON_CLK_MT8192
636	help
637	  This driver supports MediaTek MT8192 imp_iic_wrap clocks.
638
639config COMMON_CLK_MT8192_IPESYS
640	bool "Clock driver for MediaTek MT8192 ipesys"
641	depends on COMMON_CLK_MT8192
642	help
643	  This driver supports MediaTek MT8192 ipesys clocks.
644
645config COMMON_CLK_MT8192_MDPSYS
646	bool "Clock driver for MediaTek MT8192 mdpsys"
647	depends on COMMON_CLK_MT8192
648	help
649	  This driver supports MediaTek MT8192 mdpsys clocks.
650
651config COMMON_CLK_MT8192_MFGCFG
652	bool "Clock driver for MediaTek MT8192 mfgcfg"
653	depends on COMMON_CLK_MT8192
654	help
655	  This driver supports MediaTek MT8192 mfgcfg clocks.
656
657config COMMON_CLK_MT8192_MMSYS
658	bool "Clock driver for MediaTek MT8192 mmsys"
659	depends on COMMON_CLK_MT8192
660	help
661	  This driver supports MediaTek MT8192 mmsys clocks.
662
663config COMMON_CLK_MT8192_MSDC
664	bool "Clock driver for MediaTek MT8192 msdc"
665	depends on COMMON_CLK_MT8192
666	help
667	  This driver supports MediaTek MT8192 msdc and msdc_top clocks.
668
669config COMMON_CLK_MT8192_SCP_ADSP
670	bool "Clock driver for MediaTek MT8192 scp_adsp"
671	depends on COMMON_CLK_MT8192
672	help
673	  This driver supports MediaTek MT8192 scp_adsp clocks.
674
675config COMMON_CLK_MT8192_VDECSYS
676	bool "Clock driver for MediaTek MT8192 vdecsys"
677	depends on COMMON_CLK_MT8192
678	help
679	  This driver supports MediaTek MT8192 vdecsys and vdecsys_soc clocks.
680
681config COMMON_CLK_MT8192_VENCSYS
682	bool "Clock driver for MediaTek MT8192 vencsys"
683	depends on COMMON_CLK_MT8192
684	help
685	  This driver supports MediaTek MT8192 vencsys clocks.
686
687config COMMON_CLK_MT8195
688        bool "Clock driver for MediaTek MT8195"
689        depends on ARM64 || COMPILE_TEST
690        select COMMON_CLK_MEDIATEK
691        default ARCH_MEDIATEK
692        help
693          This driver supports MediaTek MT8195 clocks.
694
695config COMMON_CLK_MT8365
696	tristate "Clock driver for MediaTek MT8365"
697	depends on ARCH_MEDIATEK || COMPILE_TEST
698	select COMMON_CLK_MEDIATEK
699	default ARCH_MEDIATEK && ARM64
700	help
701	  This driver supports MediaTek MT8365 basic clocks.
702
703config COMMON_CLK_MT8365_APU
704	tristate "Clock driver for MediaTek MT8365 apu"
705	depends on COMMON_CLK_MT8365
706	default COMMON_CLK_MT8365
707	help
708	  This driver supports MediaTek MT8365 apu clocks.
709
710config COMMON_CLK_MT8365_CAM
711	tristate "Clock driver for MediaTek MT8365 cam"
712	depends on COMMON_CLK_MT8365
713	default COMMON_CLK_MT8365
714	help
715	  This driver supports MediaTek MT8365 cam clocks.
716
717config COMMON_CLK_MT8365_MFG
718	tristate "Clock driver for MediaTek MT8365 mfg"
719	depends on COMMON_CLK_MT8365
720	default COMMON_CLK_MT8365
721	help
722	  This driver supports MediaTek MT8365 mfg clocks.
723
724config COMMON_CLK_MT8365_MMSYS
725	tristate "Clock driver for MediaTek MT8365 mmsys"
726	depends on COMMON_CLK_MT8365
727	default COMMON_CLK_MT8365
728	help
729	  This driver supports MediaTek MT8365 mmsys clocks.
730
731config COMMON_CLK_MT8365_VDEC
732	tristate "Clock driver for MediaTek MT8365 vdec"
733	depends on COMMON_CLK_MT8365
734	default COMMON_CLK_MT8365
735	help
736	  This driver supports MediaTek MT8365 vdec clocks.
737
738config COMMON_CLK_MT8365_VENC
739	tristate "Clock driver for MediaTek MT8365 venc"
740	depends on COMMON_CLK_MT8365
741	default COMMON_CLK_MT8365
742	help
743	  This driver supports MediaTek MT8365 venc clocks.
744
745config COMMON_CLK_MT8516
746	bool "Clock driver for MediaTek MT8516"
747	depends on ARCH_MEDIATEK || COMPILE_TEST
748	select COMMON_CLK_MEDIATEK
749	default ARCH_MEDIATEK
750	help
751	  This driver supports MediaTek MT8516 clocks.
752
753config COMMON_CLK_MT8516_AUDSYS
754	bool "Clock driver for MediaTek MT8516 audsys"
755	depends on COMMON_CLK_MT8516
756	help
757	  This driver supports MediaTek MT8516 audsys clocks.
758
759endmenu
760