162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciconfig SUNXI_CCU
362306a36Sopenharmony_ci	tristate "Clock support for Allwinner SoCs"
462306a36Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
562306a36Sopenharmony_ci	select RESET_CONTROLLER
662306a36Sopenharmony_ci	default ARCH_SUNXI
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciif SUNXI_CCU
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig SUNIV_F1C100S_CCU
1162306a36Sopenharmony_ci	tristate "Support for the Allwinner newer F1C100s CCU"
1262306a36Sopenharmony_ci	default y
1362306a36Sopenharmony_ci	depends on MACH_SUNIV || COMPILE_TEST
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciconfig SUN20I_D1_CCU
1662306a36Sopenharmony_ci	tristate "Support for the Allwinner D1/R528/T113 CCU"
1762306a36Sopenharmony_ci	default y
1862306a36Sopenharmony_ci	depends on MACH_SUN8I || RISCV || COMPILE_TEST
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig SUN20I_D1_R_CCU
2162306a36Sopenharmony_ci	tristate "Support for the Allwinner D1/R528/T113 PRCM CCU"
2262306a36Sopenharmony_ci	default y
2362306a36Sopenharmony_ci	depends on MACH_SUN8I || RISCV || COMPILE_TEST
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciconfig SUN50I_A64_CCU
2662306a36Sopenharmony_ci	tristate "Support for the Allwinner A64 CCU"
2762306a36Sopenharmony_ci	default y
2862306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ciconfig SUN50I_A100_CCU
3162306a36Sopenharmony_ci	tristate "Support for the Allwinner A100 CCU"
3262306a36Sopenharmony_ci	default y
3362306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig SUN50I_A100_R_CCU
3662306a36Sopenharmony_ci	tristate "Support for the Allwinner A100 PRCM CCU"
3762306a36Sopenharmony_ci	default y
3862306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ciconfig SUN50I_H6_CCU
4162306a36Sopenharmony_ci	tristate "Support for the Allwinner H6 CCU"
4262306a36Sopenharmony_ci	default y
4362306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciconfig SUN50I_H616_CCU
4662306a36Sopenharmony_ci	tristate "Support for the Allwinner H616 CCU"
4762306a36Sopenharmony_ci	default y
4862306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ciconfig SUN50I_H6_R_CCU
5162306a36Sopenharmony_ci	tristate "Support for the Allwinner H6 and H616 PRCM CCU"
5262306a36Sopenharmony_ci	default y
5362306a36Sopenharmony_ci	depends on ARM64 || COMPILE_TEST
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ciconfig SUN4I_A10_CCU
5662306a36Sopenharmony_ci	tristate "Support for the Allwinner A10/A20 CCU"
5762306a36Sopenharmony_ci	default y
5862306a36Sopenharmony_ci	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_ciconfig SUN5I_CCU
6162306a36Sopenharmony_ci	bool "Support for the Allwinner sun5i family CCM"
6262306a36Sopenharmony_ci	default y
6362306a36Sopenharmony_ci	depends on MACH_SUN5I || COMPILE_TEST
6462306a36Sopenharmony_ci	depends on SUNXI_CCU=y
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciconfig SUN6I_A31_CCU
6762306a36Sopenharmony_ci	tristate "Support for the Allwinner A31/A31s CCU"
6862306a36Sopenharmony_ci	default y
6962306a36Sopenharmony_ci	depends on MACH_SUN6I || COMPILE_TEST
7062306a36Sopenharmony_ci
7162306a36Sopenharmony_ciconfig SUN6I_RTC_CCU
7262306a36Sopenharmony_ci	tristate "Support for the Allwinner H616/R329 RTC CCU"
7362306a36Sopenharmony_ci	default y
7462306a36Sopenharmony_ci	depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ciconfig SUN8I_A23_CCU
7762306a36Sopenharmony_ci	tristate "Support for the Allwinner A23 CCU"
7862306a36Sopenharmony_ci	default y
7962306a36Sopenharmony_ci	depends on MACH_SUN8I || COMPILE_TEST
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ciconfig SUN8I_A33_CCU
8262306a36Sopenharmony_ci	tristate "Support for the Allwinner A33 CCU"
8362306a36Sopenharmony_ci	default y
8462306a36Sopenharmony_ci	depends on MACH_SUN8I || COMPILE_TEST
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ciconfig SUN8I_A83T_CCU
8762306a36Sopenharmony_ci	tristate "Support for the Allwinner A83T CCU"
8862306a36Sopenharmony_ci	default y
8962306a36Sopenharmony_ci	depends on MACH_SUN8I || COMPILE_TEST
9062306a36Sopenharmony_ci
9162306a36Sopenharmony_ciconfig SUN8I_H3_CCU
9262306a36Sopenharmony_ci	tristate "Support for the Allwinner H3 CCU"
9362306a36Sopenharmony_ci	default y
9462306a36Sopenharmony_ci	depends on MACH_SUN8I || ARM64 || COMPILE_TEST
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ciconfig SUN8I_V3S_CCU
9762306a36Sopenharmony_ci	tristate "Support for the Allwinner V3s CCU"
9862306a36Sopenharmony_ci	default y
9962306a36Sopenharmony_ci	depends on MACH_SUN8I || COMPILE_TEST
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciconfig SUN8I_DE2_CCU
10262306a36Sopenharmony_ci	tristate "Support for the Allwinner SoCs DE2 CCU"
10362306a36Sopenharmony_ci	default y
10462306a36Sopenharmony_ci	depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ciconfig SUN8I_R40_CCU
10762306a36Sopenharmony_ci	tristate "Support for the Allwinner R40 CCU"
10862306a36Sopenharmony_ci	default y
10962306a36Sopenharmony_ci	depends on MACH_SUN8I || COMPILE_TEST
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ciconfig SUN9I_A80_CCU
11262306a36Sopenharmony_ci	tristate "Support for the Allwinner A80 CCU"
11362306a36Sopenharmony_ci	default y
11462306a36Sopenharmony_ci	depends on MACH_SUN9I || COMPILE_TEST
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ciconfig SUN8I_R_CCU
11762306a36Sopenharmony_ci	tristate "Support for Allwinner SoCs' PRCM CCUs"
11862306a36Sopenharmony_ci	default y
11962306a36Sopenharmony_ci	depends on MACH_SUN8I || ARM64 || COMPILE_TEST
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ciendif
122