1 # SPDX-License-Identifier: GPL-2.0-only
3 # MediaTek Clock Drivers
5 menu "Clock driver for MediaTek SoC"
6 depends on ARCH_MEDIATEK || COMPILE_TEST
8 config COMMON_CLK_MEDIATEK
10 select RESET_CONTROLLER
12 MediaTek SoCs' clock support.
14 config COMMON_CLK_MT2701
15 bool "Clock driver for MediaTek MT2701"
16 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
17 select COMMON_CLK_MEDIATEK
18 default ARCH_MEDIATEK && ARM
20 This driver supports MediaTek MT2701 basic clocks.
22 config COMMON_CLK_MT2701_MMSYS
23 bool "Clock driver for MediaTek MT2701 mmsys"
24 depends on COMMON_CLK_MT2701
26 This driver supports MediaTek MT2701 mmsys clocks.
28 config COMMON_CLK_MT2701_IMGSYS
29 bool "Clock driver for MediaTek MT2701 imgsys"
30 depends on COMMON_CLK_MT2701
32 This driver supports MediaTek MT2701 imgsys clocks.
34 config COMMON_CLK_MT2701_VDECSYS
35 bool "Clock driver for MediaTek MT2701 vdecsys"
36 depends on COMMON_CLK_MT2701
38 This driver supports MediaTek MT2701 vdecsys clocks.
40 config COMMON_CLK_MT2701_HIFSYS
41 bool "Clock driver for MediaTek MT2701 hifsys"
42 depends on COMMON_CLK_MT2701
44 This driver supports MediaTek MT2701 hifsys clocks.
46 config COMMON_CLK_MT2701_ETHSYS
47 bool "Clock driver for MediaTek MT2701 ethsys"
48 depends on COMMON_CLK_MT2701
50 This driver supports MediaTek MT2701 ethsys clocks.
52 config COMMON_CLK_MT2701_BDPSYS
53 bool "Clock driver for MediaTek MT2701 bdpsys"
54 depends on COMMON_CLK_MT2701
56 This driver supports MediaTek MT2701 bdpsys clocks.
58 config COMMON_CLK_MT2701_AUDSYS
59 bool "Clock driver for Mediatek MT2701 audsys"
60 depends on COMMON_CLK_MT2701
62 This driver supports Mediatek MT2701 audsys clocks.
64 config COMMON_CLK_MT2701_G3DSYS
65 bool "Clock driver for MediaTek MT2701 g3dsys"
66 depends on COMMON_CLK_MT2701
68 This driver supports MediaTek MT2701 g3dsys clocks.
70 config COMMON_CLK_MT2712
71 bool "Clock driver for MediaTek MT2712"
72 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
73 select COMMON_CLK_MEDIATEK
74 default ARCH_MEDIATEK && ARM64
76 This driver supports MediaTek MT2712 basic clocks.
78 config COMMON_CLK_MT2712_BDPSYS
79 bool "Clock driver for MediaTek MT2712 bdpsys"
80 depends on COMMON_CLK_MT2712
82 This driver supports MediaTek MT2712 bdpsys clocks.
84 config COMMON_CLK_MT2712_IMGSYS
85 bool "Clock driver for MediaTek MT2712 imgsys"
86 depends on COMMON_CLK_MT2712
88 This driver supports MediaTek MT2712 imgsys clocks.
90 config COMMON_CLK_MT2712_JPGDECSYS
91 bool "Clock driver for MediaTek MT2712 jpgdecsys"
92 depends on COMMON_CLK_MT2712
94 This driver supports MediaTek MT2712 jpgdecsys clocks.
96 config COMMON_CLK_MT2712_MFGCFG
97 bool "Clock driver for MediaTek MT2712 mfgcfg"
98 depends on COMMON_CLK_MT2712
100 This driver supports MediaTek MT2712 mfgcfg clocks.
102 config COMMON_CLK_MT2712_MMSYS
103 bool "Clock driver for MediaTek MT2712 mmsys"
104 depends on COMMON_CLK_MT2712
106 This driver supports MediaTek MT2712 mmsys clocks.
108 config COMMON_CLK_MT2712_VDECSYS
109 bool "Clock driver for MediaTek MT2712 vdecsys"
110 depends on COMMON_CLK_MT2712
112 This driver supports MediaTek MT2712 vdecsys clocks.
114 config COMMON_CLK_MT2712_VENCSYS
115 bool "Clock driver for MediaTek MT2712 vencsys"
116 depends on COMMON_CLK_MT2712
118 This driver supports MediaTek MT2712 vencsys clocks.
120 config COMMON_CLK_MT6779
121 bool "Clock driver for MediaTek MT6779"
122 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
123 select COMMON_CLK_MEDIATEK
124 default ARCH_MEDIATEK && ARM64
126 This driver supports MediaTek MT6779 basic clocks.
128 config COMMON_CLK_MT6779_MMSYS
129 bool "Clock driver for MediaTek MT6779 mmsys"
130 depends on COMMON_CLK_MT6779
132 This driver supports MediaTek MT6779 mmsys clocks.
134 config COMMON_CLK_MT6779_IMGSYS
135 bool "Clock driver for MediaTek MT6779 imgsys"
136 depends on COMMON_CLK_MT6779
138 This driver supports MediaTek MT6779 imgsys clocks.
140 config COMMON_CLK_MT6779_IPESYS
141 bool "Clock driver for MediaTek MT6779 ipesys"
142 depends on COMMON_CLK_MT6779
144 This driver supports MediaTek MT6779 ipesys clocks.
146 config COMMON_CLK_MT6779_CAMSYS
147 bool "Clock driver for MediaTek MT6779 camsys"
148 depends on COMMON_CLK_MT6779
150 This driver supports MediaTek MT6779 camsys clocks.
152 config COMMON_CLK_MT6779_VDECSYS
153 bool "Clock driver for MediaTek MT6779 vdecsys"
154 depends on COMMON_CLK_MT6779
156 This driver supports MediaTek MT6779 vdecsys clocks.
158 config COMMON_CLK_MT6779_VENCSYS
159 bool "Clock driver for MediaTek MT6779 vencsys"
160 depends on COMMON_CLK_MT6779
162 This driver supports MediaTek MT6779 vencsys clocks.
164 config COMMON_CLK_MT6779_MFGCFG
165 bool "Clock driver for MediaTek MT6779 mfgcfg"
166 depends on COMMON_CLK_MT6779
168 This driver supports MediaTek MT6779 mfgcfg clocks.
170 config COMMON_CLK_MT6779_AUDSYS
171 bool "Clock driver for Mediatek MT6779 audsys"
172 depends on COMMON_CLK_MT6779
174 This driver supports Mediatek MT6779 audsys clocks.
176 config COMMON_CLK_MT6797
177 bool "Clock driver for MediaTek MT6797"
178 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
179 select COMMON_CLK_MEDIATEK
180 default ARCH_MEDIATEK && ARM64
182 This driver supports MediaTek MT6797 basic clocks.
184 config COMMON_CLK_MT6797_MMSYS
185 bool "Clock driver for MediaTek MT6797 mmsys"
186 depends on COMMON_CLK_MT6797
188 This driver supports MediaTek MT6797 mmsys clocks.
190 config COMMON_CLK_MT6797_IMGSYS
191 bool "Clock driver for MediaTek MT6797 imgsys"
192 depends on COMMON_CLK_MT6797
194 This driver supports MediaTek MT6797 imgsys clocks.
196 config COMMON_CLK_MT6797_VDECSYS
197 bool "Clock driver for MediaTek MT6797 vdecsys"
198 depends on COMMON_CLK_MT6797
200 This driver supports MediaTek MT6797 vdecsys clocks.
202 config COMMON_CLK_MT6797_VENCSYS
203 bool "Clock driver for MediaTek MT6797 vencsys"
204 depends on COMMON_CLK_MT6797
206 This driver supports MediaTek MT6797 vencsys clocks.
208 config COMMON_CLK_MT7622
209 bool "Clock driver for MediaTek MT7622"
210 depends on ARCH_MEDIATEK || COMPILE_TEST
211 select COMMON_CLK_MEDIATEK
212 default ARCH_MEDIATEK
214 This driver supports MediaTek MT7622 basic clocks and clocks
215 required for various periperals found on MediaTek.
217 config COMMON_CLK_MT7622_ETHSYS
218 bool "Clock driver for MediaTek MT7622 ETHSYS"
219 depends on COMMON_CLK_MT7622
221 This driver add support for clocks for Ethernet and SGMII
222 required on MediaTek MT7622 SoC.
224 config COMMON_CLK_MT7622_HIFSYS
225 bool "Clock driver for MediaTek MT7622 HIFSYS"
226 depends on COMMON_CLK_MT7622
228 This driver supports MediaTek MT7622 HIFSYS clocks providing
231 config COMMON_CLK_MT7622_AUDSYS
232 bool "Clock driver for MediaTek MT7622 AUDSYS"
233 depends on COMMON_CLK_MT7622
235 This driver supports MediaTek MT7622 AUDSYS clocks providing
236 to audio consumers such as I2S and TDM.
238 config COMMON_CLK_MT7629
239 bool "Clock driver for MediaTek MT7629"
240 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
241 select COMMON_CLK_MEDIATEK
242 default ARCH_MEDIATEK && ARM
244 This driver supports MediaTek MT7629 basic clocks and clocks
245 required for various periperals found on MediaTek.
247 config COMMON_CLK_MT7629_ETHSYS
248 bool "Clock driver for MediaTek MT7629 ETHSYS"
249 depends on COMMON_CLK_MT7629
251 This driver add support for clocks for Ethernet and SGMII
252 required on MediaTek MT7629 SoC.
254 config COMMON_CLK_MT7629_HIFSYS
255 bool "Clock driver for MediaTek MT7629 HIFSYS"
256 depends on COMMON_CLK_MT7629
258 This driver supports MediaTek MT7629 HIFSYS clocks providing
261 config COMMON_CLK_MT8135
262 bool "Clock driver for MediaTek MT8135"
263 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
264 select COMMON_CLK_MEDIATEK
265 default ARCH_MEDIATEK && ARM
267 This driver supports MediaTek MT8135 clocks.
269 config COMMON_CLK_MT8173
270 bool "Clock driver for MediaTek MT8173"
271 depends on ARCH_MEDIATEK || COMPILE_TEST
272 select COMMON_CLK_MEDIATEK
273 default ARCH_MEDIATEK
275 This driver supports MediaTek MT8173 clocks.
277 config COMMON_CLK_MT8183
278 bool "Clock driver for MediaTek MT8183"
279 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
280 select COMMON_CLK_MEDIATEK
281 default ARCH_MEDIATEK && ARM64
283 This driver supports MediaTek MT8183 basic clocks.
285 config COMMON_CLK_MT8183_AUDIOSYS
286 bool "Clock driver for MediaTek MT8183 audiosys"
287 depends on COMMON_CLK_MT8183
289 This driver supports MediaTek MT8183 audiosys clocks.
291 config COMMON_CLK_MT8183_CAMSYS
292 bool "Clock driver for MediaTek MT8183 camsys"
293 depends on COMMON_CLK_MT8183
295 This driver supports MediaTek MT8183 camsys clocks.
297 config COMMON_CLK_MT8183_IMGSYS
298 bool "Clock driver for MediaTek MT8183 imgsys"
299 depends on COMMON_CLK_MT8183
301 This driver supports MediaTek MT8183 imgsys clocks.
303 config COMMON_CLK_MT8183_IPU_CORE0
304 bool "Clock driver for MediaTek MT8183 ipu_core0"
305 depends on COMMON_CLK_MT8183
307 This driver supports MediaTek MT8183 ipu_core0 clocks.
309 config COMMON_CLK_MT8183_IPU_CORE1
310 bool "Clock driver for MediaTek MT8183 ipu_core1"
311 depends on COMMON_CLK_MT8183
313 This driver supports MediaTek MT8183 ipu_core1 clocks.
315 config COMMON_CLK_MT8183_IPU_ADL
316 bool "Clock driver for MediaTek MT8183 ipu_adl"
317 depends on COMMON_CLK_MT8183
319 This driver supports MediaTek MT8183 ipu_adl clocks.
321 config COMMON_CLK_MT8183_IPU_CONN
322 bool "Clock driver for MediaTek MT8183 ipu_conn"
323 depends on COMMON_CLK_MT8183
325 This driver supports MediaTek MT8183 ipu_conn clocks.
327 config COMMON_CLK_MT8183_MFGCFG
328 bool "Clock driver for MediaTek MT8183 mfgcfg"
329 depends on COMMON_CLK_MT8183
331 This driver supports MediaTek MT8183 mfgcfg clocks.
333 config COMMON_CLK_MT8183_MMSYS
334 bool "Clock driver for MediaTek MT8183 mmsys"
335 depends on COMMON_CLK_MT8183
337 This driver supports MediaTek MT8183 mmsys clocks.
339 config COMMON_CLK_MT8183_VDECSYS
340 bool "Clock driver for MediaTek MT8183 vdecsys"
341 depends on COMMON_CLK_MT8183
343 This driver supports MediaTek MT8183 vdecsys clocks.
345 config COMMON_CLK_MT8183_VENCSYS
346 bool "Clock driver for MediaTek MT8183 vencsys"
347 depends on COMMON_CLK_MT8183
349 This driver supports MediaTek MT8183 vencsys clocks.
351 config COMMON_CLK_MT8516
352 bool "Clock driver for MediaTek MT8516"
353 depends on ARCH_MEDIATEK || COMPILE_TEST
354 select COMMON_CLK_MEDIATEK
355 default ARCH_MEDIATEK
357 This driver supports MediaTek MT8516 clocks.
359 config COMMON_CLK_MT8516_AUDSYS
360 bool "Clock driver for MediaTek MT8516 audsys"
361 depends on COMMON_CLK_MT8516
363 This driver supports MediaTek MT8516 audsys clocks.