0001 # SPDX-License-Identifier: GPL-2.0-only
0002 config SUNXI_CCU
0003 tristate "Clock support for Allwinner SoCs"
0004 depends on ARCH_SUNXI || COMPILE_TEST
0005 select RESET_CONTROLLER
0006 default ARCH_SUNXI
0007
0008 if SUNXI_CCU
0009
0010 config SUNIV_F1C100S_CCU
0011 tristate "Support for the Allwinner newer F1C100s CCU"
0012 default MACH_SUNIV
0013 depends on MACH_SUNIV || COMPILE_TEST
0014
0015 config SUN20I_D1_CCU
0016 tristate "Support for the Allwinner D1 CCU"
0017 default RISCV && ARCH_SUNXI
0018 depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST
0019
0020 config SUN20I_D1_R_CCU
0021 tristate "Support for the Allwinner D1 PRCM CCU"
0022 default RISCV && ARCH_SUNXI
0023 depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST
0024
0025 config SUN50I_A64_CCU
0026 tristate "Support for the Allwinner A64 CCU"
0027 default ARM64 && ARCH_SUNXI
0028 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0029
0030 config SUN50I_A100_CCU
0031 tristate "Support for the Allwinner A100 CCU"
0032 default ARM64 && ARCH_SUNXI
0033 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0034
0035 config SUN50I_A100_R_CCU
0036 tristate "Support for the Allwinner A100 PRCM CCU"
0037 default ARM64 && ARCH_SUNXI
0038 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0039
0040 config SUN50I_H6_CCU
0041 tristate "Support for the Allwinner H6 CCU"
0042 default ARM64 && ARCH_SUNXI
0043 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0044
0045 config SUN50I_H616_CCU
0046 tristate "Support for the Allwinner H616 CCU"
0047 default ARM64 && ARCH_SUNXI
0048 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0049
0050 config SUN50I_H6_R_CCU
0051 tristate "Support for the Allwinner H6 and H616 PRCM CCU"
0052 default ARM64 && ARCH_SUNXI
0053 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0054
0055 config SUN4I_A10_CCU
0056 tristate "Support for the Allwinner A10/A20 CCU"
0057 default MACH_SUN4I
0058 default MACH_SUN7I
0059 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
0060
0061 config SUN5I_CCU
0062 bool "Support for the Allwinner sun5i family CCM"
0063 default MACH_SUN5I
0064 depends on MACH_SUN5I || COMPILE_TEST
0065 depends on SUNXI_CCU=y
0066
0067 config SUN6I_A31_CCU
0068 tristate "Support for the Allwinner A31/A31s CCU"
0069 default MACH_SUN6I
0070 depends on MACH_SUN6I || COMPILE_TEST
0071
0072 config SUN6I_RTC_CCU
0073 tristate "Support for the Allwinner H616/R329 RTC CCU"
0074 default ARCH_SUNXI
0075 depends on ARCH_SUNXI || COMPILE_TEST
0076
0077 config SUN8I_A23_CCU
0078 tristate "Support for the Allwinner A23 CCU"
0079 default MACH_SUN8I
0080 depends on MACH_SUN8I || COMPILE_TEST
0081
0082 config SUN8I_A33_CCU
0083 tristate "Support for the Allwinner A33 CCU"
0084 default MACH_SUN8I
0085 depends on MACH_SUN8I || COMPILE_TEST
0086
0087 config SUN8I_A83T_CCU
0088 tristate "Support for the Allwinner A83T CCU"
0089 default MACH_SUN8I
0090 depends on MACH_SUN8I || COMPILE_TEST
0091
0092 config SUN8I_H3_CCU
0093 tristate "Support for the Allwinner H3 CCU"
0094 default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
0095 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
0096
0097 config SUN8I_V3S_CCU
0098 tristate "Support for the Allwinner V3s CCU"
0099 default MACH_SUN8I
0100 depends on MACH_SUN8I || COMPILE_TEST
0101
0102 config SUN8I_DE2_CCU
0103 tristate "Support for the Allwinner SoCs DE2 CCU"
0104 default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
0105
0106 config SUN8I_R40_CCU
0107 tristate "Support for the Allwinner R40 CCU"
0108 default MACH_SUN8I
0109 depends on MACH_SUN8I || COMPILE_TEST
0110
0111 config SUN9I_A80_CCU
0112 tristate "Support for the Allwinner A80 CCU"
0113 default MACH_SUN9I
0114 depends on MACH_SUN9I || COMPILE_TEST
0115
0116 config SUN8I_R_CCU
0117 tristate "Support for Allwinner SoCs' PRCM CCUs"
0118 default MACH_SUN8I || (ARCH_SUNXI && ARM64)
0119
0120 endif