xref: /openbmc/linux/drivers/clk/sunxi-ng/Kconfig (revision f1404c72)
1# SPDX-License-Identifier: GPL-2.0-only
2config SUNXI_CCU
3	tristate "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	tristate "Support for the Allwinner newer F1C100s CCU"
12	default y
13	depends on MACH_SUNIV || COMPILE_TEST
14
15config SUN20I_D1_CCU
16	tristate "Support for the Allwinner D1/R528/T113 CCU"
17	default y
18	depends on MACH_SUN8I || RISCV || COMPILE_TEST
19
20config SUN20I_D1_R_CCU
21	tristate "Support for the Allwinner D1/R528/T113 PRCM CCU"
22	default y
23	depends on MACH_SUN8I || RISCV || COMPILE_TEST
24
25config SUN50I_A64_CCU
26	tristate "Support for the Allwinner A64 CCU"
27	default y
28	depends on ARM64 || COMPILE_TEST
29
30config SUN50I_A100_CCU
31	tristate "Support for the Allwinner A100 CCU"
32	default y
33	depends on ARM64 || COMPILE_TEST
34
35config SUN50I_A100_R_CCU
36	tristate "Support for the Allwinner A100 PRCM CCU"
37	default y
38	depends on ARM64 || COMPILE_TEST
39
40config SUN50I_H6_CCU
41	tristate "Support for the Allwinner H6 CCU"
42	default y
43	depends on ARM64 || COMPILE_TEST
44
45config SUN50I_H616_CCU
46	tristate "Support for the Allwinner H616 CCU"
47	default y
48	depends on ARM64 || COMPILE_TEST
49
50config SUN50I_H6_R_CCU
51	tristate "Support for the Allwinner H6 and H616 PRCM CCU"
52	default y
53	depends on ARM64 || COMPILE_TEST
54
55config SUN4I_A10_CCU
56	tristate "Support for the Allwinner A10/A20 CCU"
57	default y
58	depends on MACH_SUN4I || MACH_SUN7I || COMPILE_TEST
59
60config SUN5I_CCU
61	bool "Support for the Allwinner sun5i family CCM"
62	default y
63	depends on MACH_SUN5I || COMPILE_TEST
64	depends on SUNXI_CCU=y
65
66config SUN6I_A31_CCU
67	tristate "Support for the Allwinner A31/A31s CCU"
68	default y
69	depends on MACH_SUN6I || COMPILE_TEST
70
71config SUN6I_RTC_CCU
72	tristate "Support for the Allwinner H616/R329 RTC CCU"
73	default y
74	depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
75
76config SUN8I_A23_CCU
77	tristate "Support for the Allwinner A23 CCU"
78	default y
79	depends on MACH_SUN8I || COMPILE_TEST
80
81config SUN8I_A33_CCU
82	tristate "Support for the Allwinner A33 CCU"
83	default y
84	depends on MACH_SUN8I || COMPILE_TEST
85
86config SUN8I_A83T_CCU
87	tristate "Support for the Allwinner A83T CCU"
88	default y
89	depends on MACH_SUN8I || COMPILE_TEST
90
91config SUN8I_H3_CCU
92	tristate "Support for the Allwinner H3 CCU"
93	default y
94	depends on MACH_SUN8I || ARM64 || COMPILE_TEST
95
96config SUN8I_V3S_CCU
97	tristate "Support for the Allwinner V3s CCU"
98	default y
99	depends on MACH_SUN8I || COMPILE_TEST
100
101config SUN8I_DE2_CCU
102	tristate "Support for the Allwinner SoCs DE2 CCU"
103	default y
104	depends on MACH_SUN8I || ARM64 || RISCV || COMPILE_TEST
105
106config SUN8I_R40_CCU
107	tristate "Support for the Allwinner R40 CCU"
108	default y
109	depends on MACH_SUN8I || COMPILE_TEST
110
111config SUN9I_A80_CCU
112	tristate "Support for the Allwinner A80 CCU"
113	default y
114	depends on MACH_SUN9I || COMPILE_TEST
115
116config SUN8I_R_CCU
117	tristate "Support for Allwinner SoCs' PRCM CCUs"
118	default y
119	depends on MACH_SUN8I || ARM64 || COMPILE_TEST
120
121endif
122