1# SPDX-License-Identifier: GPL-2.0-only 2config SUNXI_CCU 3 tristate "Clock support for Allwinner SoCs" 4 depends on ARCH_SUNXI || COMPILE_TEST 5 select RESET_CONTROLLER 6 default ARCH_SUNXI 7 8if SUNXI_CCU 9 10config SUNIV_F1C100S_CCU 11 tristate "Support for the Allwinner newer F1C100s CCU" 12 default MACH_SUNIV 13 depends on MACH_SUNIV || COMPILE_TEST 14 15config SUN20I_D1_CCU 16 tristate "Support for the Allwinner D1 CCU" 17 default RISCV && ARCH_SUNXI 18 depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST 19 20config SUN20I_D1_R_CCU 21 tristate "Support for the Allwinner D1 PRCM CCU" 22 default RISCV && ARCH_SUNXI 23 depends on (RISCV && ARCH_SUNXI) || COMPILE_TEST 24 25config SUN50I_A64_CCU 26 tristate "Support for the Allwinner A64 CCU" 27 default ARM64 && ARCH_SUNXI 28 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 29 30config SUN50I_A100_CCU 31 tristate "Support for the Allwinner A100 CCU" 32 default ARM64 && ARCH_SUNXI 33 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 34 35config SUN50I_A100_R_CCU 36 tristate "Support for the Allwinner A100 PRCM CCU" 37 default ARM64 && ARCH_SUNXI 38 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 39 40config SUN50I_H6_CCU 41 tristate "Support for the Allwinner H6 CCU" 42 default ARM64 && ARCH_SUNXI 43 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 44 45config SUN50I_H616_CCU 46 tristate "Support for the Allwinner H616 CCU" 47 default ARM64 && ARCH_SUNXI 48 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 49 50config SUN50I_H6_R_CCU 51 tristate "Support for the Allwinner H6 and H616 PRCM CCU" 52 default ARM64 && ARCH_SUNXI 53 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST 54 55config SUN4I_A10_CCU 56 tristate "Support for the Allwinner A10/A20 CCU" 57 default MACH_SUN4I 58 default MACH_SUN7I 59 depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST 60 61config SUN5I_CCU 62 bool "Support for the Allwinner sun5i family CCM" 63 default MACH_SUN5I 64 depends on MACH_SUN5I || COMPILE_TEST 65 depends on SUNXI_CCU=y 66 67config SUN6I_A31_CCU 68 tristate "Support for the Allwinner A31/A31s CCU" 69 default MACH_SUN6I 70 depends on MACH_SUN6I || COMPILE_TEST 71 72config SUN8I_A23_CCU 73 tristate "Support for the Allwinner A23 CCU" 74 default MACH_SUN8I 75 depends on MACH_SUN8I || COMPILE_TEST 76 77config SUN8I_A33_CCU 78 tristate "Support for the Allwinner A33 CCU" 79 default MACH_SUN8I 80 depends on MACH_SUN8I || COMPILE_TEST 81 82config SUN8I_A83T_CCU 83 tristate "Support for the Allwinner A83T CCU" 84 default MACH_SUN8I 85 depends on MACH_SUN8I || COMPILE_TEST 86 87config SUN8I_H3_CCU 88 tristate "Support for the Allwinner H3 CCU" 89 default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 90 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST 91 92config SUN8I_V3S_CCU 93 tristate "Support for the Allwinner V3s CCU" 94 default MACH_SUN8I 95 depends on MACH_SUN8I || COMPILE_TEST 96 97config SUN8I_DE2_CCU 98 tristate "Support for the Allwinner SoCs DE2 CCU" 99 default MACH_SUN8I || (ARM64 && ARCH_SUNXI) 100 101config SUN8I_R40_CCU 102 tristate "Support for the Allwinner R40 CCU" 103 default MACH_SUN8I 104 depends on MACH_SUN8I || COMPILE_TEST 105 106config SUN9I_A80_CCU 107 tristate "Support for the Allwinner A80 CCU" 108 default MACH_SUN9I 109 depends on MACH_SUN9I || COMPILE_TEST 110 111config SUN8I_R_CCU 112 tristate "Support for Allwinner SoCs' PRCM CCUs" 113 default MACH_SUN8I || (ARCH_SUNXI && ARM64) 114 115endif 116