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