Merge tag 'staging-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-microblaze.git] / drivers / clk / sunxi-ng / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config SUNXI_CCU
3         bool "Clock support for Allwinner SoCs"
4         depends on ARCH_SUNXI || COMPILE_TEST
5         select RESET_CONTROLLER
6         default ARCH_SUNXI
7
8 if SUNXI_CCU
9
10 config SUNIV_F1C100S_CCU
11         bool "Support for the Allwinner newer F1C100s CCU"
12         default MACH_SUNIV
13         depends on MACH_SUNIV || COMPILE_TEST
14
15 config SUN50I_A64_CCU
16         bool "Support for the Allwinner A64 CCU"
17         default ARM64 && ARCH_SUNXI
18         depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
19
20 config SUN50I_H6_CCU
21         bool "Support for the Allwinner H6 CCU"
22         default ARM64 && ARCH_SUNXI
23         depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
24
25 config SUN50I_H6_R_CCU
26         bool "Support for the Allwinner H6 PRCM CCU"
27         default ARM64 && ARCH_SUNXI
28         depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
29
30 config SUN4I_A10_CCU
31         bool "Support for the Allwinner A10/A20 CCU"
32         default MACH_SUN4I
33         default MACH_SUN7I
34         depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
35
36 config SUN5I_CCU
37         bool "Support for the Allwinner sun5i family CCM"
38         default MACH_SUN5I
39         depends on MACH_SUN5I || COMPILE_TEST
40
41 config SUN6I_A31_CCU
42         bool "Support for the Allwinner A31/A31s CCU"
43         default MACH_SUN6I
44         depends on MACH_SUN6I || COMPILE_TEST
45
46 config SUN8I_A23_CCU
47         bool "Support for the Allwinner A23 CCU"
48         default MACH_SUN8I
49         depends on MACH_SUN8I || COMPILE_TEST
50
51 config SUN8I_A33_CCU
52         bool "Support for the Allwinner A33 CCU"
53         default MACH_SUN8I
54         depends on MACH_SUN8I || COMPILE_TEST
55
56 config SUN8I_A83T_CCU
57         bool "Support for the Allwinner A83T CCU"
58         default MACH_SUN8I
59
60 config SUN8I_H3_CCU
61         bool "Support for the Allwinner H3 CCU"
62         default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
63         depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
64
65 config SUN8I_V3S_CCU
66         bool "Support for the Allwinner V3s CCU"
67         default MACH_SUN8I
68         depends on MACH_SUN8I || COMPILE_TEST
69
70 config SUN8I_DE2_CCU
71         bool "Support for the Allwinner SoCs DE2 CCU"
72         default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
73
74 config SUN8I_R40_CCU
75         bool "Support for the Allwinner R40 CCU"
76         default MACH_SUN8I
77         depends on MACH_SUN8I || COMPILE_TEST
78
79 config SUN9I_A80_CCU
80         bool "Support for the Allwinner A80 CCU"
81         default MACH_SUN9I
82         depends on MACH_SUN9I || COMPILE_TEST
83
84 config SUN8I_R_CCU
85         bool "Support for Allwinner SoCs' PRCM CCUs"
86         default MACH_SUN8I || (ARCH_SUNXI && ARM64)
87
88 endif