xref: /openbmc/linux/drivers/clk/mediatek/Kconfig (revision 0bea2a65)
1#
2# MediaTek SoC drivers
3#
4config COMMON_CLK_MEDIATEK
5	bool
6	---help---
7	  Mediatek SoCs' clock support.
8
9config COMMON_CLK_MT2701
10	bool "Clock driver for Mediatek MT2701"
11	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
12	select COMMON_CLK_MEDIATEK
13	default ARCH_MEDIATEK && ARM
14	---help---
15	  This driver supports Mediatek MT2701 basic clocks.
16
17config COMMON_CLK_MT2701_MMSYS
18	bool "Clock driver for Mediatek MT2701 mmsys"
19	depends on COMMON_CLK_MT2701
20	---help---
21	  This driver supports Mediatek MT2701 mmsys clocks.
22
23config COMMON_CLK_MT2701_IMGSYS
24	bool "Clock driver for Mediatek MT2701 imgsys"
25	depends on COMMON_CLK_MT2701
26	---help---
27	  This driver supports Mediatek MT2701 imgsys clocks.
28
29config COMMON_CLK_MT2701_VDECSYS
30	bool "Clock driver for Mediatek MT2701 vdecsys"
31	depends on COMMON_CLK_MT2701
32	---help---
33	  This driver supports Mediatek MT2701 vdecsys clocks.
34
35config COMMON_CLK_MT2701_HIFSYS
36	bool "Clock driver for Mediatek MT2701 hifsys"
37	depends on COMMON_CLK_MT2701
38	---help---
39	  This driver supports Mediatek MT2701 hifsys clocks.
40
41config COMMON_CLK_MT2701_ETHSYS
42	bool "Clock driver for Mediatek MT2701 ethsys"
43	depends on COMMON_CLK_MT2701
44	---help---
45	  This driver supports Mediatek MT2701 ethsys clocks.
46
47config COMMON_CLK_MT2701_BDPSYS
48	bool "Clock driver for Mediatek MT2701 bdpsys"
49	depends on COMMON_CLK_MT2701
50	---help---
51	  This driver supports Mediatek MT2701 bdpsys clocks.
52
53config COMMON_CLK_MT2712
54	bool "Clock driver for Mediatek MT2712"
55	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
56	select COMMON_CLK_MEDIATEK
57	default ARCH_MEDIATEK && ARM64
58	---help---
59	  This driver supports Mediatek MT2712 basic clocks.
60
61config COMMON_CLK_MT2712_BDPSYS
62	bool "Clock driver for Mediatek MT2712 bdpsys"
63	depends on COMMON_CLK_MT2712
64	---help---
65	  This driver supports Mediatek MT2712 bdpsys clocks.
66
67config COMMON_CLK_MT2712_IMGSYS
68	bool "Clock driver for Mediatek MT2712 imgsys"
69	depends on COMMON_CLK_MT2712
70	---help---
71	  This driver supports Mediatek MT2712 imgsys clocks.
72
73config COMMON_CLK_MT2712_JPGDECSYS
74	bool "Clock driver for Mediatek MT2712 jpgdecsys"
75	depends on COMMON_CLK_MT2712
76	---help---
77	  This driver supports Mediatek MT2712 jpgdecsys clocks.
78
79config COMMON_CLK_MT2712_MFGCFG
80	bool "Clock driver for Mediatek MT2712 mfgcfg"
81	depends on COMMON_CLK_MT2712
82	---help---
83	  This driver supports Mediatek MT2712 mfgcfg clocks.
84
85config COMMON_CLK_MT2712_MMSYS
86	bool "Clock driver for Mediatek MT2712 mmsys"
87	depends on COMMON_CLK_MT2712
88	---help---
89	  This driver supports Mediatek MT2712 mmsys clocks.
90
91config COMMON_CLK_MT2712_VDECSYS
92	bool "Clock driver for Mediatek MT2712 vdecsys"
93	depends on COMMON_CLK_MT2712
94	---help---
95	  This driver supports Mediatek MT2712 vdecsys clocks.
96
97config COMMON_CLK_MT2712_VENCSYS
98	bool "Clock driver for Mediatek MT2712 vencsys"
99	depends on COMMON_CLK_MT2712
100	---help---
101	  This driver supports Mediatek MT2712 vencsys clocks.
102
103config COMMON_CLK_MT6797
104       bool "Clock driver for Mediatek MT6797"
105       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
106       select COMMON_CLK_MEDIATEK
107       default ARCH_MEDIATEK && ARM64
108       ---help---
109         This driver supports Mediatek MT6797 basic clocks.
110
111config COMMON_CLK_MT6797_MMSYS
112       bool "Clock driver for Mediatek MT6797 mmsys"
113       depends on COMMON_CLK_MT6797
114       ---help---
115         This driver supports Mediatek MT6797 mmsys clocks.
116
117config COMMON_CLK_MT6797_IMGSYS
118       bool "Clock driver for Mediatek MT6797 imgsys"
119       depends on COMMON_CLK_MT6797
120       ---help---
121         This driver supports Mediatek MT6797 imgsys clocks.
122
123config COMMON_CLK_MT6797_VDECSYS
124       bool "Clock driver for Mediatek MT6797 vdecsys"
125       depends on COMMON_CLK_MT6797
126       ---help---
127         This driver supports Mediatek MT6797 vdecsys clocks.
128
129config COMMON_CLK_MT6797_VENCSYS
130       bool "Clock driver for Mediatek MT6797 vencsys"
131       depends on COMMON_CLK_MT6797
132       ---help---
133         This driver supports Mediatek MT6797 vencsys clocks.
134
135config COMMON_CLK_MT7622
136	bool "Clock driver for MediaTek MT7622"
137	depends on ARCH_MEDIATEK || COMPILE_TEST
138	select COMMON_CLK_MEDIATEK
139	default ARCH_MEDIATEK
140	---help---
141	  This driver supports MediaTek MT7622 basic clocks and clocks
142	  required for various periperals found on MediaTek.
143
144config COMMON_CLK_MT7622_ETHSYS
145	bool "Clock driver for MediaTek MT7622 ETHSYS"
146	depends on COMMON_CLK_MT7622
147	---help---
148	  This driver add support for clocks for Ethernet and SGMII
149	  required on MediaTek MT7622 SoC.
150
151config COMMON_CLK_MT7622_HIFSYS
152	bool "Clock driver for MediaTek MT7622 HIFSYS"
153	depends on COMMON_CLK_MT7622
154	---help---
155	  This driver supports MediaTek MT7622 HIFSYS clocks providing
156	  to PCI-E and USB.
157
158config COMMON_CLK_MT7622_AUDSYS
159	bool "Clock driver for MediaTek MT7622 AUDSYS"
160	depends on COMMON_CLK_MT7622
161	---help---
162	  This driver supports MediaTek MT7622 AUDSYS clocks providing
163	  to audio consumers such as I2S and TDM.
164
165config COMMON_CLK_MT8135
166	bool "Clock driver for Mediatek MT8135"
167	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
168	select COMMON_CLK_MEDIATEK
169	default ARCH_MEDIATEK && ARM
170	---help---
171	  This driver supports Mediatek MT8135 clocks.
172
173config COMMON_CLK_MT8173
174	bool "Clock driver for Mediatek MT8173"
175	depends on ARCH_MEDIATEK || COMPILE_TEST
176	select COMMON_CLK_MEDIATEK
177	default ARCH_MEDIATEK
178	---help---
179	  This driver supports Mediatek MT8173 clocks.
180