xref: /openbmc/linux/drivers/clk/mediatek/Kconfig (revision 7156fc29)
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_MT2712
64	bool "Clock driver for MediaTek MT2712"
65	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
66	select COMMON_CLK_MEDIATEK
67	default ARCH_MEDIATEK && ARM64
68	---help---
69	  This driver supports MediaTek MT2712 basic clocks.
70
71config COMMON_CLK_MT2712_BDPSYS
72	bool "Clock driver for MediaTek MT2712 bdpsys"
73	depends on COMMON_CLK_MT2712
74	---help---
75	  This driver supports MediaTek MT2712 bdpsys clocks.
76
77config COMMON_CLK_MT2712_IMGSYS
78	bool "Clock driver for MediaTek MT2712 imgsys"
79	depends on COMMON_CLK_MT2712
80	---help---
81	  This driver supports MediaTek MT2712 imgsys clocks.
82
83config COMMON_CLK_MT2712_JPGDECSYS
84	bool "Clock driver for MediaTek MT2712 jpgdecsys"
85	depends on COMMON_CLK_MT2712
86	---help---
87	  This driver supports MediaTek MT2712 jpgdecsys clocks.
88
89config COMMON_CLK_MT2712_MFGCFG
90	bool "Clock driver for MediaTek MT2712 mfgcfg"
91	depends on COMMON_CLK_MT2712
92	---help---
93	  This driver supports MediaTek MT2712 mfgcfg clocks.
94
95config COMMON_CLK_MT2712_MMSYS
96	bool "Clock driver for MediaTek MT2712 mmsys"
97	depends on COMMON_CLK_MT2712
98	---help---
99	  This driver supports MediaTek MT2712 mmsys clocks.
100
101config COMMON_CLK_MT2712_VDECSYS
102	bool "Clock driver for MediaTek MT2712 vdecsys"
103	depends on COMMON_CLK_MT2712
104	---help---
105	  This driver supports MediaTek MT2712 vdecsys clocks.
106
107config COMMON_CLK_MT2712_VENCSYS
108	bool "Clock driver for MediaTek MT2712 vencsys"
109	depends on COMMON_CLK_MT2712
110	---help---
111	  This driver supports MediaTek MT2712 vencsys clocks.
112
113config COMMON_CLK_MT6797
114       bool "Clock driver for MediaTek MT6797"
115       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
116       select COMMON_CLK_MEDIATEK
117       default ARCH_MEDIATEK && ARM64
118       ---help---
119         This driver supports MediaTek MT6797 basic clocks.
120
121config COMMON_CLK_MT6797_MMSYS
122       bool "Clock driver for MediaTek MT6797 mmsys"
123       depends on COMMON_CLK_MT6797
124       ---help---
125         This driver supports MediaTek MT6797 mmsys clocks.
126
127config COMMON_CLK_MT6797_IMGSYS
128       bool "Clock driver for MediaTek MT6797 imgsys"
129       depends on COMMON_CLK_MT6797
130       ---help---
131         This driver supports MediaTek MT6797 imgsys clocks.
132
133config COMMON_CLK_MT6797_VDECSYS
134       bool "Clock driver for MediaTek MT6797 vdecsys"
135       depends on COMMON_CLK_MT6797
136       ---help---
137         This driver supports MediaTek MT6797 vdecsys clocks.
138
139config COMMON_CLK_MT6797_VENCSYS
140       bool "Clock driver for MediaTek MT6797 vencsys"
141       depends on COMMON_CLK_MT6797
142       ---help---
143         This driver supports MediaTek MT6797 vencsys clocks.
144
145config COMMON_CLK_MT7622
146	bool "Clock driver for MediaTek MT7622"
147	depends on ARCH_MEDIATEK || COMPILE_TEST
148	select COMMON_CLK_MEDIATEK
149	default ARCH_MEDIATEK
150	---help---
151	  This driver supports MediaTek MT7622 basic clocks and clocks
152	  required for various periperals found on MediaTek.
153
154config COMMON_CLK_MT7622_ETHSYS
155	bool "Clock driver for MediaTek MT7622 ETHSYS"
156	depends on COMMON_CLK_MT7622
157	---help---
158	  This driver add support for clocks for Ethernet and SGMII
159	  required on MediaTek MT7622 SoC.
160
161config COMMON_CLK_MT7622_HIFSYS
162	bool "Clock driver for MediaTek MT7622 HIFSYS"
163	depends on COMMON_CLK_MT7622
164	---help---
165	  This driver supports MediaTek MT7622 HIFSYS clocks providing
166	  to PCI-E and USB.
167
168config COMMON_CLK_MT7622_AUDSYS
169	bool "Clock driver for MediaTek MT7622 AUDSYS"
170	depends on COMMON_CLK_MT7622
171	---help---
172	  This driver supports MediaTek MT7622 AUDSYS clocks providing
173	  to audio consumers such as I2S and TDM.
174
175config COMMON_CLK_MT8135
176	bool "Clock driver for MediaTek MT8135"
177	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
178	select COMMON_CLK_MEDIATEK
179	default ARCH_MEDIATEK && ARM
180	---help---
181	  This driver supports MediaTek MT8135 clocks.
182
183config COMMON_CLK_MT8173
184	bool "Clock driver for MediaTek MT8173"
185	depends on ARCH_MEDIATEK || COMPILE_TEST
186	select COMMON_CLK_MEDIATEK
187	default ARCH_MEDIATEK
188	---help---
189	  This driver supports MediaTek MT8173 clocks.
190endmenu
191