2 # MediaTek Clock Drivers
4 menu "Clock driver for MediaTek SoC"
5 depends on ARCH_MEDIATEK || COMPILE_TEST
7 config COMMON_CLK_MEDIATEK
9 select RESET_CONTROLLER
11 MediaTek SoCs' clock support.
13 config COMMON_CLK_MT2701
14 bool "Clock driver for MediaTek MT2701"
15 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
16 select COMMON_CLK_MEDIATEK
17 default ARCH_MEDIATEK && ARM
19 This driver supports MediaTek MT2701 basic clocks.
21 config COMMON_CLK_MT2701_MMSYS
22 bool "Clock driver for MediaTek MT2701 mmsys"
23 depends on COMMON_CLK_MT2701
25 This driver supports MediaTek MT2701 mmsys clocks.
27 config COMMON_CLK_MT2701_IMGSYS
28 bool "Clock driver for MediaTek MT2701 imgsys"
29 depends on COMMON_CLK_MT2701
31 This driver supports MediaTek MT2701 imgsys clocks.
33 config COMMON_CLK_MT2701_VDECSYS
34 bool "Clock driver for MediaTek MT2701 vdecsys"
35 depends on COMMON_CLK_MT2701
37 This driver supports MediaTek MT2701 vdecsys clocks.
39 config COMMON_CLK_MT2701_HIFSYS
40 bool "Clock driver for MediaTek MT2701 hifsys"
41 depends on COMMON_CLK_MT2701
43 This driver supports MediaTek MT2701 hifsys clocks.
45 config COMMON_CLK_MT2701_ETHSYS
46 bool "Clock driver for MediaTek MT2701 ethsys"
47 depends on COMMON_CLK_MT2701
49 This driver supports MediaTek MT2701 ethsys clocks.
51 config COMMON_CLK_MT2701_BDPSYS
52 bool "Clock driver for MediaTek MT2701 bdpsys"
53 depends on COMMON_CLK_MT2701
55 This driver supports MediaTek MT2701 bdpsys clocks.
57 config COMMON_CLK_MT2701_AUDSYS
58 bool "Clock driver for Mediatek MT2701 audsys"
59 depends on COMMON_CLK_MT2701
61 This driver supports Mediatek MT2701 audsys clocks.
63 config COMMON_CLK_MT2701_G3DSYS
64 bool "Clock driver for MediaTek MT2701 g3dsys"
65 depends on COMMON_CLK_MT2701
67 This driver supports MediaTek MT2701 g3dsys clocks.
69 config COMMON_CLK_MT2712
70 bool "Clock driver for MediaTek MT2712"
71 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
72 select COMMON_CLK_MEDIATEK
73 default ARCH_MEDIATEK && ARM64
75 This driver supports MediaTek MT2712 basic clocks.
77 config COMMON_CLK_MT2712_BDPSYS
78 bool "Clock driver for MediaTek MT2712 bdpsys"
79 depends on COMMON_CLK_MT2712
81 This driver supports MediaTek MT2712 bdpsys clocks.
83 config COMMON_CLK_MT2712_IMGSYS
84 bool "Clock driver for MediaTek MT2712 imgsys"
85 depends on COMMON_CLK_MT2712
87 This driver supports MediaTek MT2712 imgsys clocks.
89 config COMMON_CLK_MT2712_JPGDECSYS
90 bool "Clock driver for MediaTek MT2712 jpgdecsys"
91 depends on COMMON_CLK_MT2712
93 This driver supports MediaTek MT2712 jpgdecsys clocks.
95 config COMMON_CLK_MT2712_MFGCFG
96 bool "Clock driver for MediaTek MT2712 mfgcfg"
97 depends on COMMON_CLK_MT2712
99 This driver supports MediaTek MT2712 mfgcfg clocks.
101 config COMMON_CLK_MT2712_MMSYS
102 bool "Clock driver for MediaTek MT2712 mmsys"
103 depends on COMMON_CLK_MT2712
105 This driver supports MediaTek MT2712 mmsys clocks.
107 config COMMON_CLK_MT2712_VDECSYS
108 bool "Clock driver for MediaTek MT2712 vdecsys"
109 depends on COMMON_CLK_MT2712
111 This driver supports MediaTek MT2712 vdecsys clocks.
113 config COMMON_CLK_MT2712_VENCSYS
114 bool "Clock driver for MediaTek MT2712 vencsys"
115 depends on COMMON_CLK_MT2712
117 This driver supports MediaTek MT2712 vencsys clocks.
119 config COMMON_CLK_MT6797
120 bool "Clock driver for MediaTek MT6797"
121 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
122 select COMMON_CLK_MEDIATEK
123 default ARCH_MEDIATEK && ARM64
125 This driver supports MediaTek MT6797 basic clocks.
127 config COMMON_CLK_MT6797_MMSYS
128 bool "Clock driver for MediaTek MT6797 mmsys"
129 depends on COMMON_CLK_MT6797
131 This driver supports MediaTek MT6797 mmsys clocks.
133 config COMMON_CLK_MT6797_IMGSYS
134 bool "Clock driver for MediaTek MT6797 imgsys"
135 depends on COMMON_CLK_MT6797
137 This driver supports MediaTek MT6797 imgsys clocks.
139 config COMMON_CLK_MT6797_VDECSYS
140 bool "Clock driver for MediaTek MT6797 vdecsys"
141 depends on COMMON_CLK_MT6797
143 This driver supports MediaTek MT6797 vdecsys clocks.
145 config COMMON_CLK_MT6797_VENCSYS
146 bool "Clock driver for MediaTek MT6797 vencsys"
147 depends on COMMON_CLK_MT6797
149 This driver supports MediaTek MT6797 vencsys clocks.
151 config COMMON_CLK_MT7622
152 bool "Clock driver for MediaTek MT7622"
153 depends on ARCH_MEDIATEK || COMPILE_TEST
154 select COMMON_CLK_MEDIATEK
155 default ARCH_MEDIATEK
157 This driver supports MediaTek MT7622 basic clocks and clocks
158 required for various periperals found on MediaTek.
160 config COMMON_CLK_MT7622_ETHSYS
161 bool "Clock driver for MediaTek MT7622 ETHSYS"
162 depends on COMMON_CLK_MT7622
164 This driver add support for clocks for Ethernet and SGMII
165 required on MediaTek MT7622 SoC.
167 config COMMON_CLK_MT7622_HIFSYS
168 bool "Clock driver for MediaTek MT7622 HIFSYS"
169 depends on COMMON_CLK_MT7622
171 This driver supports MediaTek MT7622 HIFSYS clocks providing
174 config COMMON_CLK_MT7622_AUDSYS
175 bool "Clock driver for MediaTek MT7622 AUDSYS"
176 depends on COMMON_CLK_MT7622
178 This driver supports MediaTek MT7622 AUDSYS clocks providing
179 to audio consumers such as I2S and TDM.
181 config COMMON_CLK_MT8135
182 bool "Clock driver for MediaTek MT8135"
183 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
184 select COMMON_CLK_MEDIATEK
185 default ARCH_MEDIATEK && ARM
187 This driver supports MediaTek MT8135 clocks.
189 config COMMON_CLK_MT8173
190 bool "Clock driver for MediaTek MT8173"
191 depends on ARCH_MEDIATEK || COMPILE_TEST
192 select COMMON_CLK_MEDIATEK
193 default ARCH_MEDIATEK
195 This driver supports MediaTek MT8173 clocks.