summaryrefslogtreecommitdiff
path: root/drivers/clk/mediatek/Kconfig
blob: 70a005e7e1b18090cf7d479cbaa40ae4ed6eefb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
# SPDX-License-Identifier: GPL-2.0-only
#
# MediaTek Clock Drivers
#
menu "Clock driver for MediaTek SoC"
	depends on ARCH_MEDIATEK || COMPILE_TEST

config COMMON_CLK_MEDIATEK
	tristate
	select RESET_CONTROLLER
	help
	  MediaTek SoCs' clock support.

config COMMON_CLK_MEDIATEK_FHCTL
	bool "clock driver for MediaTek FHCTL hardware control"
	select COMMON_CLK_MEDIATEK
	help
	  This driver supports MediaTek frequency hopping and
	  spread spectrum clocking features.

config COMMON_CLK_MT2701
	bool "Clock driver for MediaTek MT2701"
	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM
	help
	  This driver supports MediaTek MT2701 basic clocks.

config COMMON_CLK_MT2701_MMSYS
	bool "Clock driver for MediaTek MT2701 mmsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 mmsys clocks.

config COMMON_CLK_MT2701_IMGSYS
	bool "Clock driver for MediaTek MT2701 imgsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 imgsys clocks.

config COMMON_CLK_MT2701_VDECSYS
	bool "Clock driver for MediaTek MT2701 vdecsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 vdecsys clocks.

config COMMON_CLK_MT2701_HIFSYS
	bool "Clock driver for MediaTek MT2701 hifsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 hifsys clocks.

config COMMON_CLK_MT2701_ETHSYS
	bool "Clock driver for MediaTek MT2701 ethsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 ethsys clocks.

config COMMON_CLK_MT2701_BDPSYS
	bool "Clock driver for MediaTek MT2701 bdpsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 bdpsys clocks.

config COMMON_CLK_MT2701_AUDSYS
	bool "Clock driver for Mediatek MT2701 audsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports Mediatek MT2701 audsys clocks.

config COMMON_CLK_MT2701_G3DSYS
	bool "Clock driver for MediaTek MT2701 g3dsys"
	depends on COMMON_CLK_MT2701
	help
	  This driver supports MediaTek MT2701 g3dsys clocks.

config COMMON_CLK_MT2712
	tristate "Clock driver for MediaTek MT2712"
	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM64
	help
	  This driver supports MediaTek MT2712 basic clocks.

config COMMON_CLK_MT2712_BDPSYS
	tristate "Clock driver for MediaTek MT2712 bdpsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 bdpsys clocks.

config COMMON_CLK_MT2712_IMGSYS
	tristate "Clock driver for MediaTek MT2712 imgsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 imgsys clocks.

config COMMON_CLK_MT2712_JPGDECSYS
	tristate "Clock driver for MediaTek MT2712 jpgdecsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 jpgdecsys clocks.

config COMMON_CLK_MT2712_MFGCFG
	tristate "Clock driver for MediaTek MT2712 mfgcfg"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 mfgcfg clocks.

config COMMON_CLK_MT2712_MMSYS
	tristate "Clock driver for MediaTek MT2712 mmsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 mmsys clocks.

config COMMON_CLK_MT2712_VDECSYS
	tristate "Clock driver for MediaTek MT2712 vdecsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 vdecsys clocks.

config COMMON_CLK_MT2712_VENCSYS
	tristate "Clock driver for MediaTek MT2712 vencsys"
	depends on COMMON_CLK_MT2712
	help
	  This driver supports MediaTek MT2712 vencsys clocks.

config COMMON_CLK_MT6765
       bool "Clock driver for MediaTek MT6765"
       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
       select COMMON_CLK_MEDIATEK
       default ARCH_MEDIATEK && ARM64
       help
         This driver supports MediaTek MT6765 basic clocks.

config COMMON_CLK_MT6765_AUDIOSYS
       tristate "Clock driver for MediaTek MT6765 audiosys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 audiosys clocks.

