blob: 1f9ea0f21df132db1aa62d88877bdf7486bf8904 [file] [log] [blame]
James Liao2886c842016-08-19 13:34:49 +08001#
Sean Wang16a1ac12017-12-20 14:42:58 +08002# MediaTek Clock Drivers
James Liao2886c842016-08-19 13:34:49 +08003#
Sean Wang16a1ac12017-12-20 14:42:58 +08004menu "Clock driver for MediaTek SoC"
5 depends on ARCH_MEDIATEK || COMPILE_TEST
6
James Liao2886c842016-08-19 13:34:49 +08007config COMMON_CLK_MEDIATEK
8 bool
Sean Wangbc273602018-01-05 16:14:06 +08009 select RESET_CONTROLLER
James Liao2886c842016-08-19 13:34:49 +080010 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080011 MediaTek SoCs' clock support.
James Liao2886c842016-08-19 13:34:49 +080012
Shunli Wange9862112016-11-04 15:43:05 +080013config COMMON_CLK_MT2701
Sean Wang16a1ac12017-12-20 14:42:58 +080014 bool "Clock driver for MediaTek MT2701"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010015 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
Shunli Wange9862112016-11-04 15:43:05 +080016 select COMMON_CLK_MEDIATEK
Jean Delvare6e9c0d52017-01-24 13:07:04 +010017 default ARCH_MEDIATEK && ARM
Shunli Wange9862112016-11-04 15:43:05 +080018 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080019 This driver supports MediaTek MT2701 basic clocks.
Shunli Wange9862112016-11-04 15:43:05 +080020
21config COMMON_CLK_MT2701_MMSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080022 bool "Clock driver for MediaTek MT2701 mmsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010023 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080024 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080025 This driver supports MediaTek MT2701 mmsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080026
27config COMMON_CLK_MT2701_IMGSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080028 bool "Clock driver for MediaTek MT2701 imgsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010029 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080030 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080031 This driver supports MediaTek MT2701 imgsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080032
33config COMMON_CLK_MT2701_VDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080034 bool "Clock driver for MediaTek MT2701 vdecsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010035 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080036 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080037 This driver supports MediaTek MT2701 vdecsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080038
39config COMMON_CLK_MT2701_HIFSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080040 bool "Clock driver for MediaTek MT2701 hifsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010041 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080042 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080043 This driver supports MediaTek MT2701 hifsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080044
45config COMMON_CLK_MT2701_ETHSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080046 bool "Clock driver for MediaTek MT2701 ethsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010047 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080048 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080049 This driver supports MediaTek MT2701 ethsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080050
51config COMMON_CLK_MT2701_BDPSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080052 bool "Clock driver for MediaTek MT2701 bdpsys"
Jean Delvare6e9c0d52017-01-24 13:07:04 +010053 depends on COMMON_CLK_MT2701
Shunli Wange9862112016-11-04 15:43:05 +080054 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080055 This driver supports MediaTek MT2701 bdpsys clocks.
Shunli Wange9862112016-11-04 15:43:05 +080056
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080057config COMMON_CLK_MT2712
Sean Wang16a1ac12017-12-20 14:42:58 +080058 bool "Clock driver for MediaTek MT2712"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080059 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
60 select COMMON_CLK_MEDIATEK
61 default ARCH_MEDIATEK && ARM64
62 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080063 This driver supports MediaTek MT2712 basic clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080064
65config COMMON_CLK_MT2712_BDPSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080066 bool "Clock driver for MediaTek MT2712 bdpsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080067 depends on COMMON_CLK_MT2712
68 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080069 This driver supports MediaTek MT2712 bdpsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080070
71config COMMON_CLK_MT2712_IMGSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080072 bool "Clock driver for MediaTek MT2712 imgsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080073 depends on COMMON_CLK_MT2712
74 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080075 This driver supports MediaTek MT2712 imgsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080076
77config COMMON_CLK_MT2712_JPGDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080078 bool "Clock driver for MediaTek MT2712 jpgdecsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080079 depends on COMMON_CLK_MT2712
80 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080081 This driver supports MediaTek MT2712 jpgdecsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080082
83config COMMON_CLK_MT2712_MFGCFG
Sean Wang16a1ac12017-12-20 14:42:58 +080084 bool "Clock driver for MediaTek MT2712 mfgcfg"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080085 depends on COMMON_CLK_MT2712
86 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080087 This driver supports MediaTek MT2712 mfgcfg clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080088
89config COMMON_CLK_MT2712_MMSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080090 bool "Clock driver for MediaTek MT2712 mmsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080091 depends on COMMON_CLK_MT2712
92 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080093 This driver supports MediaTek MT2712 mmsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080094
95config COMMON_CLK_MT2712_VDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +080096 bool "Clock driver for MediaTek MT2712 vdecsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +080097 depends on COMMON_CLK_MT2712
98 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +080099 This driver supports MediaTek MT2712 vdecsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800100
101config COMMON_CLK_MT2712_VENCSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800102 bool "Clock driver for MediaTek MT2712 vencsys"
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800103 depends on COMMON_CLK_MT2712
104 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800105 This driver supports MediaTek MT2712 vencsys clocks.
weiyi.lu@mediatek.come2f744a2017-10-23 12:10:34 +0800106
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800107config COMMON_CLK_MT6797
Sean Wang16a1ac12017-12-20 14:42:58 +0800108 bool "Clock driver for MediaTek MT6797"
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800109 depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
110 select COMMON_CLK_MEDIATEK
111 default ARCH_MEDIATEK && ARM64
112 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800113 This driver supports MediaTek MT6797 basic clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800114
115config COMMON_CLK_MT6797_MMSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800116 bool "Clock driver for MediaTek MT6797 mmsys"
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800117 depends on COMMON_CLK_MT6797
118 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800119 This driver supports MediaTek MT6797 mmsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800120
121config COMMON_CLK_MT6797_IMGSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800122 bool "Clock driver for MediaTek MT6797 imgsys"
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800123 depends on COMMON_CLK_MT6797
124 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800125 This driver supports MediaTek MT6797 imgsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800126
127config COMMON_CLK_MT6797_VDECSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800128 bool "Clock driver for MediaTek MT6797 vdecsys"
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800129 depends on COMMON_CLK_MT6797
130 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800131 This driver supports MediaTek MT6797 vdecsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800132
133config COMMON_CLK_MT6797_VENCSYS
Sean Wang16a1ac12017-12-20 14:42:58 +0800134 bool "Clock driver for MediaTek MT6797 vencsys"
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800135 depends on COMMON_CLK_MT6797
136 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800137 This driver supports MediaTek MT6797 vencsys clocks.
Kevin-CW Chen96596aa2017-04-08 09:20:30 +0800138
Sean Wang2fc0a502017-10-05 11:50:24 +0800139config COMMON_CLK_MT7622
140 bool "Clock driver for MediaTek MT7622"
141 depends on ARCH_MEDIATEK || COMPILE_TEST
142 select COMMON_CLK_MEDIATEK
143 default ARCH_MEDIATEK
144 ---help---
145 This driver supports MediaTek MT7622 basic clocks and clocks
146 required for various periperals found on MediaTek.
147
148config COMMON_CLK_MT7622_ETHSYS
149 bool "Clock driver for MediaTek MT7622 ETHSYS"
150 depends on COMMON_CLK_MT7622
151 ---help---
152 This driver add support for clocks for Ethernet and SGMII
153 required on MediaTek MT7622 SoC.
154
155config COMMON_CLK_MT7622_HIFSYS
156 bool "Clock driver for MediaTek MT7622 HIFSYS"
157 depends on COMMON_CLK_MT7622
158 ---help---
159 This driver supports MediaTek MT7622 HIFSYS clocks providing
160 to PCI-E and USB.
161
162config COMMON_CLK_MT7622_AUDSYS
163 bool "Clock driver for MediaTek MT7622 AUDSYS"
164 depends on COMMON_CLK_MT7622
165 ---help---
166 This driver supports MediaTek MT7622 AUDSYS clocks providing
167 to audio consumers such as I2S and TDM.
168
James Liao2886c842016-08-19 13:34:49 +0800169config COMMON_CLK_MT8135
Sean Wang16a1ac12017-12-20 14:42:58 +0800170 bool "Clock driver for MediaTek MT8135"
Jean Delvare3d21a4b2017-01-24 13:09:12 +0100171 depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
James Liao2886c842016-08-19 13:34:49 +0800172 select COMMON_CLK_MEDIATEK
Jean Delvare3d21a4b2017-01-24 13:09:12 +0100173 default ARCH_MEDIATEK && ARM
James Liao2886c842016-08-19 13:34:49 +0800174 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800175 This driver supports MediaTek MT8135 clocks.
James Liao2886c842016-08-19 13:34:49 +0800176
177config COMMON_CLK_MT8173
Sean Wang16a1ac12017-12-20 14:42:58 +0800178 bool "Clock driver for MediaTek MT8173"
Jean Delvare234d5112016-10-14 14:44:13 +0200179 depends on ARCH_MEDIATEK || COMPILE_TEST
James Liao2886c842016-08-19 13:34:49 +0800180 select COMMON_CLK_MEDIATEK
181 default ARCH_MEDIATEK
182 ---help---
Sean Wang16a1ac12017-12-20 14:42:58 +0800183 This driver supports MediaTek MT8173 clocks.
184endmenu