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