xref: /openbmc/linux/drivers/clk/sunxi-ng/Kconfig (revision 0577e485)
1config SUNXI_CCU
2	bool "Clock support for Allwinner SoCs"
3	default ARCH_SUNXI
4
5if SUNXI_CCU
6
7# Base clock types
8
9config SUNXI_CCU_DIV
10	bool
11	select SUNXI_CCU_MUX
12
13config SUNXI_CCU_FRAC
14	bool
15
16config SUNXI_CCU_GATE
17	bool
18
19config SUNXI_CCU_MUX
20	bool
21
22config SUNXI_CCU_PHASE
23	bool
24
25# Multi-factor clocks
26
27config SUNXI_CCU_NK
28	bool
29	select SUNXI_CCU_GATE
30
31config SUNXI_CCU_NKM
32	bool
33	select RATIONAL
34	select SUNXI_CCU_GATE
35
36config SUNXI_CCU_NKMP
37	bool
38	select RATIONAL
39	select SUNXI_CCU_GATE
40
41config SUNXI_CCU_NM
42	bool
43	select RATIONAL
44	select SUNXI_CCU_FRAC
45	select SUNXI_CCU_GATE
46
47config SUNXI_CCU_MP
48	bool
49	select SUNXI_CCU_GATE
50	select SUNXI_CCU_MUX
51
52# SoC Drivers
53
54config SUN8I_H3_CCU
55	bool "Support for the Allwinner H3 CCU"
56	select SUNXI_CCU_DIV
57	select SUNXI_CCU_NK
58	select SUNXI_CCU_NKM
59	select SUNXI_CCU_NKMP
60	select SUNXI_CCU_NM
61	select SUNXI_CCU_MP
62	select SUNXI_CCU_PHASE
63	default ARCH_SUN8I
64
65endif
66