Merge remote-tracking branch 'lightnvm/for-next'
[deliverable/linux.git] / drivers / clk / sunxi-ng / Kconfig
CommitLineData
1d80c142
MR
1config SUNXI_CCU
2 bool "Clock support for Allwinner SoCs"
d63a5e7c 3 depends on ARCH_SUNXI || COMPILE_TEST
1d80c142 4 default ARCH_SUNXI
89a3dfb7
MR
5
6if SUNXI_CCU
7
8# Base clock types
9
e9b93213
MR
10config SUNXI_CCU_DIV
11 bool
12 select SUNXI_CCU_MUX
13
89a3dfb7
MR
14config SUNXI_CCU_FRAC
15 bool
16
1a7e7c38
MR
17config SUNXI_CCU_GATE
18 bool
19
2a65ed42
MR
20config SUNXI_CCU_MUX
21 bool
22
aa152335
MR
23config SUNXI_CCU_MULT
24 bool
25 select SUNXI_CCU_MUX
26
6f9f7f87
MR
27config SUNXI_CCU_PHASE
28 bool
29
2ab836db
MR
30# Multi-factor clocks
31
adbfb005
MR
32config SUNXI_CCU_NK
33 bool
34 select SUNXI_CCU_GATE
35
df6561e6
MR
36config SUNXI_CCU_NKM
37 bool
38 select RATIONAL
39 select SUNXI_CCU_GATE
40
4f728b5d
MR
41config SUNXI_CCU_NKMP
42 bool
43 select RATIONAL
44 select SUNXI_CCU_GATE
45
6174a1e2
MR
46config SUNXI_CCU_NM
47 bool
48 select RATIONAL
49 select SUNXI_CCU_FRAC
50 select SUNXI_CCU_GATE
51
2ab836db
MR
52config SUNXI_CCU_MP
53 bool
54 select SUNXI_CCU_GATE
55 select SUNXI_CCU_MUX
56
0577e485
MR
57# SoC Drivers
58
c6e6c96d
CYT
59config SUN6I_A31_CCU
60 bool "Support for the Allwinner A31/A31s CCU"
61 select SUNXI_CCU_DIV
62 select SUNXI_CCU_NK
63 select SUNXI_CCU_NKM
64 select SUNXI_CCU_NM
65 select SUNXI_CCU_MP
66 select SUNXI_CCU_PHASE
67 default MACH_SUN6I
68
5690879d
MR
69config SUN8I_A23_CCU
70 bool "Support for the Allwinner A23 CCU"
71 select SUNXI_CCU_DIV
72 select SUNXI_CCU_MULT
73 select SUNXI_CCU_NK
74 select SUNXI_CCU_NKM
75 select SUNXI_CCU_NKMP
76 select SUNXI_CCU_NM
77 select SUNXI_CCU_MP
78 select SUNXI_CCU_PHASE
79 default MACH_SUN8I
80
d05c748b
MR
81config SUN8I_A33_CCU
82 bool "Support for the Allwinner A33 CCU"
83 select SUNXI_CCU_DIV
84 select SUNXI_CCU_MULT
85 select SUNXI_CCU_NK
86 select SUNXI_CCU_NKM
87 select SUNXI_CCU_NKMP
88 select SUNXI_CCU_NM
89 select SUNXI_CCU_MP
90 select SUNXI_CCU_PHASE
91 default MACH_SUN8I
92
0577e485
MR
93config SUN8I_H3_CCU
94 bool "Support for the Allwinner H3 CCU"
95 select SUNXI_CCU_DIV
96 select SUNXI_CCU_NK
97 select SUNXI_CCU_NKM
98 select SUNXI_CCU_NKMP
99 select SUNXI_CCU_NM
100 select SUNXI_CCU_MP
101 select SUNXI_CCU_PHASE
5dc39163 102 default MACH_SUN8I
0577e485 103
89a3dfb7 104endif
This page took 0.038391 seconds and 5 git commands to generate.