]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/clk/sunxi-ng/Kconfig
Merge remote-tracking branches 'asoc/topic/adsp', 'asoc/topic/ak4613', 'asoc/topic...
[mirror_ubuntu-bionic-kernel.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
aa01338c 4 select RESET_CONTROLLER
1d80c142 5 default ARCH_SUNXI
89a3dfb7
MR
6
7if SUNXI_CCU
8
9# Base clock types
10
e9b93213
MR
11config SUNXI_CCU_DIV
12 bool
13 select SUNXI_CCU_MUX
14
89a3dfb7
MR
15config SUNXI_CCU_FRAC
16 bool
17
1a7e7c38
MR
18config SUNXI_CCU_GATE
19 bool
20
2a65ed42
MR
21config SUNXI_CCU_MUX
22 bool
23
aa152335
MR
24config SUNXI_CCU_MULT
25 bool
26 select SUNXI_CCU_MUX
27
6f9f7f87
MR
28config SUNXI_CCU_PHASE
29 bool
30
2ab836db
MR
31# Multi-factor clocks
32
adbfb005
MR
33config SUNXI_CCU_NK
34 bool
35 select SUNXI_CCU_GATE
36
df6561e6
MR
37config SUNXI_CCU_NKM
38 bool
df6561e6
MR
39 select SUNXI_CCU_GATE
40
4f728b5d
MR
41config SUNXI_CCU_NKMP
42 bool
4f728b5d
MR
43 select SUNXI_CCU_GATE
44
6174a1e2
MR
45config SUNXI_CCU_NM
46 bool
6174a1e2
MR
47 select SUNXI_CCU_FRAC
48 select SUNXI_CCU_GATE
49
2ab836db
MR
50config SUNXI_CCU_MP
51 bool
52 select SUNXI_CCU_GATE
53 select SUNXI_CCU_MUX
54
0577e485
MR
55# SoC Drivers
56
c6a06374
MR
57config SUN50I_A64_CCU
58 bool "Support for the Allwinner A64 CCU"
59 select SUNXI_CCU_DIV
60 select SUNXI_CCU_NK
61 select SUNXI_CCU_NKM
62 select SUNXI_CCU_NKMP
63 select SUNXI_CCU_NM
64 select SUNXI_CCU_MP
65 select SUNXI_CCU_PHASE
66 default ARM64 && ARCH_SUNXI
67
5e737617
MR
68config SUN5I_CCU
69 bool "Support for the Allwinner sun5i family CCM"
70 select SUNXI_CCU_DIV
f3f1ea34 71 select SUNXI_CCU_MULT
5e737617
MR
72 select SUNXI_CCU_NK
73 select SUNXI_CCU_NKM
74 select SUNXI_CCU_NM
75 select SUNXI_CCU_MP
76 select SUNXI_CCU_PHASE
77 default MACH_SUN5I
78
c6e6c96d
CYT
79config SUN6I_A31_CCU
80 bool "Support for the Allwinner A31/A31s CCU"
81 select SUNXI_CCU_DIV
82 select SUNXI_CCU_NK
83 select SUNXI_CCU_NKM
69c9ae50 84 select SUNXI_CCU_NKMP
c6e6c96d
CYT
85 select SUNXI_CCU_NM
86 select SUNXI_CCU_MP
87 select SUNXI_CCU_PHASE
88 default MACH_SUN6I
89
5690879d
MR
90config SUN8I_A23_CCU
91 bool "Support for the Allwinner A23 CCU"
92 select SUNXI_CCU_DIV
93 select SUNXI_CCU_MULT
94 select SUNXI_CCU_NK
95 select SUNXI_CCU_NKM
96 select SUNXI_CCU_NKMP
97 select SUNXI_CCU_NM
98 select SUNXI_CCU_MP
99 select SUNXI_CCU_PHASE
100 default MACH_SUN8I
101
d05c748b
MR
102config SUN8I_A33_CCU
103 bool "Support for the Allwinner A33 CCU"
104 select SUNXI_CCU_DIV
105 select SUNXI_CCU_MULT
106 select SUNXI_CCU_NK
107 select SUNXI_CCU_NKM
108 select SUNXI_CCU_NKMP
109 select SUNXI_CCU_NM
110 select SUNXI_CCU_MP
111 select SUNXI_CCU_PHASE
112 default MACH_SUN8I
113
0577e485
MR
114config SUN8I_H3_CCU
115 bool "Support for the Allwinner H3 CCU"
116 select SUNXI_CCU_DIV
117 select SUNXI_CCU_NK
118 select SUNXI_CCU_NKM
119 select SUNXI_CCU_NKMP
120 select SUNXI_CCU_NM
121 select SUNXI_CCU_MP
122 select SUNXI_CCU_PHASE
5dc39163 123 default MACH_SUN8I
0577e485 124
d0f11d14
IZ
125config SUN8I_V3S_CCU
126 bool "Support for the Allwinner V3s CCU"
127 select SUNXI_CCU_DIV
128 select SUNXI_CCU_NK
129 select SUNXI_CCU_NKM
130 select SUNXI_CCU_NKMP
131 select SUNXI_CCU_NM
132 select SUNXI_CCU_MP
133 select SUNXI_CCU_PHASE
134 default MACH_SUN8I
135
b8eb71dc
CYT
136config SUN9I_A80_CCU
137 bool "Support for the Allwinner A80 CCU"
138 select SUNXI_CCU_DIV
e87741ac 139 select SUNXI_CCU_MULT
b8eb71dc
CYT
140 select SUNXI_CCU_GATE
141 select SUNXI_CCU_NKMP
142 select SUNXI_CCU_NM
143 select SUNXI_CCU_MP
144 select SUNXI_CCU_PHASE
145 default MACH_SUN9I
146
89a3dfb7 147endif