GNU Linux-libre 4.14.290-gnu1
[releases.git] / drivers / clk / sunxi-ng / Kconfig
1 config SUNXI_CCU
2         bool "Clock support for Allwinner SoCs"
3         depends on ARCH_SUNXI || COMPILE_TEST
4         select RESET_CONTROLLER
5         default ARCH_SUNXI
6
7 if SUNXI_CCU
8
9 config SUN50I_A64_CCU
10         bool "Support for the Allwinner A64 CCU"
11         default ARM64 && ARCH_SUNXI
12         depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
13
14 config SUN4I_A10_CCU
15         bool "Support for the Allwinner A10/A20 CCU"
16         select SUNXI_CCU_DIV
17         select SUNXI_CCU_MULT
18         select SUNXI_CCU_NK
19         select SUNXI_CCU_NKM
20         select SUNXI_CCU_NM
21         select SUNXI_CCU_MP
22         select SUNXI_CCU_PHASE
23         default MACH_SUN4I
24         default MACH_SUN7I
25         depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
26
27 config SUN5I_CCU
28         bool "Support for the Allwinner sun5i family CCM"
29         default MACH_SUN5I
30         depends on MACH_SUN5I || COMPILE_TEST
31
32 config SUN6I_A31_CCU
33         bool "Support for the Allwinner A31/A31s CCU"
34         default MACH_SUN6I
35         depends on MACH_SUN6I || COMPILE_TEST
36
37 config SUN8I_A23_CCU
38         bool "Support for the Allwinner A23 CCU"
39         default MACH_SUN8I
40         depends on MACH_SUN8I || COMPILE_TEST
41
42 config SUN8I_A33_CCU
43         bool "Support for the Allwinner A33 CCU"
44         default MACH_SUN8I
45         depends on MACH_SUN8I || COMPILE_TEST
46
47 config SUN8I_A83T_CCU
48         bool "Support for the Allwinner A83T CCU"
49         default MACH_SUN8I
50
51 config SUN8I_H3_CCU
52         bool "Support for the Allwinner H3 CCU"
53         default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
54         depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
55
56 config SUN8I_V3S_CCU
57         bool "Support for the Allwinner V3s CCU"
58         default MACH_SUN8I
59         depends on MACH_SUN8I || COMPILE_TEST
60
61 config SUN8I_DE2_CCU
62         bool "Support for the Allwinner SoCs DE2 CCU"
63
64 config SUN8I_R40_CCU
65         bool "Support for the Allwinner R40 CCU"
66         default MACH_SUN8I
67         depends on MACH_SUN8I || COMPILE_TEST
68
69 config SUN9I_A80_CCU
70         bool "Support for the Allwinner A80 CCU"
71         default MACH_SUN9I
72         depends on MACH_SUN9I || COMPILE_TEST
73
74 config SUN8I_R_CCU
75         bool "Support for Allwinner SoCs' PRCM CCUs"
76         default MACH_SUN8I || (ARCH_SUNXI && ARM64)
77
78 endif