xref: /openbmc/linux/drivers/clk/sunxi-ng/Kconfig (revision a518d637)
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 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
14config SUN5I_CCU
15	bool "Support for the Allwinner sun5i family CCM"
16	default MACH_SUN5I
17	depends on MACH_SUN5I || COMPILE_TEST
18
19config SUN6I_A31_CCU
20	bool "Support for the Allwinner A31/A31s CCU"
21	default MACH_SUN6I
22	depends on MACH_SUN6I || COMPILE_TEST
23
24config SUN8I_A23_CCU
25	bool "Support for the Allwinner A23 CCU"
26	default MACH_SUN8I
27	depends on MACH_SUN8I || COMPILE_TEST
28
29config SUN8I_A33_CCU
30	bool "Support for the Allwinner A33 CCU"
31	default MACH_SUN8I
32	depends on MACH_SUN8I || COMPILE_TEST
33
34config SUN8I_A83T_CCU
35	bool "Support for the Allwinner A83T CCU"
36	default MACH_SUN8I
37
38config SUN8I_H3_CCU
39	bool "Support for the Allwinner H3 CCU"
40	default MACH_SUN8I || (ARM64 && ARCH_SUNXI)
41	depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
42
43config SUN8I_V3S_CCU
44	bool "Support for the Allwinner V3s CCU"
45	default MACH_SUN8I
46	depends on MACH_SUN8I || COMPILE_TEST
47
48config SUN8I_DE2_CCU
49	bool "Support for the Allwinner SoCs DE2 CCU"
50
51config SUN9I_A80_CCU
52	bool "Support for the Allwinner A80 CCU"
53	default MACH_SUN9I
54	depends on MACH_SUN9I || COMPILE_TEST
55
56config SUN8I_R_CCU
57	bool "Support for Allwinner SoCs' PRCM CCUs"
58	default MACH_SUN8I || (ARCH_SUNXI && ARM64)
59
60endif
61