]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - drivers/clk/sunxi-ng/Kconfig
clk: sunxi-ng: Implement minimum for multipliers
[mirror_ubuntu-focal-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
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
df6561e6
MR
38 select SUNXI_CCU_GATE
39
4f728b5d
MR
40config SUNXI_CCU_NKMP
41 bool
4f728b5d
MR
42 select SUNXI_CCU_GATE
43
6174a1e2
MR
44config SUNXI_CCU_NM
45 bool
6174a1e2
MR
46 select SUNXI_CCU_FRAC
47 select SUNXI_CCU_GATE
48
2ab836db
MR
49config SUNXI_CCU_MP
50 bool
51 select SUNXI_CCU_GATE
52 select SUNXI_CCU_MUX
53
0577e485
MR
54# SoC Drivers
55
c6e6c96d
CYT
56config SUN6I_A31_CCU
57 bool "Support for the Allwinner A31/A31s CCU"
58 select SUNXI_CCU_DIV
59 select SUNXI_CCU_NK
60 select SUNXI_CCU_NKM
61 select SUNXI_CCU_NM
62 select SUNXI_CCU_MP
63 select SUNXI_CCU_PHASE
64 default MACH_SUN6I
65
5690879d
MR
66config SUN8I_A23_CCU
67 bool "Support for the Allwinner A23 CCU"
68 select SUNXI_CCU_DIV
69 select SUNXI_CCU_MULT
70 select SUNXI_CCU_NK
71 select SUNXI_CCU_NKM
72 select SUNXI_CCU_NKMP
73 select SUNXI_CCU_NM
74 select SUNXI_CCU_MP
75 select SUNXI_CCU_PHASE
76 default MACH_SUN8I
77
d05c748b
MR
78config SUN8I_A33_CCU
79 bool "Support for the Allwinner A33 CCU"
80 select SUNXI_CCU_DIV
81 select SUNXI_CCU_MULT
82 select SUNXI_CCU_NK
83 select SUNXI_CCU_NKM
84 select SUNXI_CCU_NKMP
85 select SUNXI_CCU_NM
86 select SUNXI_CCU_MP
87 select SUNXI_CCU_PHASE
88 default MACH_SUN8I
89
0577e485
MR
90config SUN8I_H3_CCU
91 bool "Support for the Allwinner H3 CCU"
92 select SUNXI_CCU_DIV
93 select SUNXI_CCU_NK
94 select SUNXI_CCU_NKM
95 select SUNXI_CCU_NKMP
96 select SUNXI_CCU_NM
97 select SUNXI_CCU_MP
98 select SUNXI_CCU_PHASE
5dc39163 99 default MACH_SUN8I
0577e485 100
89a3dfb7 101endif