xref: /openbmc/linux/drivers/clk/sunxi-ng/Kconfig (revision 023e4163)
1config 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
7if SUNXI_CCU
8
9config SUNIV_F1C100S_CCU
10	bool "Support for the Allwinner newer F1C100s CCU"
11	default MACH_SUNIV
12	depends on MACH_SUNIV || COMPILE_TEST
13
14config SUN50I_A64_CCU
15	bool "Support for the Allwinner A64 CCU"
16	default ARM64 && ARCH_SUNXI
17	depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
18
19config SUN50I_H6_CCU
20	bool "Support for the Allwinner H6 CCU"
21	default ARM64 && ARCH_SUNXI
22	depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
23
24config SUN50I_H6_R_CCU
25	bool "Support for the Allwinner H6 PRCM CCU"
26	default ARM64 && ARCH_SUNXI
27	depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
28
29config SUN4I_A10_CCU
30	bool "Support for the Allwinner A10/A20 CCU"
31	default MACH_SUN4I
32	default MACH_SUN7I
33	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
34
35config SUN5I_CCU
36	bool "Support for the Allwinner sun5i family CCM"
37	default MACH_SUN5I
38	depends on MACH_SUN5I || COMPILE_TEST
39
40config SUN6I_A31_CCU
41	bool "Support for the Allwinner A31/A31s CCU"
42	default MACH_SUN6I
43	depends on MACH_SUN6I || COMPILE_TEST
44
45config SUN8I_A23_CCU
46	bool "Support for the Allwinner A23 CCU"
47	default MACH_SUN8I
48	depends on MACH_SUN8I || COMPILE_TEST
49
50config SUN8I_A33_CCU
51	bool "Support for the Allwinner A33 CCU"
52	default MACH_SUN8I
53	depends on MACH_SUN8I || COMPILE_TEST
54
55config SUN8I_A83T_CCU
56	bool "Support for the Allwinner A83T CCU"
57	default MACH_SUN8I
58
59config SUN8I_H3_CCU
60	bool "Support for the Allwinner H3 CCU"
61	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
62	depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
63
64config SUN8I_V3S_CCU
65	bool "Support for the Allwinner V3s CCU"
66	default MACH_SUN8I
67	depends on MACH_SUN8I || COMPILE_TEST
68
69config SUN8I_DE2_CCU
70	bool "Support for the Allwinner SoCs DE2 CCU"
71	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
72
73config SUN8I_R40_CCU
74	bool "Support for the Allwinner R40 CCU"
75	default MACH_SUN8I
76	depends on MACH_SUN8I || COMPILE_TEST
77
78config SUN9I_A80_CCU
79	bool "Support for the Allwinner A80 CCU"
80	default MACH_SUN9I
81	depends on MACH_SUN9I || COMPILE_TEST
82
83config SUN8I_R_CCU
84	bool "Support for Allwinner SoCs' PRCM CCUs"
85	default MACH_SUN8I || (ARCH_SUNXI && ARM64)
86
87endif
88