config COMMON_CLK_MT6765_CAMSYS
       tristate "Clock driver for MediaTek MT6765 camsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 camsys clocks.

config COMMON_CLK_MT6765_GCESYS
       tristate "Clock driver for MediaTek MT6765 gcesys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 gcesys clocks.

config COMMON_CLK_MT6765_MMSYS
       tristate "Clock driver for MediaTek MT6765 mmsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mmsys clocks.

config COMMON_CLK_MT6765_IMGSYS
       tristate "Clock driver for MediaTek MT6765 imgsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 imgsys clocks.

config COMMON_CLK_MT6765_VCODECSYS
       tristate "Clock driver for MediaTek MT6765 vcodecsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 vcodecsys clocks.

config COMMON_CLK_MT6765_MFGSYS
       tristate "Clock driver for MediaTek MT6765 mfgsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mfgsys clocks.

config COMMON_CLK_MT6765_MIPI0ASYS
       tristate "Clock driver for MediaTek MT6765 mipi0asys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mipi0asys clocks.

config COMMON_CLK_MT6765_MIPI0BSYS
       tristate "Clock driver for MediaTek MT6765 mipi0bsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mipi0bsys clocks.

config COMMON_CLK_MT6765_MIPI1ASYS
       tristate "Clock driver for MediaTek MT6765 mipi1asys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mipi1asys clocks.

config COMMON_CLK_MT6765_MIPI1BSYS
       tristate "Clock driver for MediaTek MT6765 mipi1bsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mipi1bsys clocks.

config COMMON_CLK_MT6765_MIPI2ASYS
       tristate "Clock driver for MediaTek MT6765 mipi2asys"
       depends on COMMON_CLK_MT6765
      help
         This driver supports MediaTek MT6765 mipi2asys clocks.

config COMMON_CLK_MT6765_MIPI2BSYS
       tristate "Clock driver for MediaTek MT6765 mipi2bsys"
       depends on COMMON_CLK_MT6765
       help
         This driver supports MediaTek MT6765 mipi2bsys clocks.

config COMMON_CLK_MT6779
	tristate "Clock driver for MediaTek MT6779"
	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM64
	help
	  This driver supports MediaTek MT6779 basic clocks.

config COMMON_CLK_MT6779_MMSYS
	tristate "Clock driver for MediaTek MT6779 mmsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 mmsys clocks.

config COMMON_CLK_MT6779_IMGSYS
	tristate "Clock driver for MediaTek MT6779 imgsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 imgsys clocks.

config COMMON_CLK_MT6779_IPESYS
	tristate "Clock driver for MediaTek MT6779 ipesys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 ipesys clocks.

config COMMON_CLK_MT6779_CAMSYS
	tristate "Clock driver for MediaTek MT6779 camsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 camsys clocks.

config COMMON_CLK_MT6779_VDECSYS
	tristate "Clock driver for MediaTek MT6779 vdecsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 vdecsys clocks.

config COMMON_CLK_MT6779_VENCSYS
	tristate "Clock driver for MediaTek MT6779 vencsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 vencsys clocks.

config COMMON_CLK_MT6779_MFGCFG
	tristate "Clock driver for MediaTek MT6779 mfgcfg"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports MediaTek MT6779 mfgcfg clocks.

config COMMON_CLK_MT6779_AUDSYS
	tristate "Clock driver for Mediatek MT6779 audsys"
	depends on COMMON_CLK_MT6779
	help
	  This driver supports Mediatek MT6779 audsys clocks.

config COMMON_CLK_MT6795
	tristate "Clock driver for MediaTek MT6795"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT6795 basic clocks and clocks
	  required for various peripherals found on MediaTek.

config COMMON_CLK_MT6795_MFGCFG
	tristate "Clock driver for MediaTek MT6795 mfgcfg"
	depends on COMMON_CLK_MT6795
	default COMMON_CLK_MT6795
	help
	  This driver supports MediaTek MT6795 mfgcfg clocks.

