clk: sunxi-ng: Add H3 clocks
[linux-2.6-microblaze.git] / drivers / clk / sunxi-ng / Kconfig
1 config SUNXI_CCU
2         bool "Clock support for Allwinner SoCs"
3         default ARCH_SUNXI
4
5 if SUNXI_CCU
6
7 # Base clock types
8
9 config SUNXI_CCU_DIV
10         bool
11         select SUNXI_CCU_MUX
12
13 config SUNXI_CCU_FRAC
14         bool
15
16 config SUNXI_CCU_GATE
17         bool
18
19 config SUNXI_CCU_MUX
20         bool
21
22 config SUNXI_CCU_PHASE
23         bool
24
25 # Multi-factor clocks
26
27 config SUNXI_CCU_NK
28         bool
29         select SUNXI_CCU_GATE
30
31 config SUNXI_CCU_NKM
32         bool
33         select RATIONAL
34         select SUNXI_CCU_GATE
35
36 config SUNXI_CCU_NKMP
37         bool
38         select RATIONAL
39         select SUNXI_CCU_GATE
40
41 config SUNXI_CCU_NM
42         bool
43         select RATIONAL
44         select SUNXI_CCU_FRAC
45         select SUNXI_CCU_GATE
46
47 config SUNXI_CCU_MP
48         bool
49         select SUNXI_CCU_GATE
50         select SUNXI_CCU_MUX
51
52 # SoC Drivers
53
54 config 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
65 endif