18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# MediaTek Clock Drivers
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenu "Clock driver for MediaTek SoC"
68c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig COMMON_CLK_MEDIATEK
98c2ecf20Sopenharmony_ci	bool
108c2ecf20Sopenharmony_ci	select RESET_CONTROLLER
118c2ecf20Sopenharmony_ci	help
128c2ecf20Sopenharmony_ci	  MediaTek SoCs' clock support.
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701
158c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701"
168c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
178c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
188c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM
198c2ecf20Sopenharmony_ci	help
208c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 basic clocks.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_MMSYS
238c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 mmsys"
248c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
258c2ecf20Sopenharmony_ci	help
268c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 mmsys clocks.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_IMGSYS
298c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 imgsys"
308c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
318c2ecf20Sopenharmony_ci	help
328c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 imgsys clocks.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_VDECSYS
358c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 vdecsys"
368c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
378c2ecf20Sopenharmony_ci	help
388c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 vdecsys clocks.
398c2ecf20Sopenharmony_ci
408c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_HIFSYS
418c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 hifsys"
428c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 hifsys clocks.
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_ETHSYS
478c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 ethsys"
488c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
498c2ecf20Sopenharmony_ci	help
508c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 ethsys clocks.
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_BDPSYS
538c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 bdpsys"
548c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 bdpsys clocks.
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_AUDSYS
598c2ecf20Sopenharmony_ci	bool "Clock driver for Mediatek MT2701 audsys"
608c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
618c2ecf20Sopenharmony_ci	help
628c2ecf20Sopenharmony_ci	  This driver supports Mediatek MT2701 audsys clocks.
638c2ecf20Sopenharmony_ci
648c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2701_G3DSYS
658c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2701 g3dsys"
668c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2701
678c2ecf20Sopenharmony_ci	help
688c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2701 g3dsys clocks.
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712
718c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712"
728c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
738c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
748c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM64
758c2ecf20Sopenharmony_ci	help
768c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 basic clocks.
778c2ecf20Sopenharmony_ci
788c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_BDPSYS
798c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 bdpsys"
808c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
818c2ecf20Sopenharmony_ci	help
828c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 bdpsys clocks.
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_IMGSYS
858c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 imgsys"
868c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
878c2ecf20Sopenharmony_ci	help
888c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 imgsys clocks.
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_JPGDECSYS
918c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 jpgdecsys"
928c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
938c2ecf20Sopenharmony_ci	help
948c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 jpgdecsys clocks.
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_MFGCFG
978c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 mfgcfg"
988c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
998c2ecf20Sopenharmony_ci	help
1008c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 mfgcfg clocks.
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_MMSYS
1038c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 mmsys"
1048c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
1058c2ecf20Sopenharmony_ci	help
1068c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 mmsys clocks.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_VDECSYS
1098c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 vdecsys"
1108c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
1118c2ecf20Sopenharmony_ci	help
1128c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 vdecsys clocks.
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT2712_VENCSYS
1158c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT2712 vencsys"
1168c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT2712
1178c2ecf20Sopenharmony_ci	help
1188c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT2712 vencsys clocks.
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765
1218c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765"
1228c2ecf20Sopenharmony_ci       depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
1238c2ecf20Sopenharmony_ci       select COMMON_CLK_MEDIATEK
1248c2ecf20Sopenharmony_ci       default ARCH_MEDIATEK && ARM64
1258c2ecf20Sopenharmony_ci       help
1268c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 basic clocks.
1278c2ecf20Sopenharmony_ci
1288c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_AUDIOSYS
1298c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 audiosys"
1308c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1318c2ecf20Sopenharmony_ci       help
1328c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 audiosys clocks.
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_CAMSYS
1358c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 camsys"
1368c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1378c2ecf20Sopenharmony_ci       help
1388c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 camsys clocks.
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_GCESYS
1418c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 gcesys"
1428c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1438c2ecf20Sopenharmony_ci       help
1448c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 gcesys clocks.
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MMSYS
1478c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mmsys"
1488c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1498c2ecf20Sopenharmony_ci       help
1508c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mmsys clocks.
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_IMGSYS
1538c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 imgsys"
1548c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1558c2ecf20Sopenharmony_ci       help
1568c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 imgsys clocks.
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_VCODECSYS
1598c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 vcodecsys"
1608c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1618c2ecf20Sopenharmony_ci       help
1628c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 vcodecsys clocks.
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MFGSYS
1658c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mfgsys"
1668c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1678c2ecf20Sopenharmony_ci       help
1688c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mfgsys clocks.
1698c2ecf20Sopenharmony_ci
1708c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI0ASYS
1718c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi0asys"
1728c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1738c2ecf20Sopenharmony_ci       help
1748c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi0asys clocks.
1758c2ecf20Sopenharmony_ci
1768c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI0BSYS
1778c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi0bsys"
1788c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1798c2ecf20Sopenharmony_ci       help
1808c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi0bsys clocks.
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI1ASYS
1838c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi1asys"
1848c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1858c2ecf20Sopenharmony_ci       help
1868c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi1asys clocks.
1878c2ecf20Sopenharmony_ci
1888c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI1BSYS
1898c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi1bsys"
1908c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1918c2ecf20Sopenharmony_ci       help
1928c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi1bsys clocks.
1938c2ecf20Sopenharmony_ci
1948c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI2ASYS
1958c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi2asys"
1968c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
1978c2ecf20Sopenharmony_ci      help
1988c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi2asys clocks.
1998c2ecf20Sopenharmony_ci
2008c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6765_MIPI2BSYS
2018c2ecf20Sopenharmony_ci       bool "Clock driver for MediaTek MT6765 mipi2bsys"
2028c2ecf20Sopenharmony_ci       depends on COMMON_CLK_MT6765
2038c2ecf20Sopenharmony_ci       help
2048c2ecf20Sopenharmony_ci         This driver supports MediaTek MT6765 mipi2bsys clocks.
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779
2078c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779"
2088c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
2098c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
2108c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM64
2118c2ecf20Sopenharmony_ci	help
2128c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 basic clocks.
2138c2ecf20Sopenharmony_ci
2148c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_MMSYS
2158c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 mmsys"
2168c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2178c2ecf20Sopenharmony_ci	help
2188c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 mmsys clocks.
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_IMGSYS
2218c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 imgsys"
2228c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2238c2ecf20Sopenharmony_ci	help
2248c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 imgsys clocks.
2258c2ecf20Sopenharmony_ci
2268c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_IPESYS
2278c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 ipesys"
2288c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2298c2ecf20Sopenharmony_ci	help
2308c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 ipesys clocks.
2318c2ecf20Sopenharmony_ci
2328c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_CAMSYS
2338c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 camsys"
2348c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2358c2ecf20Sopenharmony_ci	help
2368c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 camsys clocks.
2378c2ecf20Sopenharmony_ci
2388c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_VDECSYS
2398c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 vdecsys"
2408c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2418c2ecf20Sopenharmony_ci	help
2428c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 vdecsys clocks.
2438c2ecf20Sopenharmony_ci
2448c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_VENCSYS
2458c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 vencsys"
2468c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2478c2ecf20Sopenharmony_ci	help
2488c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 vencsys clocks.
2498c2ecf20Sopenharmony_ci
2508c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_MFGCFG
2518c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6779 mfgcfg"
2528c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2538c2ecf20Sopenharmony_ci	help
2548c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6779 mfgcfg clocks.
2558c2ecf20Sopenharmony_ci
2568c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6779_AUDSYS
2578c2ecf20Sopenharmony_ci	bool "Clock driver for Mediatek MT6779 audsys"
2588c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6779
2598c2ecf20Sopenharmony_ci	help
2608c2ecf20Sopenharmony_ci	  This driver supports Mediatek MT6779 audsys clocks.
2618c2ecf20Sopenharmony_ci
2628c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6797
2638c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6797"
2648c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
2658c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
2668c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM64
2678c2ecf20Sopenharmony_ci	help
2688c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6797 basic clocks.
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6797_MMSYS
2718c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6797 mmsys"
2728c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6797
2738c2ecf20Sopenharmony_ci	help
2748c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6797 mmsys clocks.
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6797_IMGSYS
2778c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6797 imgsys"
2788c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6797
2798c2ecf20Sopenharmony_ci	help
2808c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6797 imgsys clocks.
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6797_VDECSYS
2838c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6797 vdecsys"
2848c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6797
2858c2ecf20Sopenharmony_ci	help
2868c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6797 vdecsys clocks.
2878c2ecf20Sopenharmony_ci
2888c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT6797_VENCSYS
2898c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT6797 vencsys"
2908c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT6797
2918c2ecf20Sopenharmony_ci	help
2928c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT6797 vencsys clocks.
2938c2ecf20Sopenharmony_ci
2948c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7622
2958c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7622"
2968c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
2978c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
2988c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
2998c2ecf20Sopenharmony_ci	help
3008c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT7622 basic clocks and clocks
3018c2ecf20Sopenharmony_ci	  required for various periperals found on MediaTek.
3028c2ecf20Sopenharmony_ci
3038c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7622_ETHSYS
3048c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7622 ETHSYS"
3058c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT7622
3068c2ecf20Sopenharmony_ci	help
3078c2ecf20Sopenharmony_ci	  This driver add support for clocks for Ethernet and SGMII
3088c2ecf20Sopenharmony_ci	  required on MediaTek MT7622 SoC.
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7622_HIFSYS
3118c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7622 HIFSYS"
3128c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT7622
3138c2ecf20Sopenharmony_ci	help
3148c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT7622 HIFSYS clocks providing
3158c2ecf20Sopenharmony_ci	  to PCI-E and USB.
3168c2ecf20Sopenharmony_ci
3178c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7622_AUDSYS
3188c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7622 AUDSYS"
3198c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT7622
3208c2ecf20Sopenharmony_ci	help
3218c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT7622 AUDSYS clocks providing
3228c2ecf20Sopenharmony_ci	  to audio consumers such as I2S and TDM.
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7629
3258c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7629"
3268c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
3278c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3288c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM
3298c2ecf20Sopenharmony_ci	help
3308c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT7629 basic clocks and clocks
3318c2ecf20Sopenharmony_ci	  required for various periperals found on MediaTek.
3328c2ecf20Sopenharmony_ci
3338c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7629_ETHSYS
3348c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7629 ETHSYS"
3358c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT7629
3368c2ecf20Sopenharmony_ci	help
3378c2ecf20Sopenharmony_ci	  This driver add support for clocks for Ethernet and SGMII
3388c2ecf20Sopenharmony_ci	  required on MediaTek MT7629 SoC.
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT7629_HIFSYS
3418c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT7629 HIFSYS"
3428c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT7629
3438c2ecf20Sopenharmony_ci	help
3448c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT7629 HIFSYS clocks providing
3458c2ecf20Sopenharmony_ci	  to PCI-E and USB.
3468c2ecf20Sopenharmony_ci
3478c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8135
3488c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8135"
3498c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM) || COMPILE_TEST
3508c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3518c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM
3528c2ecf20Sopenharmony_ci	help
3538c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8135 clocks.
3548c2ecf20Sopenharmony_ci
3558c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167
3568c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167"
3578c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3588c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3598c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
3608c2ecf20Sopenharmony_ci	help
3618c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 basic clocks.
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167_AUDSYS
3648c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167 audsys"
3658c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3668c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3678c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
3688c2ecf20Sopenharmony_ci	help
3698c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 audsys clocks.
3708c2ecf20Sopenharmony_ci
3718c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167_IMGSYS
3728c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167 imgsys"
3738c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3748c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3758c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
3768c2ecf20Sopenharmony_ci	help
3778c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 imgsys clocks.
3788c2ecf20Sopenharmony_ci
3798c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167_MFGCFG
3808c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167 mfgcfg"
3818c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3828c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3838c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
3848c2ecf20Sopenharmony_ci	help
3858c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 mfgcfg clocks.
3868c2ecf20Sopenharmony_ci
3878c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167_MMSYS
3888c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167 mmsys"
3898c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3908c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3918c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
3928c2ecf20Sopenharmony_ci	help
3938c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 mmsys clocks.
3948c2ecf20Sopenharmony_ci
3958c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8167_VDECSYS
3968c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8167 vdecsys"
3978c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
3988c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
3998c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
4008c2ecf20Sopenharmony_ci	help
4018c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8167 vdecsys clocks.
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8173
4048c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8173"
4058c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
4068c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
4078c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
4088c2ecf20Sopenharmony_ci	help
4098c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8173 clocks.
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8173_MMSYS
4128c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8173 mmsys"
4138c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8173
4148c2ecf20Sopenharmony_ci	default COMMON_CLK_MT8173
4158c2ecf20Sopenharmony_ci	help
4168c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8173 mmsys clocks.
4178c2ecf20Sopenharmony_ci
4188c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183
4198c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183"
4208c2ecf20Sopenharmony_ci	depends on (ARCH_MEDIATEK && ARM64) || COMPILE_TEST
4218c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
4228c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK && ARM64
4238c2ecf20Sopenharmony_ci	help
4248c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 basic clocks.
4258c2ecf20Sopenharmony_ci
4268c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_AUDIOSYS
4278c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 audiosys"
4288c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4298c2ecf20Sopenharmony_ci	help
4308c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 audiosys clocks.
4318c2ecf20Sopenharmony_ci
4328c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_CAMSYS
4338c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 camsys"
4348c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4358c2ecf20Sopenharmony_ci	help
4368c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 camsys clocks.
4378c2ecf20Sopenharmony_ci
4388c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_IMGSYS
4398c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 imgsys"
4408c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4418c2ecf20Sopenharmony_ci	help
4428c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 imgsys clocks.
4438c2ecf20Sopenharmony_ci
4448c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_IPU_CORE0
4458c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 ipu_core0"
4468c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4478c2ecf20Sopenharmony_ci	help
4488c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 ipu_core0 clocks.
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_IPU_CORE1
4518c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 ipu_core1"
4528c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4538c2ecf20Sopenharmony_ci	help
4548c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 ipu_core1 clocks.
4558c2ecf20Sopenharmony_ci
4568c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_IPU_ADL
4578c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 ipu_adl"
4588c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4598c2ecf20Sopenharmony_ci	help
4608c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 ipu_adl clocks.
4618c2ecf20Sopenharmony_ci
4628c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_IPU_CONN
4638c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 ipu_conn"
4648c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4658c2ecf20Sopenharmony_ci	help
4668c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 ipu_conn clocks.
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_MFGCFG
4698c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 mfgcfg"
4708c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4718c2ecf20Sopenharmony_ci	help
4728c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 mfgcfg clocks.
4738c2ecf20Sopenharmony_ci
4748c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_MMSYS
4758c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 mmsys"
4768c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4778c2ecf20Sopenharmony_ci	help
4788c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 mmsys clocks.
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_VDECSYS
4818c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 vdecsys"
4828c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4838c2ecf20Sopenharmony_ci	help
4848c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 vdecsys clocks.
4858c2ecf20Sopenharmony_ci
4868c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8183_VENCSYS
4878c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8183 vencsys"
4888c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8183
4898c2ecf20Sopenharmony_ci	help
4908c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8183 vencsys clocks.
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8516
4938c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8516"
4948c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
4958c2ecf20Sopenharmony_ci	select COMMON_CLK_MEDIATEK
4968c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
4978c2ecf20Sopenharmony_ci	help
4988c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8516 clocks.
4998c2ecf20Sopenharmony_ci
5008c2ecf20Sopenharmony_ciconfig COMMON_CLK_MT8516_AUDSYS
5018c2ecf20Sopenharmony_ci	bool "Clock driver for MediaTek MT8516 audsys"
5028c2ecf20Sopenharmony_ci	depends on COMMON_CLK_MT8516
5038c2ecf20Sopenharmony_ci	help
5048c2ecf20Sopenharmony_ci	  This driver supports MediaTek MT8516 audsys clocks.
5058c2ecf20Sopenharmony_ci
5068c2ecf20Sopenharmony_ciendmenu
507