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_MT6797
121 bool "Clock driver for MediaTek MT6797"
122 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
123 select COMMON_CLK_MEDIATEK
124 default ARCH_MEDIATEK && ARM64
126 This driver supports MediaTek MT6797 basic clocks.
128 config COMMON_CLK_MT6797_MMSYS
129 bool "Clock driver for MediaTek MT6797 mmsys"
130 depends on COMMON_CLK_MT6797
132 This driver supports MediaTek MT6797 mmsys clocks.
134 config COMMON_CLK_MT6797_IMGSYS
135 bool "Clock driver for MediaTek MT6797 imgsys"
136 depends on COMMON_CLK_MT6797
138 This driver supports MediaTek MT6797 imgsys clocks.
140 config COMMON_CLK_MT6797_VDECSYS
141 bool "Clock driver for MediaTek MT6797 vdecsys"
142 depends on COMMON_CLK_MT6797
144 This driver supports MediaTek MT6797 vdecsys clocks.
146 config COMMON_CLK_MT6797_VENCSYS
147 bool "Clock driver for MediaTek MT6797 vencsys"
148 depends on COMMON_CLK_MT6797
150 This driver supports MediaTek MT6797 vencsys clocks.
152 config COMMON_CLK_MT7622
153 bool "Clock driver for MediaTek MT7622"
154 depends on ARCH_MEDIATEK || COMPILE_TEST
155 select COMMON_CLK_MEDIATEK
156 default ARCH_MEDIATEK
158 This driver supports MediaTek MT7622 basic clocks and clocks
159 required for various periperals found on MediaTek.
161 config COMMON_CLK_MT7622_ETHSYS
162 bool "Clock driver for MediaTek MT7622 ETHSYS"
163 depends on COMMON_CLK_MT7622
165 This driver add support for clocks for Ethernet and SGMII
166 required on MediaTek MT7622 SoC.
168 config COMMON_CLK_MT7622_HIFSYS
169 bool "Clock driver for MediaTek MT7622 HIFSYS"
170 depends on COMMON_CLK_MT7622
172 This driver supports MediaTek MT7622 HIFSYS clocks providing
175 config COMMON_CLK_MT7622_AUDSYS
176 bool "Clock driver for MediaTek MT7622 AUDSYS"
177 depends on COMMON_CLK_MT7622
179 This driver supports MediaTek MT7622 AUDSYS clocks providing
180 to audio consumers such as I2S and TDM.
182 config COMMON_CLK_MT7629
183 bool "Clock driver for MediaTek MT7629"
184 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
185 select COMMON_CLK_MEDIATEK
186 default ARCH_MEDIATEK && ARM
188 This driver supports MediaTek MT7629 basic clocks and clocks
189 required for various periperals found on MediaTek.
191 config COMMON_CLK_MT7629_ETHSYS
192 bool "Clock driver for MediaTek MT7629 ETHSYS"
193 depends on COMMON_CLK_MT7629
195 This driver add support for clocks for Ethernet and SGMII
196 required on MediaTek MT7629 SoC.
198 config COMMON_CLK_MT7629_HIFSYS
199 bool "Clock driver for MediaTek MT7629 HIFSYS"
200 depends on COMMON_CLK_MT7629
202 This driver supports MediaTek MT7629 HIFSYS clocks providing
205 config COMMON_CLK_MT8135
206 bool "Clock driver for MediaTek MT8135"
207 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
208 select COMMON_CLK_MEDIATEK
209 default ARCH_MEDIATEK && ARM
211 This driver supports MediaTek MT8135 clocks.
213 config COMMON_CLK_MT8173
214 bool "Clock driver for MediaTek MT8173"
215 depends on ARCH_MEDIATEK || COMPILE_TEST
216 select COMMON_CLK_MEDIATEK
217 default ARCH_MEDIATEK
219 This driver supports MediaTek MT8173 clocks.
221 config COMMON_CLK_MT8183
222 bool "Clock driver for MediaTek MT8183"
223 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
224 select COMMON_CLK_MEDIATEK
225 default ARCH_MEDIATEK && ARM64
227 This driver supports MediaTek MT8183 basic clocks.
229 config COMMON_CLK_MT8183_AUDIOSYS
230 bool "Clock driver for MediaTek MT8183 audiosys"
231 depends on COMMON_CLK_MT8183
233 This driver supports MediaTek MT8183 audiosys clocks.
235 config COMMON_CLK_MT8183_CAMSYS
236 bool "Clock driver for MediaTek MT8183 camsys"
237 depends on COMMON_CLK_MT8183
239 This driver supports MediaTek MT8183 camsys clocks.
241 config COMMON_CLK_MT8183_IMGSYS
242 bool "Clock driver for MediaTek MT8183 imgsys"
243 depends on COMMON_CLK_MT8183
245 This driver supports MediaTek MT8183 imgsys clocks.
247 config COMMON_CLK_MT8183_IPU_CORE0
248 bool "Clock driver for MediaTek MT8183 ipu_core0"
249 depends on COMMON_CLK_MT8183
251 This driver supports MediaTek MT8183 ipu_core0 clocks.
253 config COMMON_CLK_MT8183_IPU_CORE1
254 bool "Clock driver for MediaTek MT8183 ipu_core1"
255 depends on COMMON_CLK_MT8183
257 This driver supports MediaTek MT8183 ipu_core1 clocks.
259 config COMMON_CLK_MT8183_IPU_ADL
260 bool "Clock driver for MediaTek MT8183 ipu_adl"
261 depends on COMMON_CLK_MT8183
263 This driver supports MediaTek MT8183 ipu_adl clocks.
265 config COMMON_CLK_MT8183_IPU_CONN
266 bool "Clock driver for MediaTek MT8183 ipu_conn"
267 depends on COMMON_CLK_MT8183
269 This driver supports MediaTek MT8183 ipu_conn clocks.
271 config COMMON_CLK_MT8183_MFGCFG
272 bool "Clock driver for MediaTek MT8183 mfgcfg"
273 depends on COMMON_CLK_MT8183
275 This driver supports MediaTek MT8183 mfgcfg clocks.
277 config COMMON_CLK_MT8183_MMSYS
278 bool "Clock driver for MediaTek MT8183 mmsys"
279 depends on COMMON_CLK_MT8183
281 This driver supports MediaTek MT8183 mmsys clocks.
283 config COMMON_CLK_MT8183_VDECSYS
284 bool "Clock driver for MediaTek MT8183 vdecsys"
285 depends on COMMON_CLK_MT8183
287 This driver supports MediaTek MT8183 vdecsys clocks.
289 config COMMON_CLK_MT8183_VENCSYS
290 bool "Clock driver for MediaTek MT8183 vencsys"
291 depends on COMMON_CLK_MT8183
293 This driver supports MediaTek MT8183 vencsys clocks.
295 config COMMON_CLK_MT8516
296 bool "Clock driver for MediaTek MT8516"
297 depends on ARCH_MEDIATEK || COMPILE_TEST
298 select COMMON_CLK_MEDIATEK
299 default ARCH_MEDIATEK
301 This driver supports MediaTek MT8516 clocks.
303 config COMMON_CLK_MT8516_AUDSYS
304 bool "Clock driver for MediaTek MT8516 audsys"
305 depends on COMMON_CLK_MT8516
307 This driver supports MediaTek MT8516 audsys clocks.