config COMMON_CLK_MT6795_MMSYS
       tristate "Clock driver for MediaTek MT6795 mmsys"
       depends on COMMON_CLK_MT6795
	default COMMON_CLK_MT6795
       help
         This driver supports MediaTek MT6795 mmsys clocks.

config COMMON_CLK_MT6795_VDECSYS
	tristate "Clock driver for MediaTek MT6795 VDECSYS"
	depends on COMMON_CLK_MT6795
	default COMMON_CLK_MT6795
	help
	  This driver supports MediaTek MT6795 vdecsys clocks.

config COMMON_CLK_MT6795_VENCSYS
	tristate "Clock driver for MediaTek MT6795 VENCSYS"
	depends on COMMON_CLK_MT6795
	default COMMON_CLK_MT6795
	help
	  This driver supports MediaTek MT6795 vencsys clocks.

config COMMON_CLK_MT6797
	bool "Clock driver for MediaTek MT6797"
	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM64
	help
	  This driver supports MediaTek MT6797 basic clocks.

config COMMON_CLK_MT6797_MMSYS
	tristate "Clock driver for MediaTek MT6797 mmsys"
	depends on COMMON_CLK_MT6797
	help
	  This driver supports MediaTek MT6797 mmsys clocks.

config COMMON_CLK_MT6797_IMGSYS
	tristate "Clock driver for MediaTek MT6797 imgsys"
	depends on COMMON_CLK_MT6797
	help
	  This driver supports MediaTek MT6797 imgsys clocks.

config COMMON_CLK_MT6797_VDECSYS
	tristate "Clock driver for MediaTek MT6797 vdecsys"
	depends on COMMON_CLK_MT6797
	help
	  This driver supports MediaTek MT6797 vdecsys clocks.

config COMMON_CLK_MT6797_VENCSYS
	tristate "Clock driver for MediaTek MT6797 vencsys"
	depends on COMMON_CLK_MT6797
	help
	  This driver supports MediaTek MT6797 vencsys clocks.

config COMMON_CLK_MT7622
	tristate "Clock driver for MediaTek MT7622"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT7622 basic clocks and clocks
	  required for various periperals found on MediaTek.

config COMMON_CLK_MT7622_ETHSYS
	tristate "Clock driver for MediaTek MT7622 ETHSYS"
	depends on COMMON_CLK_MT7622
	help
	  This driver add support for clocks for Ethernet and SGMII
	  required on MediaTek MT7622 SoC.

config COMMON_CLK_MT7622_HIFSYS
	tristate "Clock driver for MediaTek MT7622 HIFSYS"
	depends on COMMON_CLK_MT7622
	help
	  This driver supports MediaTek MT7622 HIFSYS clocks providing
	  to PCI-E and USB.

config COMMON_CLK_MT7622_AUDSYS
	tristate "Clock driver for MediaTek MT7622 AUDSYS"
	depends on COMMON_CLK_MT7622
	help
	  This driver supports MediaTek MT7622 AUDSYS clocks providing
	  to audio consumers such as I2S and TDM.

config COMMON_CLK_MT7629
	bool "Clock driver for MediaTek MT7629"
	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM
	help
	  This driver supports MediaTek MT7629 basic clocks and clocks
	  required for various periperals found on MediaTek.

config COMMON_CLK_MT7629_ETHSYS
	bool "Clock driver for MediaTek MT7629 ETHSYS"
	depends on COMMON_CLK_MT7629
	help
	  This driver add support for clocks for Ethernet and SGMII
	  required on MediaTek MT7629 SoC.

config COMMON_CLK_MT7629_HIFSYS
	bool "Clock driver for MediaTek MT7629 HIFSYS"
	depends on COMMON_CLK_MT7629
	help
	  This driver supports MediaTek MT7629 HIFSYS clocks providing
	  to PCI-E and USB.

config COMMON_CLK_MT7981
	bool "Clock driver for MediaTek MT7981"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT7981 basic clocks and clocks
	  required for various peripherals found on this SoC.

