xref: /openbmc/linux/drivers/clk/mediatek/Kconfig (revision 6c33a6f4)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# MediaTek Clock Drivers
4#
5menu "Clock driver for MediaTek SoC"
6	depends on ARCH_MEDIATEK || COMPILE_TEST
7
8config COMMON_CLK_MEDIATEK
9	bool
10	select RESET_CONTROLLER
11	---help---
12	  MediaTek SoCs' clock support.
13
14config 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
19	---help---
20	  This driver supports MediaTek MT2701 basic clocks.
21
22config COMMON_CLK_MT2701_MMSYS
23	bool "Clock driver for MediaTek MT2701 mmsys"
24	depends on COMMON_CLK_MT2701
25	---help---
26	  This driver supports MediaTek MT2701 mmsys clocks.
27
28config COMMON_CLK_MT2701_IMGSYS
29	bool "Clock driver for MediaTek MT2701 imgsys"
30	depends on COMMON_CLK_MT2701
31	---help---
32	  This driver supports MediaTek MT2701 imgsys clocks.
33
34config COMMON_CLK_MT2701_VDECSYS
35	bool "Clock driver for MediaTek MT2701 vdecsys"
36	depends on COMMON_CLK_MT2701
37	---help---
38	  This driver supports MediaTek MT2701 vdecsys clocks.
39
40config COMMON_CLK_MT2701_HIFSYS
41	bool "Clock driver for MediaTek MT2701 hifsys"
42	depends on COMMON_CLK_MT2701
43	---help---
44	  This driver supports MediaTek MT2701 hifsys clocks.
45
46config COMMON_CLK_MT2701_ETHSYS
47	bool "Clock driver for MediaTek MT2701 ethsys"
48	depends on COMMON_CLK_MT2701
49	---help---
50	  This driver supports MediaTek MT2701 ethsys clocks.
51
52config COMMON_CLK_MT2701_BDPSYS
53	bool "Clock driver for MediaTek MT2701 bdpsys"
54	depends on COMMON_CLK_MT2701
55	---help---
56	  This driver supports MediaTek MT2701 bdpsys clocks.
57
58config COMMON_CLK_MT2701_AUDSYS
59	bool "Clock driver for Mediatek MT2701 audsys"
60	depends on COMMON_CLK_MT2701
61	---help---
62	  This driver supports Mediatek MT2701 audsys clocks.
63
64config COMMON_CLK_MT2701_G3DSYS
65	bool "Clock driver for MediaTek MT2701 g3dsys"
66	depends on COMMON_CLK_MT2701
67	---help---
68	  This driver supports MediaTek MT2701 g3dsys clocks.
69
70config 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
75	---help---
76	  This driver supports MediaTek MT2712 basic clocks.
77
78config COMMON_CLK_MT2712_BDPSYS
79	bool "Clock driver for MediaTek MT2712 bdpsys"
80	depends on COMMON_CLK_MT2712
81	---help---
82	  This driver supports MediaTek MT2712 bdpsys clocks.
83
84config COMMON_CLK_MT2712_IMGSYS
85	bool "Clock driver for MediaTek MT2712 imgsys"
86	depends on COMMON_CLK_MT2712
87	---help---
88	  This driver supports MediaTek MT2712 imgsys clocks.
89
90config COMMON_CLK_MT2712_JPGDECSYS
91	bool "Clock driver for MediaTek MT2712 jpgdecsys"
92	depends on COMMON_CLK_MT2712
93	---help---
94	  This driver supports MediaTek MT2712 jpgdecsys clocks.
95
96config COMMON_CLK_MT2712_MFGCFG
97	bool "Clock driver for MediaTek MT2712 mfgcfg"
98	depends on COMMON_CLK_MT2712
99	---help---
100	  This driver supports MediaTek MT2712 mfgcfg clocks.
101
102config COMMON_CLK_MT2712_MMSYS
103	bool "Clock driver for MediaTek MT2712 mmsys"
104	depends on COMMON_CLK_MT2712
105	---help---
106	  This driver supports MediaTek MT2712 mmsys clocks.
107
108config COMMON_CLK_MT2712_VDECSYS
109	bool "Clock driver for MediaTek MT2712 vdecsys"
110	depends on COMMON_CLK_MT2712
111	---help---
112	  This driver supports MediaTek MT2712 vdecsys clocks.
113
114config COMMON_CLK_MT2712_VENCSYS
115	bool "Clock driver for MediaTek MT2712 vencsys"
116	depends on COMMON_CLK_MT2712
117	---help---
118	  This driver supports MediaTek MT2712 vencsys clocks.
119
120config 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
125	help
126	  This driver supports MediaTek MT6779 basic clocks.
127
128config COMMON_CLK_MT6779_MMSYS
129	bool "Clock driver for MediaTek MT6779 mmsys"
130	depends on COMMON_CLK_MT6779
131	help
132	  This driver supports MediaTek MT6779 mmsys clocks.
133
134config COMMON_CLK_MT6779_IMGSYS
135	bool "Clock driver for MediaTek MT6779 imgsys"
136	depends on COMMON_CLK_MT6779
137	help
138	  This driver supports MediaTek MT6779 imgsys clocks.
139
140config COMMON_CLK_MT6779_IPESYS
141	bool "Clock driver for MediaTek MT6779 ipesys"
142	depends on COMMON_CLK_MT6779
143	help
144	  This driver supports MediaTek MT6779 ipesys clocks.
145
146config COMMON_CLK_MT6779_CAMSYS
147	bool "Clock driver for MediaTek MT6779 camsys"
148	depends on COMMON_CLK_MT6779
149	help
150	  This driver supports MediaTek MT6779 camsys clocks.
151
152config COMMON_CLK_MT6779_VDECSYS
153	bool "Clock driver for MediaTek MT6779 vdecsys"
154	depends on COMMON_CLK_MT6779
155	help
156	  This driver supports MediaTek MT6779 vdecsys clocks.
157
158config COMMON_CLK_MT6779_VENCSYS
159	bool "Clock driver for MediaTek MT6779 vencsys"
160	depends on COMMON_CLK_MT6779
161	help
162	  This driver supports MediaTek MT6779 vencsys clocks.
163
164config COMMON_CLK_MT6779_MFGCFG
165	bool "Clock driver for MediaTek MT6779 mfgcfg"
166	depends on COMMON_CLK_MT6779
167	help
168	  This driver supports MediaTek MT6779 mfgcfg clocks.
169
170config COMMON_CLK_MT6779_AUDSYS
171	bool "Clock driver for Mediatek MT6779 audsys"
172	depends on COMMON_CLK_MT6779
173	help
174	  This driver supports Mediatek MT6779 audsys clocks.
175
176config 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
181	---help---
182	  This driver supports MediaTek MT6797 basic clocks.
183
184config COMMON_CLK_MT6797_MMSYS
185	bool "Clock driver for MediaTek MT6797 mmsys"
186	depends on COMMON_CLK_MT6797
187	---help---
188	  This driver supports MediaTek MT6797 mmsys clocks.
189
190config COMMON_CLK_MT6797_IMGSYS
191	bool "Clock driver for MediaTek MT6797 imgsys"
192	depends on COMMON_CLK_MT6797
193	---help---
194	  This driver supports MediaTek MT6797 imgsys clocks.
195
196config COMMON_CLK_MT6797_VDECSYS
197	bool "Clock driver for MediaTek MT6797 vdecsys"
198	depends on COMMON_CLK_MT6797
199	---help---
200	  This driver supports MediaTek MT6797 vdecsys clocks.
201
202config COMMON_CLK_MT6797_VENCSYS
203	bool "Clock driver for MediaTek MT6797 vencsys"
204	depends on COMMON_CLK_MT6797
205	---help---
206	  This driver supports MediaTek MT6797 vencsys clocks.
207
208config 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
213	---help---
214	  This driver supports MediaTek MT7622 basic clocks and clocks
215	  required for various periperals found on MediaTek.
216
217config COMMON_CLK_MT7622_ETHSYS
218	bool "Clock driver for MediaTek MT7622 ETHSYS"
219	depends on COMMON_CLK_MT7622
220	---help---
221	  This driver add support for clocks for Ethernet and SGMII
222	  required on MediaTek MT7622 SoC.
223
224config COMMON_CLK_MT7622_HIFSYS
225	bool "Clock driver for MediaTek MT7622 HIFSYS"
226	depends on COMMON_CLK_MT7622
227	---help---
228	  This driver supports MediaTek MT7622 HIFSYS clocks providing
229	  to PCI-E and USB.
230
231config COMMON_CLK_MT7622_AUDSYS
232	bool "Clock driver for MediaTek MT7622 AUDSYS"
233	depends on COMMON_CLK_MT7622
234	---help---
235	  This driver supports MediaTek MT7622 AUDSYS clocks providing
236	  to audio consumers such as I2S and TDM.
237
238config 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
243	---help---
244	  This driver supports MediaTek MT7629 basic clocks and clocks
245	  required for various periperals found on MediaTek.
246
247config COMMON_CLK_MT7629_ETHSYS
248	bool "Clock driver for MediaTek MT7629 ETHSYS"
249	depends on COMMON_CLK_MT7629
250	---help---
251	  This driver add support for clocks for Ethernet and SGMII
252	  required on MediaTek MT7629 SoC.
253
254config COMMON_CLK_MT7629_HIFSYS
255	bool "Clock driver for MediaTek MT7629 HIFSYS"
256	depends on COMMON_CLK_MT7629
257	---help---
258	  This driver supports MediaTek MT7629 HIFSYS clocks providing
259	  to PCI-E and USB.
260
261config 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
266	---help---
267	  This driver supports MediaTek MT8135 clocks.
268
269config 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
274	---help---
275	  This driver supports MediaTek MT8173 clocks.
276
277config 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
282	help
283	  This driver supports MediaTek MT8183 basic clocks.
284
285config COMMON_CLK_MT8183_AUDIOSYS
286	bool "Clock driver for MediaTek MT8183 audiosys"
287	depends on COMMON_CLK_MT8183
288	help
289	  This driver supports MediaTek MT8183 audiosys clocks.
290
291config COMMON_CLK_MT8183_CAMSYS
292	bool "Clock driver for MediaTek MT8183 camsys"
293	depends on COMMON_CLK_MT8183
294	help
295	  This driver supports MediaTek MT8183 camsys clocks.
296
297config COMMON_CLK_MT8183_IMGSYS
298	bool "Clock driver for MediaTek MT8183 imgsys"
299	depends on COMMON_CLK_MT8183
300	help
301	  This driver supports MediaTek MT8183 imgsys clocks.
302
303config COMMON_CLK_MT8183_IPU_CORE0
304	bool "Clock driver for MediaTek MT8183 ipu_core0"
305	depends on COMMON_CLK_MT8183
306	help
307	  This driver supports MediaTek MT8183 ipu_core0 clocks.
308
309config COMMON_CLK_MT8183_IPU_CORE1
310	bool "Clock driver for MediaTek MT8183 ipu_core1"
311	depends on COMMON_CLK_MT8183
312	help
313	  This driver supports MediaTek MT8183 ipu_core1 clocks.
314
315config COMMON_CLK_MT8183_IPU_ADL
316	bool "Clock driver for MediaTek MT8183 ipu_adl"
317	depends on COMMON_CLK_MT8183
318	help
319	  This driver supports MediaTek MT8183 ipu_adl clocks.
320
321config COMMON_CLK_MT8183_IPU_CONN
322	bool "Clock driver for MediaTek MT8183 ipu_conn"
323	depends on COMMON_CLK_MT8183
324	help
325	  This driver supports MediaTek MT8183 ipu_conn clocks.
326
327config COMMON_CLK_MT8183_MFGCFG
328	bool "Clock driver for MediaTek MT8183 mfgcfg"
329	depends on COMMON_CLK_MT8183
330	help
331	  This driver supports MediaTek MT8183 mfgcfg clocks.
332
333config COMMON_CLK_MT8183_MMSYS
334	bool "Clock driver for MediaTek MT8183 mmsys"
335	depends on COMMON_CLK_MT8183
336	help
337	  This driver supports MediaTek MT8183 mmsys clocks.
338
339config COMMON_CLK_MT8183_VDECSYS
340	bool "Clock driver for MediaTek MT8183 vdecsys"
341	depends on COMMON_CLK_MT8183
342	help
343	  This driver supports MediaTek MT8183 vdecsys clocks.
344
345config COMMON_CLK_MT8183_VENCSYS
346	bool "Clock driver for MediaTek MT8183 vencsys"
347	depends on COMMON_CLK_MT8183
348	help
349	  This driver supports MediaTek MT8183 vencsys clocks.
350
351config 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
356	help
357	  This driver supports MediaTek MT8516 clocks.
358
359config COMMON_CLK_MT8516_AUDSYS
360	bool "Clock driver for MediaTek MT8516 audsys"
361	depends on COMMON_CLK_MT8516
362	help
363	  This driver supports MediaTek MT8516 audsys clocks.
364
365endmenu
366