blob: 89ceb2fbc7c451632a881f6bb5b405afa1663609 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
James Liao2886c842016-08-19 13:34:49 +08002#
Sean Wang16a1ac12017-12-20 14:42:58 +08003# MediaTek Clock Drivers
James Liao2886c842016-08-19 13:34:49 +08004#
Sean Wang16a1ac12017-12-20 14:42:58 +08005menu "Clock driver for MediaTek SoC"
6 depends on ARCH_MEDIATEK || COMPILE_TEST
7
James Liao2886c842016-08-19 13:34:49 +08008config COMMON_CLK_MEDIATEK
9 bool
Sean Wangbc273602018-01-05 16:14:06 +080010 select RESET_CONTROLLER
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090011 help
Sean Wang16a1ac12017-12-20 14:42:58 +080012 MediaTek SoCs' clock support.
James Liao2886c842016-08-19 13:34:49 +080013
Shunli Wange9862112016-11-04 15:43:05 +080014config COMMON_CLK_MT2701
Sean Wang16a1ac12017-12-20 14:42:58 +080015 bool "Clock driver for MediaTek MT2701"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010016 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
Shunli Wange9862112016-11-04 15:43:05 +080017 select COMMON_CLK_MEDIATEK
Jean Delvare6e9c0d52017-01-24 13:07:04 +010018 default ARCH_MEDIATEK && ARM
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090019 help
Sean Wang16a1ac12017-12-20 14:42:58 +080020 This driver supports MediaTek MT2701 basic clocks.
Shunli Wange9862112016-11-04 15:43:05 +080021
22config COMMON_CLK_MT2701_MMSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080023 bool "Clock driver for MediaTek MT2701 mmsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010024 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090025 help
Sean Wang16a1ac12017-12-20 14:42:58 +080026 This driver supports MediaTek MT2701 mmsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080027
28config COMMON_CLK_MT2701_IMGSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080029 bool "Clock driver for MediaTek MT2701 imgsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010030 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090031 help
Sean Wang16a1ac12017-12-20 14:42:58 +080032 This driver supports MediaTek MT2701 imgsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080033
34config COMMON_CLK_MT2701_VDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080035 bool "Clock driver for MediaTek MT2701 vdecsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010036 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090037 help
Sean Wang16a1ac12017-12-20 14:42:58 +080038 This driver supports MediaTek MT2701 vdecsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080039
40config COMMON_CLK_MT2701_HIFSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080041 bool "Clock driver for MediaTek MT2701 hifsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010042 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090043 help
Sean Wang16a1ac12017-12-20 14:42:58 +080044 This driver supports MediaTek MT2701 hifsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080045
46config COMMON_CLK_MT2701_ETHSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080047 bool "Clock driver for MediaTek MT2701 ethsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010048 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090049 help
Sean Wang16a1ac12017-12-20 14:42:58 +080050 This driver supports MediaTek MT2701 ethsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080051
52config COMMON_CLK_MT2701_BDPSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080053 bool "Clock driver for MediaTek MT2701 bdpsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010054 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090055 help
Sean Wang16a1ac12017-12-20 14:42:58 +080056 This driver supports MediaTek MT2701 bdpsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080057
Ryder Leeb572f632018-03-20 11:16:52 +080058config COMMON_CLK_MT2701_AUDSYS
59 bool "Clock driver for Mediatek MT2701 audsys"
60 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090061 help
Ryder Leeb572f632018-03-20 11:16:52 +080062 This driver supports Mediatek MT2701 audsys clocks.
63
Sean Wanga11ca682018-04-27 16:14:46 +080064config COMMON_CLK_MT2701_G3DSYS
65 bool "Clock driver for MediaTek MT2701 g3dsys"
66 depends on COMMON_CLK_MT2701
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090067 help
Sean Wanga11ca682018-04-27 16:14:46 +080068 This driver supports MediaTek MT2701 g3dsys clocks.
69
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080070config COMMON_CLK_MT2712
Sean Wang16a1ac12017-12-20 14:42:58 +080071 bool "Clock driver for MediaTek MT2712"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080072 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
73 select COMMON_CLK_MEDIATEK
74 default ARCH_MEDIATEK && ARM64
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090075 help
Sean Wang16a1ac12017-12-20 14:42:58 +080076 This driver supports MediaTek MT2712 basic clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080077
78config COMMON_CLK_MT2712_BDPSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080079 bool "Clock driver for MediaTek MT2712 bdpsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080080 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090081 help
Sean Wang16a1ac12017-12-20 14:42:58 +080082 This driver supports MediaTek MT2712 bdpsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080083
84config COMMON_CLK_MT2712_IMGSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080085 bool "Clock driver for MediaTek MT2712 imgsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080086 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090087 help
Sean Wang16a1ac12017-12-20 14:42:58 +080088 This driver supports MediaTek MT2712 imgsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080089
90config COMMON_CLK_MT2712_JPGDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080091 bool "Clock driver for MediaTek MT2712 jpgdecsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080092 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090093 help
Sean Wang16a1ac12017-12-20 14:42:58 +080094 This driver supports MediaTek MT2712 jpgdecsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080095
96config COMMON_CLK_MT2712_MFGCFG
Sean Wang16a1ac12017-12-20 14:42:58 +080097 bool "Clock driver for MediaTek MT2712 mfgcfg"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080098 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090099 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800100 This driver supports MediaTek MT2712 mfgcfg clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800101
102config COMMON_CLK_MT2712_MMSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800103 bool "Clock driver for MediaTek MT2712 mmsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800104 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900105 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800106 This driver supports MediaTek MT2712 mmsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800107
108config COMMON_CLK_MT2712_VDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800109 bool "Clock driver for MediaTek MT2712 vdecsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800110 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900111 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800112 This driver supports MediaTek MT2712 vdecsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800113
114config COMMON_CLK_MT2712_VENCSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800115 bool "Clock driver for MediaTek MT2712 vencsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800116 depends on COMMON_CLK_MT2712
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900117 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800118 This driver supports MediaTek MT2712 vencsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800119
Owen Chen1aca9932020-02-21 17:52:22 +0800120config COMMON_CLK_MT6765
121 bool "Clock driver for MediaTek MT6765"
122 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
123 select COMMON_CLK_MEDIATEK
124 default ARCH_MEDIATEK && ARM64
125 help
126 This driver supports MediaTek MT6765 basic clocks.
127
128config COMMON_CLK_MT6765_AUDIOSYS
129 bool "Clock driver for MediaTek MT6765 audiosys"
130 depends on COMMON_CLK_MT6765
131 help
132 This driver supports MediaTek MT6765 audiosys clocks.
133
134config COMMON_CLK_MT6765_CAMSYS
135 bool "Clock driver for MediaTek MT6765 camsys"
136 depends on COMMON_CLK_MT6765
137 help
138 This driver supports MediaTek MT6765 camsys clocks.
139
140config COMMON_CLK_MT6765_GCESYS
141 bool "Clock driver for MediaTek MT6765 gcesys"
142 depends on COMMON_CLK_MT6765
143 help
144 This driver supports MediaTek MT6765 gcesys clocks.
145
146config COMMON_CLK_MT6765_MMSYS
147 bool "Clock driver for MediaTek MT6765 mmsys"
148 depends on COMMON_CLK_MT6765
149 help
150 This driver supports MediaTek MT6765 mmsys clocks.
151
152config COMMON_CLK_MT6765_IMGSYS
153 bool "Clock driver for MediaTek MT6765 imgsys"
154 depends on COMMON_CLK_MT6765
155 help
156 This driver supports MediaTek MT6765 imgsys clocks.
157
158config COMMON_CLK_MT6765_VCODECSYS
159 bool "Clock driver for MediaTek MT6765 vcodecsys"
160 depends on COMMON_CLK_MT6765
161 help
162 This driver supports MediaTek MT6765 vcodecsys clocks.
163
164config COMMON_CLK_MT6765_MFGSYS
165 bool "Clock driver for MediaTek MT6765 mfgsys"
166 depends on COMMON_CLK_MT6765
167 help
168 This driver supports MediaTek MT6765 mfgsys clocks.
169
170config COMMON_CLK_MT6765_MIPI0ASYS
171 bool "Clock driver for MediaTek MT6765 mipi0asys"
172 depends on COMMON_CLK_MT6765
173 help
174 This driver supports MediaTek MT6765 mipi0asys clocks.
175
176config COMMON_CLK_MT6765_MIPI0BSYS
177 bool "Clock driver for MediaTek MT6765 mipi0bsys"
178 depends on COMMON_CLK_MT6765
179 help
180 This driver supports MediaTek MT6765 mipi0bsys clocks.
181
182config COMMON_CLK_MT6765_MIPI1ASYS
183 bool "Clock driver for MediaTek MT6765 mipi1asys"
184 depends on COMMON_CLK_MT6765
185 help
186 This driver supports MediaTek MT6765 mipi1asys clocks.
187
188config COMMON_CLK_MT6765_MIPI1BSYS
189 bool "Clock driver for MediaTek MT6765 mipi1bsys"
190 depends on COMMON_CLK_MT6765
191 help
192 This driver supports MediaTek MT6765 mipi1bsys clocks.
193
194config COMMON_CLK_MT6765_MIPI2ASYS
195 bool "Clock driver for MediaTek MT6765 mipi2asys"
196 depends on COMMON_CLK_MT6765
197 help
198 This driver supports MediaTek MT6765 mipi2asys clocks.
199
200config COMMON_CLK_MT6765_MIPI2BSYS
201 bool "Clock driver for MediaTek MT6765 mipi2bsys"
202 depends on COMMON_CLK_MT6765
203 help
204 This driver supports MediaTek MT6765 mipi2bsys clocks.
205
mtk01761710774e2019-08-19 17:21:41 +0800206config COMMON_CLK_MT6779
207 bool "Clock driver for MediaTek MT6779"
208 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
209 select COMMON_CLK_MEDIATEK
210 default ARCH_MEDIATEK && ARM64
211 help
212 This driver supports MediaTek MT6779 basic clocks.
213
214config COMMON_CLK_MT6779_MMSYS
215 bool "Clock driver for MediaTek MT6779 mmsys"
216 depends on COMMON_CLK_MT6779
217 help
218 This driver supports MediaTek MT6779 mmsys clocks.
219
220config COMMON_CLK_MT6779_IMGSYS
221 bool "Clock driver for MediaTek MT6779 imgsys"
222 depends on COMMON_CLK_MT6779
223 help
224 This driver supports MediaTek MT6779 imgsys clocks.
225
226config COMMON_CLK_MT6779_IPESYS
227 bool "Clock driver for MediaTek MT6779 ipesys"
228 depends on COMMON_CLK_MT6779
229 help
230 This driver supports MediaTek MT6779 ipesys clocks.
231
232config COMMON_CLK_MT6779_CAMSYS
233 bool "Clock driver for MediaTek MT6779 camsys"
234 depends on COMMON_CLK_MT6779
235 help
236 This driver supports MediaTek MT6779 camsys clocks.
237
238config COMMON_CLK_MT6779_VDECSYS
239 bool "Clock driver for MediaTek MT6779 vdecsys"
240 depends on COMMON_CLK_MT6779
241 help
242 This driver supports MediaTek MT6779 vdecsys clocks.
243
244config COMMON_CLK_MT6779_VENCSYS
245 bool "Clock driver for MediaTek MT6779 vencsys"
246 depends on COMMON_CLK_MT6779
247 help
248 This driver supports MediaTek MT6779 vencsys clocks.
249
250config COMMON_CLK_MT6779_MFGCFG
251 bool "Clock driver for MediaTek MT6779 mfgcfg"
252 depends on COMMON_CLK_MT6779
253 help
254 This driver supports MediaTek MT6779 mfgcfg clocks.
255
256config COMMON_CLK_MT6779_AUDSYS
257 bool "Clock driver for Mediatek MT6779 audsys"
258 depends on COMMON_CLK_MT6779
259 help
260 This driver supports Mediatek MT6779 audsys clocks.
261
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800262config COMMON_CLK_MT6797
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100263 bool "Clock driver for MediaTek MT6797"
264 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
265 select COMMON_CLK_MEDIATEK
266 default ARCH_MEDIATEK && ARM64
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900267 help
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100268 This driver supports MediaTek MT6797 basic clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800269
270config COMMON_CLK_MT6797_MMSYS
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100271 bool "Clock driver for MediaTek MT6797 mmsys"
272 depends on COMMON_CLK_MT6797
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900273 help
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100274 This driver supports MediaTek MT6797 mmsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800275
276config COMMON_CLK_MT6797_IMGSYS
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100277 bool "Clock driver for MediaTek MT6797 imgsys"
278 depends on COMMON_CLK_MT6797
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900279 help
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100280 This driver supports MediaTek MT6797 imgsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800281
282config COMMON_CLK_MT6797_VDECSYS
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100283 bool "Clock driver for MediaTek MT6797 vdecsys"
284 depends on COMMON_CLK_MT6797
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900285 help
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100286 This driver supports MediaTek MT6797 vdecsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800287
288config COMMON_CLK_MT6797_VENCSYS
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100289 bool "Clock driver for MediaTek MT6797 vencsys"
290 depends on COMMON_CLK_MT6797
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900291 help
Krzysztof Kozlowski333d2d12019-11-21 04:18:55 +0100292 This driver supports MediaTek MT6797 vencsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800293
Sean Wang2fc0a502017-10-05 11:50:24 +0800294config COMMON_CLK_MT7622
295 bool "Clock driver for MediaTek MT7622"
296 depends on ARCH_MEDIATEK || COMPILE_TEST
297 select COMMON_CLK_MEDIATEK
298 default ARCH_MEDIATEK
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900299 help
Sean Wang2fc0a502017-10-05 11:50:24 +0800300 This driver supports MediaTek MT7622 basic clocks and clocks
301 required for various periperals found on MediaTek.
302
303config COMMON_CLK_MT7622_ETHSYS
304 bool "Clock driver for MediaTek MT7622 ETHSYS"
305 depends on COMMON_CLK_MT7622
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900306 help
Sean Wang2fc0a502017-10-05 11:50:24 +0800307 This driver add support for clocks for Ethernet and SGMII
308 required on MediaTek MT7622 SoC.
309
310config COMMON_CLK_MT7622_HIFSYS
311 bool "Clock driver for MediaTek MT7622 HIFSYS"
312 depends on COMMON_CLK_MT7622
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900313 help
Sean Wang2fc0a502017-10-05 11:50:24 +0800314 This driver supports MediaTek MT7622 HIFSYS clocks providing
315 to PCI-E and USB.
316
317config COMMON_CLK_MT7622_AUDSYS
318 bool "Clock driver for MediaTek MT7622 AUDSYS"
319 depends on COMMON_CLK_MT7622
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900320 help
Sean Wang2fc0a502017-10-05 11:50:24 +0800321 This driver supports MediaTek MT7622 AUDSYS clocks providing
322 to audio consumers such as I2S and TDM.
323
Ryder Lee3b5e7482018-11-05 16:43:55 +0800324config COMMON_CLK_MT7629
325 bool "Clock driver for MediaTek MT7629"
326 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
327 select COMMON_CLK_MEDIATEK
328 default ARCH_MEDIATEK && ARM
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900329 help
Ryder Lee3b5e7482018-11-05 16:43:55 +0800330 This driver supports MediaTek MT7629 basic clocks and clocks
331 required for various periperals found on MediaTek.
332
333config COMMON_CLK_MT7629_ETHSYS
334 bool "Clock driver for MediaTek MT7629 ETHSYS"
335 depends on COMMON_CLK_MT7629
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900336 help
Ryder Lee3b5e7482018-11-05 16:43:55 +0800337 This driver add support for clocks for Ethernet and SGMII
338 required on MediaTek MT7629 SoC.
339
340config COMMON_CLK_MT7629_HIFSYS
341 bool "Clock driver for MediaTek MT7629 HIFSYS"
342 depends on COMMON_CLK_MT7629
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900343 help
Ryder Lee3b5e7482018-11-05 16:43:55 +0800344 This driver supports MediaTek MT7629 HIFSYS clocks providing
345 to PCI-E and USB.
346
James Liao2886c842016-08-19 13:34:49 +0800347config COMMON_CLK_MT8135
Sean Wang16a1ac12017-12-20 14:42:58 +0800348 bool "Clock driver for MediaTek MT8135"
Jean Delvare3d21a4b2017-01-24 13:09:12 +0100349 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
James Liao2886c842016-08-19 13:34:49 +0800350 select COMMON_CLK_MEDIATEK
Jean Delvare3d21a4b2017-01-24 13:09:12 +0100351 default ARCH_MEDIATEK && ARM
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900352 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800353 This driver supports MediaTek MT8135 clocks.
James Liao2886c842016-08-19 13:34:49 +0800354
355config COMMON_CLK_MT8173
Sean Wang16a1ac12017-12-20 14:42:58 +0800356 bool "Clock driver for MediaTek MT8173"
Jean Delvare234d5112016-10-14 14:44:13 +0200357 depends on ARCH_MEDIATEK || COMPILE_TEST
James Liao2886c842016-08-19 13:34:49 +0800358 select COMMON_CLK_MEDIATEK
359 default ARCH_MEDIATEK
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +0900360 help
Sean Wang16a1ac12017-12-20 14:42:58 +0800361 This driver supports MediaTek MT8173 clocks.
Weiyi Luacddfc22019-03-05 13:05:45 +0800362
Matthias Brugger13032702020-03-25 18:31:21 +0100363config COMMON_CLK_MT8173_MMSYS
364 bool "Clock driver for MediaTek MT8173 mmsys"
365 depends on COMMON_CLK_MT8173
366 default COMMON_CLK_MT8173
367 help
368 This driver supports MediaTek MT8173 mmsys clocks.
369
Weiyi Luacddfc22019-03-05 13:05:45 +0800370config COMMON_CLK_MT8183
371 bool "Clock driver for MediaTek MT8183"
372 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
373 select COMMON_CLK_MEDIATEK
374 default ARCH_MEDIATEK && ARM64
375 help
376 This driver supports MediaTek MT8183 basic clocks.
377
378config COMMON_CLK_MT8183_AUDIOSYS
379 bool "Clock driver for MediaTek MT8183 audiosys"
380 depends on COMMON_CLK_MT8183
381 help
382 This driver supports MediaTek MT8183 audiosys clocks.
383
384config COMMON_CLK_MT8183_CAMSYS
385 bool "Clock driver for MediaTek MT8183 camsys"
386 depends on COMMON_CLK_MT8183
387 help
388 This driver supports MediaTek MT8183 camsys clocks.
389
390config COMMON_CLK_MT8183_IMGSYS
391 bool "Clock driver for MediaTek MT8183 imgsys"
392 depends on COMMON_CLK_MT8183
393 help
394 This driver supports MediaTek MT8183 imgsys clocks.
395
396config COMMON_CLK_MT8183_IPU_CORE0
397 bool "Clock driver for MediaTek MT8183 ipu_core0"
398 depends on COMMON_CLK_MT8183
399 help
400 This driver supports MediaTek MT8183 ipu_core0 clocks.
401
402config COMMON_CLK_MT8183_IPU_CORE1
403 bool "Clock driver for MediaTek MT8183 ipu_core1"
404 depends on COMMON_CLK_MT8183
405 help
406 This driver supports MediaTek MT8183 ipu_core1 clocks.
407
408config COMMON_CLK_MT8183_IPU_ADL
409 bool "Clock driver for MediaTek MT8183 ipu_adl"
410 depends on COMMON_CLK_MT8183
411 help
412 This driver supports MediaTek MT8183 ipu_adl clocks.
413
414config COMMON_CLK_MT8183_IPU_CONN
415 bool "Clock driver for MediaTek MT8183 ipu_conn"
416 depends on COMMON_CLK_MT8183
417 help
418 This driver supports MediaTek MT8183 ipu_conn clocks.
419
420config COMMON_CLK_MT8183_MFGCFG
421 bool "Clock driver for MediaTek MT8183 mfgcfg"
422 depends on COMMON_CLK_MT8183
423 help
424 This driver supports MediaTek MT8183 mfgcfg clocks.
425
426config COMMON_CLK_MT8183_MMSYS
427 bool "Clock driver for MediaTek MT8183 mmsys"
428 depends on COMMON_CLK_MT8183
429 help
430 This driver supports MediaTek MT8183 mmsys clocks.
431
432config COMMON_CLK_MT8183_VDECSYS
433 bool "Clock driver for MediaTek MT8183 vdecsys"
434 depends on COMMON_CLK_MT8183
435 help
436 This driver supports MediaTek MT8183 vdecsys clocks.
437
438config COMMON_CLK_MT8183_VENCSYS
439 bool "Clock driver for MediaTek MT8183 vencsys"
440 depends on COMMON_CLK_MT8183
441 help
442 This driver supports MediaTek MT8183 vencsys clocks.
443
Fabien Parentdb077fe2019-03-23 22:16:02 +0100444config COMMON_CLK_MT8516
445 bool "Clock driver for MediaTek MT8516"
446 depends on ARCH_MEDIATEK || COMPILE_TEST
447 select COMMON_CLK_MEDIATEK
448 default ARCH_MEDIATEK
449 help
450 This driver supports MediaTek MT8516 clocks.
451
Fabien Parent0fd49392019-05-02 14:18:43 +0200452config COMMON_CLK_MT8516_AUDSYS
453 bool "Clock driver for MediaTek MT8516 audsys"
454 depends on COMMON_CLK_MT8516
455 help
456 This driver supports MediaTek MT8516 audsys clocks.
457
Sean Wang16a1ac12017-12-20 14:42:58 +0800458endmenu