config COMMON_CLK_MT7981_ETHSYS
	tristate "Clock driver for MediaTek MT7981 ETHSYS"
	depends on COMMON_CLK_MT7981
	default COMMON_CLK_MT7981
	help
	  This driver adds support for clocks for Ethernet and SGMII
	  required on MediaTek MT7981 SoC.

config COMMON_CLK_MT7986
	tristate "Clock driver for MediaTek MT7986"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT7986 basic clocks and clocks
	  required for various peripherals found on MediaTek.

config COMMON_CLK_MT7986_ETHSYS
	tristate "Clock driver for MediaTek MT7986 ETHSYS"
	depends on COMMON_CLK_MT7986
	default COMMON_CLK_MT7986
	help
	  This driver adds support for clocks for Ethernet and SGMII
	  required on MediaTek MT7986 SoC.

config COMMON_CLK_MT7988
	tristate "Clock driver for MediaTek MT7988"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT7988 basic clocks and clocks
	  required for various periperals found on this SoC.

config COMMON_CLK_MT8135
	tristate "Clock driver for MediaTek MT8135"
	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM
	help
	  This driver supports MediaTek MT8135 clocks.

config COMMON_CLK_MT8167
	tristate "Clock driver for MediaTek MT8167"
	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT8167 basic clocks.

config COMMON_CLK_MT8167_AUDSYS
	tristate "Clock driver for MediaTek MT8167 audsys"
	depends on COMMON_CLK_MT8167
	default COMMON_CLK_MT8167
	help
	  This driver supports MediaTek MT8167 audsys clocks.

config COMMON_CLK_MT8167_IMGSYS
	tristate "Clock driver for MediaTek MT8167 imgsys"
	depends on COMMON_CLK_MT8167
	default COMMON_CLK_MT8167
	help
	  This driver supports MediaTek MT8167 imgsys clocks.

config COMMON_CLK_MT8167_MFGCFG
	tristate "Clock driver for MediaTek MT8167 mfgcfg"
	depends on COMMON_CLK_MT8167
	default COMMON_CLK_MT8167
	help
	  This driver supports MediaTek MT8167 mfgcfg clocks.

config COMMON_CLK_MT8167_MMSYS
	tristate "Clock driver for MediaTek MT8167 mmsys"
	depends on COMMON_CLK_MT8167
	default COMMON_CLK_MT8167
	help
	  This driver supports MediaTek MT8167 mmsys clocks.

config COMMON_CLK_MT8167_VDECSYS
	tristate "Clock driver for MediaTek MT8167 vdecsys"
	depends on COMMON_CLK_MT8167
	default COMMON_CLK_MT8167
	help
	  This driver supports MediaTek MT8167 vdecsys clocks.

config COMMON_CLK_MT8173
	tristate "Clock driver for MediaTek MT8173"
	depends on ARM64 || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT8173 basic clocks and clocks
	  required for various peripherals found on MediaTek.

config COMMON_CLK_MT8173_IMGSYS
	tristate "Clock driver for MediaTek MT8173 imgsys"
	depends on COMMON_CLK_MT8173
	default COMMON_CLK_MT8173
	help
	  This driver supports MediaTek MT8173 imgsys clocks.

config COMMON_CLK_MT8173_MMSYS
       tristate "Clock driver for MediaTek MT8173 mmsys"
       depends on COMMON_CLK_MT8173
	default COMMON_CLK_MT8173
       help
         This driver supports MediaTek MT8173 mmsys clocks.

config COMMON_CLK_MT8173_VDECSYS
	tristate "Clock driver for MediaTek MT8173 VDECSYS"
	depends on COMMON_CLK_MT8173
	default COMMON_CLK_MT8173
	help
	  This driver supports MediaTek MT8173 vdecsys clocks.

