xref: /openbmc/linux/drivers/clk/mediatek/Kconfig (revision 2127c01b)
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_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
125       ---help---
126         This driver supports MediaTek MT6797 basic clocks.
127
128config COMMON_CLK_MT6797_MMSYS
129       bool "Clock driver for MediaTek MT6797 mmsys"
130       depends on COMMON_CLK_MT6797
131       ---help---
132         This driver supports MediaTek MT6797 mmsys clocks.
133
134config COMMON_CLK_MT6797_IMGSYS
135       bool "Clock driver for MediaTek MT6797 imgsys"
136       depends on COMMON_CLK_MT6797
137       ---help---
138         This driver supports MediaTek MT6797 imgsys clocks.
139
140config COMMON_CLK_MT6797_VDECSYS
141       bool "Clock driver for MediaTek MT6797 vdecsys"
142       depends on COMMON_CLK_MT6797
143       ---help---
144         This driver supports MediaTek MT6797 vdecsys clocks.
145
146config COMMON_CLK_MT6797_VENCSYS
147       bool "Clock driver for MediaTek MT6797 vencsys"
148       depends on COMMON_CLK_MT6797
149       ---help---
150         This driver supports MediaTek MT6797 vencsys clocks.
151
152config 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
157	---help---
158	  This driver supports MediaTek MT7622 basic clocks and clocks
159	  required for various periperals found on MediaTek.
160
161config COMMON_CLK_MT7622_ETHSYS
162	bool "Clock driver for MediaTek MT7622 ETHSYS"
163	depends on COMMON_CLK_MT7622
164	---help---
165	  This driver add support for clocks for Ethernet and SGMII
166	  required on MediaTek MT7622 SoC.
167
168config COMMON_CLK_MT7622_HIFSYS
169	bool "Clock driver for MediaTek MT7622 HIFSYS"
170	depends on COMMON_CLK_MT7622
171	---help---
172	  This driver supports MediaTek MT7622 HIFSYS clocks providing
173	  to PCI-E and USB.
174
175config COMMON_CLK_MT7622_AUDSYS
176	bool "Clock driver for MediaTek MT7622 AUDSYS"
177	depends on COMMON_CLK_MT7622
178	---help---
179	  This driver supports MediaTek MT7622 AUDSYS clocks providing
180	  to audio consumers such as I2S and TDM.
181
182config 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
187	---help---
188	  This driver supports MediaTek MT7629 basic clocks and clocks
189	  required for various periperals found on MediaTek.
190
191config COMMON_CLK_MT7629_ETHSYS
192	bool "Clock driver for MediaTek MT7629 ETHSYS"
193	depends on COMMON_CLK_MT7629
194	---help---
195	  This driver add support for clocks for Ethernet and SGMII
196	  required on MediaTek MT7629 SoC.
197
198config COMMON_CLK_MT7629_HIFSYS
199	bool "Clock driver for MediaTek MT7629 HIFSYS"
200	depends on COMMON_CLK_MT7629
201	---help---
202	  This driver supports MediaTek MT7629 HIFSYS clocks providing
203	  to PCI-E and USB.
204
205config 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
210	---help---
211	  This driver supports MediaTek MT8135 clocks.
212
213config 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
218	---help---
219	  This driver supports MediaTek MT8173 clocks.
220
221config 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
226	help
227	  This driver supports MediaTek MT8183 basic clocks.
228
229config COMMON_CLK_MT8183_AUDIOSYS
230	bool "Clock driver for MediaTek MT8183 audiosys"
231	depends on COMMON_CLK_MT8183
232	help
233	  This driver supports MediaTek MT8183 audiosys clocks.
234
235config COMMON_CLK_MT8183_CAMSYS
236	bool "Clock driver for MediaTek MT8183 camsys"
237	depends on COMMON_CLK_MT8183
238	help
239	  This driver supports MediaTek MT8183 camsys clocks.
240
241config COMMON_CLK_MT8183_IMGSYS
242	bool "Clock driver for MediaTek MT8183 imgsys"
243	depends on COMMON_CLK_MT8183
244	help
245	  This driver supports MediaTek MT8183 imgsys clocks.
246
247config COMMON_CLK_MT8183_IPU_CORE0
248	bool "Clock driver for MediaTek MT8183 ipu_core0"
249	depends on COMMON_CLK_MT8183
250	help
251	  This driver supports MediaTek MT8183 ipu_core0 clocks.
252
253config COMMON_CLK_MT8183_IPU_CORE1
254	bool "Clock driver for MediaTek MT8183 ipu_core1"
255	depends on COMMON_CLK_MT8183
256	help
257	  This driver supports MediaTek MT8183 ipu_core1 clocks.
258
259config COMMON_CLK_MT8183_IPU_ADL
260	bool "Clock driver for MediaTek MT8183 ipu_adl"
261	depends on COMMON_CLK_MT8183
262	help
263	  This driver supports MediaTek MT8183 ipu_adl clocks.
264
265config COMMON_CLK_MT8183_IPU_CONN
266	bool "Clock driver for MediaTek MT8183 ipu_conn"
267	depends on COMMON_CLK_MT8183
268	help
269	  This driver supports MediaTek MT8183 ipu_conn clocks.
270
271config COMMON_CLK_MT8183_MFGCFG
272	bool "Clock driver for MediaTek MT8183 mfgcfg"
273	depends on COMMON_CLK_MT8183
274	help
275	  This driver supports MediaTek MT8183 mfgcfg clocks.
276
277config COMMON_CLK_MT8183_MMSYS
278	bool "Clock driver for MediaTek MT8183 mmsys"
279	depends on COMMON_CLK_MT8183
280	help
281	  This driver supports MediaTek MT8183 mmsys clocks.
282
283config COMMON_CLK_MT8183_VDECSYS
284	bool "Clock driver for MediaTek MT8183 vdecsys"
285	depends on COMMON_CLK_MT8183
286	help
287	  This driver supports MediaTek MT8183 vdecsys clocks.
288
289config COMMON_CLK_MT8183_VENCSYS
290	bool "Clock driver for MediaTek MT8183 vencsys"
291	depends on COMMON_CLK_MT8183
292	help
293	  This driver supports MediaTek MT8183 vencsys clocks.
294
295config 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
300	help
301	  This driver supports MediaTek MT8516 clocks.
302
303config COMMON_CLK_MT8516_AUDSYS
304	bool "Clock driver for MediaTek MT8516 audsys"
305	depends on COMMON_CLK_MT8516
306	help
307	  This driver supports MediaTek MT8516 audsys clocks.
308
309endmenu
310