xref: /openbmc/linux/drivers/clk/mediatek/Kconfig (revision 62e59c4e)
1#
2# MediaTek Clock Drivers
3#
4menu "Clock driver for MediaTek SoC"
5	depends on ARCH_MEDIATEK || COMPILE_TEST
6
7config COMMON_CLK_MEDIATEK
8	bool
9	select RESET_CONTROLLER
10	---help---
11	  MediaTek SoCs' clock support.
12
13config COMMON_CLK_MT2701
14	bool "Clock driver for MediaTek MT2701"
15	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
16	select COMMON_CLK_MEDIATEK
17	default ARCH_MEDIATEK && ARM
18	---help---
19	  This driver supports MediaTek MT2701 basic clocks.
20
21config COMMON_CLK_MT2701_MMSYS
22	bool "Clock driver for MediaTek MT2701 mmsys"
23	depends on COMMON_CLK_MT2701
24	---help---
25	  This driver supports MediaTek MT2701 mmsys clocks.
26
27config COMMON_CLK_MT2701_IMGSYS
28	bool "Clock driver for MediaTek MT2701 imgsys"
29	depends on COMMON_CLK_MT2701
30	---help---
31	  This driver supports MediaTek MT2701 imgsys clocks.
32
33config COMMON_CLK_MT2701_VDECSYS
34	bool "Clock driver for MediaTek MT2701 vdecsys"
35	depends on COMMON_CLK_MT2701
36	---help---
37	  This driver supports MediaTek MT2701 vdecsys clocks.
38
39config COMMON_CLK_MT2701_HIFSYS
40	bool "Clock driver for MediaTek MT2701 hifsys"
41	depends on COMMON_CLK_MT2701
42	---help---
43	  This driver supports MediaTek MT2701 hifsys clocks.
44
45config COMMON_CLK_MT2701_ETHSYS
46	bool "Clock driver for MediaTek MT2701 ethsys"
47	depends on COMMON_CLK_MT2701
48	---help---
49	  This driver supports MediaTek MT2701 ethsys clocks.
50
51config COMMON_CLK_MT2701_BDPSYS
52	bool "Clock driver for MediaTek MT2701 bdpsys"
53	depends on COMMON_CLK_MT2701
54	---help---
55	  This driver supports MediaTek MT2701 bdpsys clocks.
56
57config COMMON_CLK_MT2701_AUDSYS
58	bool "Clock driver for Mediatek MT2701 audsys"
59	depends on COMMON_CLK_MT2701
60	---help---
61	  This driver supports Mediatek MT2701 audsys clocks.
62
63config COMMON_CLK_MT2701_G3DSYS
64	bool "Clock driver for MediaTek MT2701 g3dsys"
65	depends on COMMON_CLK_MT2701
66	---help---
67	  This driver supports MediaTek MT2701 g3dsys clocks.
68
69config COMMON_CLK_MT2712
70	bool "Clock driver for MediaTek MT2712"
71	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
72	select COMMON_CLK_MEDIATEK
73	default ARCH_MEDIATEK && ARM64
74	---help---
75	  This driver supports MediaTek MT2712 basic clocks.
76
77config COMMON_CLK_MT2712_BDPSYS
78	bool "Clock driver for MediaTek MT2712 bdpsys"
79	depends on COMMON_CLK_MT2712
80	---help---
81	  This driver supports MediaTek MT2712 bdpsys clocks.
82
83config COMMON_CLK_MT2712_IMGSYS
84	bool "Clock driver for MediaTek MT2712 imgsys"
85	depends on COMMON_CLK_MT2712
86	---help---
87	  This driver supports MediaTek MT2712 imgsys clocks.
88
89config COMMON_CLK_MT2712_JPGDECSYS
90	bool "Clock driver for MediaTek MT2712 jpgdecsys"
91	depends on COMMON_CLK_MT2712
92	---help---
93	  This driver supports MediaTek MT2712 jpgdecsys clocks.
94
95config COMMON_CLK_MT2712_MFGCFG
96	bool "Clock driver for MediaTek MT2712 mfgcfg"
97	depends on COMMON_CLK_MT2712
98	---help---
99	  This driver supports MediaTek MT2712 mfgcfg clocks.
100
101config COMMON_CLK_MT2712_MMSYS
102	bool "Clock driver for MediaTek MT2712 mmsys"
103	depends on COMMON_CLK_MT2712
104	---help---
105	  This driver supports MediaTek MT2712 mmsys clocks.
106
107config COMMON_CLK_MT2712_VDECSYS
108	bool "Clock driver for MediaTek MT2712 vdecsys"
109	depends on COMMON_CLK_MT2712
110	---help---
111	  This driver supports MediaTek MT2712 vdecsys clocks.
112
113config COMMON_CLK_MT2712_VENCSYS
114	bool "Clock driver for MediaTek MT2712 vencsys"
115	depends on COMMON_CLK_MT2712
116	---help---
117	  This driver supports MediaTek MT2712 vencsys clocks.
118
119config COMMON_CLK_MT6797
120       bool "Clock driver for MediaTek MT6797"
121       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
122       select COMMON_CLK_MEDIATEK
123       default ARCH_MEDIATEK && ARM64
124       ---help---
125         This driver supports MediaTek MT6797 basic clocks.
126
127config COMMON_CLK_MT6797_MMSYS
128       bool "Clock driver for MediaTek MT6797 mmsys"
129       depends on COMMON_CLK_MT6797
130       ---help---
131         This driver supports MediaTek MT6797 mmsys clocks.
132
133config COMMON_CLK_MT6797_IMGSYS
134       bool "Clock driver for MediaTek MT6797 imgsys"
135       depends on COMMON_CLK_MT6797
136       ---help---
137         This driver supports MediaTek MT6797 imgsys clocks.
138
139config COMMON_CLK_MT6797_VDECSYS
140       bool "Clock driver for MediaTek MT6797 vdecsys"
141       depends on COMMON_CLK_MT6797
142       ---help---
143         This driver supports MediaTek MT6797 vdecsys clocks.
144
145config COMMON_CLK_MT6797_VENCSYS
146       bool "Clock driver for MediaTek MT6797 vencsys"
147       depends on COMMON_CLK_MT6797
148       ---help---
149         This driver supports MediaTek MT6797 vencsys clocks.
150
151config COMMON_CLK_MT7622
152	bool "Clock driver for MediaTek MT7622"
153	depends on ARCH_MEDIATEK || COMPILE_TEST
154	select COMMON_CLK_MEDIATEK
155	default ARCH_MEDIATEK
156	---help---
157	  This driver supports MediaTek MT7622 basic clocks and clocks
158	  required for various periperals found on MediaTek.
159
160config COMMON_CLK_MT7622_ETHSYS
161	bool "Clock driver for MediaTek MT7622 ETHSYS"
162	depends on COMMON_CLK_MT7622
163	---help---
164	  This driver add support for clocks for Ethernet and SGMII
165	  required on MediaTek MT7622 SoC.
166
167config COMMON_CLK_MT7622_HIFSYS
168	bool "Clock driver for MediaTek MT7622 HIFSYS"
169	depends on COMMON_CLK_MT7622
170	---help---
171	  This driver supports MediaTek MT7622 HIFSYS clocks providing
172	  to PCI-E and USB.
173
174config COMMON_CLK_MT7622_AUDSYS
175	bool "Clock driver for MediaTek MT7622 AUDSYS"
176	depends on COMMON_CLK_MT7622
177	---help---
178	  This driver supports MediaTek MT7622 AUDSYS clocks providing
179	  to audio consumers such as I2S and TDM.
180
181config COMMON_CLK_MT7629
182	bool "Clock driver for MediaTek MT7629"
183	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
184	select COMMON_CLK_MEDIATEK
185	default ARCH_MEDIATEK && ARM
186	---help---
187	  This driver supports MediaTek MT7629 basic clocks and clocks
188	  required for various periperals found on MediaTek.
189
190config COMMON_CLK_MT7629_ETHSYS
191	bool "Clock driver for MediaTek MT7629 ETHSYS"
192	depends on COMMON_CLK_MT7629
193	---help---
194	  This driver add support for clocks for Ethernet and SGMII
195	  required on MediaTek MT7629 SoC.
196
197config COMMON_CLK_MT7629_HIFSYS
198	bool "Clock driver for MediaTek MT7629 HIFSYS"
199	depends on COMMON_CLK_MT7629
200	---help---
201	  This driver supports MediaTek MT7629 HIFSYS clocks providing
202	  to PCI-E and USB.
203
204config COMMON_CLK_MT8135
205	bool "Clock driver for MediaTek MT8135"
206	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
207	select COMMON_CLK_MEDIATEK
208	default ARCH_MEDIATEK && ARM
209	---help---
210	  This driver supports MediaTek MT8135 clocks.
211
212config COMMON_CLK_MT8173
213	bool "Clock driver for MediaTek MT8173"
214	depends on ARCH_MEDIATEK || COMPILE_TEST
215	select COMMON_CLK_MEDIATEK
216	default ARCH_MEDIATEK
217	---help---
218	  This driver supports MediaTek MT8173 clocks.
219
220config COMMON_CLK_MT8183
221	bool "Clock driver for MediaTek MT8183"
222	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
223	select COMMON_CLK_MEDIATEK
224	default ARCH_MEDIATEK && ARM64
225	help
226	  This driver supports MediaTek MT8183 basic clocks.
227
228config COMMON_CLK_MT8183_AUDIOSYS
229	bool "Clock driver for MediaTek MT8183 audiosys"
230	depends on COMMON_CLK_MT8183
231	help
232	  This driver supports MediaTek MT8183 audiosys clocks.
233
234config COMMON_CLK_MT8183_CAMSYS
235	bool "Clock driver for MediaTek MT8183 camsys"
236	depends on COMMON_CLK_MT8183
237	help
238	  This driver supports MediaTek MT8183 camsys clocks.
239
240config COMMON_CLK_MT8183_IMGSYS
241	bool "Clock driver for MediaTek MT8183 imgsys"
242	depends on COMMON_CLK_MT8183
243	help
244	  This driver supports MediaTek MT8183 imgsys clocks.
245
246config COMMON_CLK_MT8183_IPU_CORE0
247	bool "Clock driver for MediaTek MT8183 ipu_core0"
248	depends on COMMON_CLK_MT8183
249	help
250	  This driver supports MediaTek MT8183 ipu_core0 clocks.
251
252config COMMON_CLK_MT8183_IPU_CORE1
253	bool "Clock driver for MediaTek MT8183 ipu_core1"
254	depends on COMMON_CLK_MT8183
255	help
256	  This driver supports MediaTek MT8183 ipu_core1 clocks.
257
258config COMMON_CLK_MT8183_IPU_ADL
259	bool "Clock driver for MediaTek MT8183 ipu_adl"
260	depends on COMMON_CLK_MT8183
261	help
262	  This driver supports MediaTek MT8183 ipu_adl clocks.
263
264config COMMON_CLK_MT8183_IPU_CONN
265	bool "Clock driver for MediaTek MT8183 ipu_conn"
266	depends on COMMON_CLK_MT8183
267	help
268	  This driver supports MediaTek MT8183 ipu_conn clocks.
269
270config COMMON_CLK_MT8183_MFGCFG
271	bool "Clock driver for MediaTek MT8183 mfgcfg"
272	depends on COMMON_CLK_MT8183
273	help
274	  This driver supports MediaTek MT8183 mfgcfg clocks.
275
276config COMMON_CLK_MT8183_MMSYS
277	bool "Clock driver for MediaTek MT8183 mmsys"
278	depends on COMMON_CLK_MT8183
279	help
280	  This driver supports MediaTek MT8183 mmsys clocks.
281
282config COMMON_CLK_MT8183_VDECSYS
283	bool "Clock driver for MediaTek MT8183 vdecsys"
284	depends on COMMON_CLK_MT8183
285	help
286	  This driver supports MediaTek MT8183 vdecsys clocks.
287
288config COMMON_CLK_MT8183_VENCSYS
289	bool "Clock driver for MediaTek MT8183 vencsys"
290	depends on COMMON_CLK_MT8183
291	help
292	  This driver supports MediaTek MT8183 vencsys clocks.
293
294config COMMON_CLK_MT8516
295	bool "Clock driver for MediaTek MT8516"
296	depends on ARCH_MEDIATEK || COMPILE_TEST
297	select COMMON_CLK_MEDIATEK
298	default ARCH_MEDIATEK
299	help
300	  This driver supports MediaTek MT8516 clocks.
301
302endmenu
303