config COMMON_CLK_MT8173_VENCSYS
	tristate "Clock driver for MediaTek MT8173 VENCSYS"
	depends on COMMON_CLK_MT8173
	default COMMON_CLK_MT8173
	help
	  This driver supports MediaTek MT8173 vencsys clocks.

config COMMON_CLK_MT8183
	tristate "Clock driver for MediaTek MT8183"
	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM64
	help
	  This driver supports MediaTek MT8183 basic clocks.

config COMMON_CLK_MT8183_AUDIOSYS
	tristate "Clock driver for MediaTek MT8183 audiosys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 audiosys clocks.

config COMMON_CLK_MT8183_CAMSYS
	tristate "Clock driver for MediaTek MT8183 camsys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 camsys clocks.

config COMMON_CLK_MT8183_IMGSYS
	tristate "Clock driver for MediaTek MT8183 imgsys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 imgsys clocks.

config COMMON_CLK_MT8183_IPU_CORE0
	tristate "Clock driver for MediaTek MT8183 ipu_core0"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 ipu_core0 clocks.

config COMMON_CLK_MT8183_IPU_CORE1
	tristate "Clock driver for MediaTek MT8183 ipu_core1"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 ipu_core1 clocks.

config COMMON_CLK_MT8183_IPU_ADL
	tristate "Clock driver for MediaTek MT8183 ipu_adl"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 ipu_adl clocks.

config COMMON_CLK_MT8183_IPU_CONN
	tristate "Clock driver for MediaTek MT8183 ipu_conn"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 ipu_conn clocks.

config COMMON_CLK_MT8183_MFGCFG
	tristate "Clock driver for MediaTek MT8183 mfgcfg"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 mfgcfg clocks.

config COMMON_CLK_MT8183_MMSYS
	tristate "Clock driver for MediaTek MT8183 mmsys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 mmsys clocks.

config COMMON_CLK_MT8183_VDECSYS
	tristate "Clock driver for MediaTek MT8183 vdecsys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 vdecsys clocks.

config COMMON_CLK_MT8183_VENCSYS
	tristate "Clock driver for MediaTek MT8183 vencsys"
	depends on COMMON_CLK_MT8183
	default COMMON_CLK_MT8183
	help
	  This driver supports MediaTek MT8183 vencsys clocks.

config COMMON_CLK_MT8186
	tristate "Clock driver for MediaTek MT8186"
	depends on ARM64 || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT8186 clocks.

config COMMON_CLK_MT8186_CAMSYS
	tristate "Clock driver for MediaTek MT8186 camsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 camsys and camsys_raw clocks.

config COMMON_CLK_MT8186_IMGSYS
	tristate "Clock driver for MediaTek MT8186 imgsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 imgsys and imgsys2 clocks.

config COMMON_CLK_MT8186_IPESYS
	tristate "Clock driver for MediaTek MT8186 ipesys"
	depends on COMMON_CLK_MT8186_IMGSYS
	default COMMON_CLK_MT8186_IMGSYS
	help
	  This driver supports MediaTek MT8186 ipesys clocks.

config COMMON_CLK_MT8186_WPESYS
	tristate "Clock driver for MediaTek MT8186 wpesys"
	depends on COMMON_CLK_MT8186_IMGSYS
	default COMMON_CLK_MT8186_IMGSYS
	help
	  This driver supports MediaTek MT8186 Warp Engine clocks.

config COMMON_CLK_MT8186_IMP_IIC_WRAP
	tristate "Clock driver for MediaTek MT8186 imp_iic_wrap"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 imp_iic_wrap clocks.

config COMMON_CLK_MT8186_MCUSYS
	tristate "Clock driver for MediaTek MT8186 mcusys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 mcusys clocks.

config COMMON_CLK_MT8186_MDPSYS
	tristate "Clock driver for MediaTek MT8186 mdpsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 mdpsys clocks.

config COMMON_CLK_MT8186_MFGCFG
	tristate "Clock driver for MediaTek MT8186 mfgcfg"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 mfgcfg clocks.

config COMMON_CLK_MT8186_MMSYS
	tristate "Clock driver for MediaTek MT8186 mmsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 mmsys clocks.

config COMMON_CLK_MT8186_VDECSYS
	tristate "Clock driver for MediaTek MT8186 vdecsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 vdecsys and vdecsys_soc clocks.

config COMMON_CLK_MT8186_VENCSYS
	tristate "Clock driver for MediaTek MT8186 vencsys"
	depends on COMMON_CLK_MT8186
	default COMMON_CLK_MT8186
	help
	  This driver supports MediaTek MT8186 vencsys clocks.

config COMMON_CLK_MT8188
	tristate "Clock driver for MediaTek MT8188"
	depends on ARM64 || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
	default ARCH_MEDIATEK
	help
          This driver supports MediaTek MT8188 clocks.

config COMMON_CLK_MT8188_ADSP_AUDIO26M
	tristate "Clock driver for MediaTek MT8188 adsp audio26m"
	depends on COMMON_CLK_MT8188
	default COMMON_CLK_MT8188
	help
	  This driver supports MediaTek MT8188 adsp audio26m clocks.

config COMMON_CLK_MT8188_CAMSYS
	tristate "Clock driver for MediaTek MT8188 camsys"
	depends on COMMON_CLK_MT8188_VPPSYS
	default COMMON_CLK_MT8188_VPPSYS
	help
	  This driver supports MediaTek MT8188 camsys and camsys_raw clocks.

config COMMON_CLK_MT8188_IMGSYS
	tristate "Clock driver for MediaTek MT8188 imgsys"
	depends on COMMON_CLK_MT8188_VPPSYS
	default COMMON_CLK_MT8188_VPPSYS
	help
	  This driver supports MediaTek MT8188 imgsys and imgsys2 clocks.

config COMMON_CLK_MT8188_IMP_IIC_WRAP
	tristate "Clock driver for MediaTek MT8188 imp_iic_wrap"
	depends on COMMON_CLK_MT8188
	default COMMON_CLK_MT8188
	help
	  This driver supports MediaTek MT8188 I2C/I3C clocks.

config COMMON_CLK_MT8188_IPESYS
	tristate "Clock driver for MediaTek MT8188 ipesys"
	depends on COMMON_CLK_MT8188_IMGSYS
	default COMMON_CLK_MT8188_IMGSYS
	help
	  This driver supports MediaTek MT8188 ipesys clocks.

config COMMON_CLK_MT8188_MFGCFG
	tristate "Clock driver for MediaTek MT8188 mfgcfg"
	depends on COMMON_CLK_MT8188
	default COMMON_CLK_MT8188
	help
	  This driver supports MediaTek MT8188 mfgcfg clocks.

config COMMON_CLK_MT8188_VDECSYS
	tristate "Clock driver for MediaTek MT8188 vdecsys"
	depends on COMMON_CLK_MT8188_VPPSYS
	default COMMON_CLK_MT8188_VPPSYS
	help
	  This driver supports MediaTek MT8188 vdecsys and vdecsys_soc clocks.

config COMMON_CLK_MT8188_VDOSYS
	tristate "Clock driver for MediaTek MT8188 vdosys"
	depends on COMMON_CLK_MT8188
	default COMMON_CLK_MT8188
	help
	  This driver supports MediaTek MT8188 vdosys0/1 (multimedia) clocks.

config COMMON_CLK_MT8188_VENCSYS
	tristate "Clock driver for MediaTek MT8188 vencsys"
	depends on COMMON_CLK_MT8188_VPPSYS
	default COMMON_CLK_MT8188_VPPSYS
	help
	  This driver supports MediaTek MT8188 vencsys clocks.

config COMMON_CLK_MT8188_VPPSYS
	tristate "Clock driver for MediaTek MT8188 vppsys"
	depends on COMMON_CLK_MT8188
	default COMMON_CLK_MT8188
	help
	  This driver supports MediaTek MT8188 vppsys0/1 clocks.

config COMMON_CLK_MT8188_WPESYS
	tristate "Clock driver for MediaTek MT8188 wpesys"
	depends on COMMON_CLK_MT8188_IMGSYS
	default COMMON_CLK_MT8188_IMGSYS
	help
	  This driver supports MediaTek MT8188 Warp Engine clocks.

config COMMON_CLK_MT8192
	tristate "Clock driver for MediaTek MT8192"
	depends on ARM64 || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
	default ARM64
	help
	  This driver supports MediaTek MT8192 basic clocks.

config COMMON_CLK_MT8192_AUDSYS
	tristate "Clock driver for MediaTek MT8192 audsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 audsys clocks.

config COMMON_CLK_MT8192_CAMSYS
	tristate "Clock driver for MediaTek MT8192 camsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 camsys and camsys_raw clocks.

config COMMON_CLK_MT8192_IMGSYS
	tristate "Clock driver for MediaTek MT8192 imgsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 imgsys and imgsys2 clocks.

config COMMON_CLK_MT8192_IMP_IIC_WRAP
	tristate "Clock driver for MediaTek MT8192 imp_iic_wrap"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 imp_iic_wrap clocks.

config COMMON_CLK_MT8192_IPESYS
	tristate "Clock driver for MediaTek MT8192 ipesys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 ipesys clocks.

config COMMON_CLK_MT8192_MDPSYS
	tristate "Clock driver for MediaTek MT8192 mdpsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 mdpsys clocks.

config COMMON_CLK_MT8192_MFGCFG
	tristate "Clock driver for MediaTek MT8192 mfgcfg"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 mfgcfg clocks.

config COMMON_CLK_MT8192_MMSYS
	tristate "Clock driver for MediaTek MT8192 mmsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 mmsys clocks.

config COMMON_CLK_MT8192_MSDC
	tristate "Clock driver for MediaTek MT8192 msdc"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 msdc and msdc_top clocks.

config COMMON_CLK_MT8192_SCP_ADSP
	tristate "Clock driver for MediaTek MT8192 scp_adsp"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 scp_adsp clocks.

config COMMON_CLK_MT8192_VDECSYS
	tristate "Clock driver for MediaTek MT8192 vdecsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 vdecsys and vdecsys_soc clocks.

config COMMON_CLK_MT8192_VENCSYS
	tristate "Clock driver for MediaTek MT8192 vencsys"
	depends on COMMON_CLK_MT8192
	default COMMON_CLK_MT8192
	help
	  This driver supports MediaTek MT8192 vencsys clocks.

config COMMON_CLK_MT8195
        bool "Clock driver for MediaTek MT8195"
        depends on ARM64 || COMPILE_TEST
        select COMMON_CLK_MEDIATEK
	select COMMON_CLK_MEDIATEK_FHCTL
        default ARCH_MEDIATEK
        help
          This driver supports MediaTek MT8195 clocks.

config COMMON_CLK_MT8195_APUSYS
	tristate "Clock driver for MediaTek MT8195 apusys"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 AI Processor Unit System clocks.

config COMMON_CLK_MT8195_AUDSYS
	tristate "Clock driver for MediaTek MT8195 audsys"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 audsys clocks.

config COMMON_CLK_MT8195_IMP_IIC_WRAP
	tristate "Clock driver for MediaTek MT8195 imp_iic_wrap"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 I2C/I3C clocks.

config COMMON_CLK_MT8195_MFGCFG
	tristate "Clock driver for MediaTek MT8195 mfgcfg"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 mfgcfg clocks.

config COMMON_CLK_MT8195_MSDC
	tristate "Clock driver for MediaTek MT8195 msdc"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 MMC and SD Controller's
	  msdc and msdc_top clocks.

config COMMON_CLK_MT8195_SCP_ADSP
	tristate "Clock driver for MediaTek MT8195 scp_adsp"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 System Companion Processor
	  Audio DSP clocks.

config COMMON_CLK_MT8195_VDOSYS
	tristate "Clock driver for MediaTek MT8195 vdosys"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 vdosys0/1 (multimedia) clocks.

config COMMON_CLK_MT8195_VPPSYS
	tristate "Clock driver for MediaTek MT8195 vppsys"
	depends on COMMON_CLK_MT8195
	default COMMON_CLK_MT8195
	help
	  This driver supports MediaTek MT8195 vppsys0/1 clocks.

config COMMON_CLK_MT8195_CAMSYS
	tristate "Clock driver for MediaTek MT8195 camsys"
	depends on COMMON_CLK_MT8195_VPPSYS
	default COMMON_CLK_MT8195_VPPSYS
	help
	  This driver supports MediaTek MT8195 camsys and camsys_raw clocks.

config COMMON_CLK_MT8195_IMGSYS
	tristate "Clock driver for MediaTek MT8195 imgsys"
	depends on COMMON_CLK_MT8195_VPPSYS
	default COMMON_CLK_MT8195_VPPSYS
	help
	  This driver supports MediaTek MT8195 imgsys and imgsys2 clocks.

config COMMON_CLK_MT8195_IPESYS
	tristate "Clock driver for MediaTek MT8195 ipesys"
	depends on COMMON_CLK_MT8195_IMGSYS
	default COMMON_CLK_MT8195_IMGSYS
	help
	  This driver supports MediaTek MT8195 ipesys clocks.

config COMMON_CLK_MT8195_WPESYS
	tristate "Clock driver for MediaTek MT8195 wpesys"
	depends on COMMON_CLK_MT8195_IMGSYS
	default COMMON_CLK_MT8195_IMGSYS
	help
	  This driver supports MediaTek MT8195 Warp Engine clocks.

config COMMON_CLK_MT8195_VDECSYS
	tristate "Clock driver for MediaTek MT8195 vdecsys"
	depends on COMMON_CLK_MT8195_VPPSYS
	default COMMON_CLK_MT8195_VPPSYS
	help
	  This driver supports MediaTek MT8195 vdecsys and vdecsys_soc clocks.

config COMMON_CLK_MT8195_VENCSYS
	tristate "Clock driver for MediaTek MT8195 vencsys"
	depends on COMMON_CLK_MT8195_VPPSYS
	default COMMON_CLK_MT8195_VPPSYS
	help
	  This driver supports MediaTek MT8195 vencsys clocks.

config COMMON_CLK_MT8365
	tristate "Clock driver for MediaTek MT8365"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK && ARM64
	help
	  This driver supports MediaTek MT8365 basic clocks.

config COMMON_CLK_MT8365_APU
	tristate "Clock driver for MediaTek MT8365 apu"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 apu clocks.

config COMMON_CLK_MT8365_CAM
	tristate "Clock driver for MediaTek MT8365 cam"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 cam clocks.

config COMMON_CLK_MT8365_MFG
	tristate "Clock driver for MediaTek MT8365 mfg"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 mfg clocks.

config COMMON_CLK_MT8365_MMSYS
	tristate "Clock driver for MediaTek MT8365 mmsys"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 mmsys clocks.

config COMMON_CLK_MT8365_VDEC
	tristate "Clock driver for MediaTek MT8365 vdec"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 vdec clocks.

config COMMON_CLK_MT8365_VENC
	tristate "Clock driver for MediaTek MT8365 venc"
	depends on COMMON_CLK_MT8365
	default COMMON_CLK_MT8365
	help
	  This driver supports MediaTek MT8365 venc clocks.

config COMMON_CLK_MT8516
	tristate "Clock driver for MediaTek MT8516"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select COMMON_CLK_MEDIATEK
	default ARCH_MEDIATEK
	help
	  This driver supports MediaTek MT8516 clocks.

config COMMON_CLK_MT8516_AUDSYS
	tristate "Clock driver for MediaTek MT8516 audsys"
	depends on COMMON_CLK_MT8516
	help
	  This driver supports MediaTek MT8516 audsys clocks.

endmenu