Maxime Ripard | 1d80c14 | 2016-06-29 21:05:23 +0200 | [diff] [blame] | 1 | config SUNXI_CCU |
2 | bool "Clock support for Allwinner SoCs" | ||||
3 | default ARCH_SUNXI | ||||
Maxime Ripard | 89a3dfb | 2016-06-29 21:05:24 +0200 | [diff] [blame] | 4 | |
5 | if SUNXI_CCU | ||||
6 | |||||
7 | # Base clock types | ||||
8 | |||||
Maxime Ripard | e9b9321 | 2016-06-29 21:05:28 +0200 | [diff] [blame] | 9 | config SUNXI_CCU_DIV |
10 | bool | ||||
11 | select SUNXI_CCU_MUX | ||||
12 | |||||
Maxime Ripard | 89a3dfb | 2016-06-29 21:05:24 +0200 | [diff] [blame] | 13 | config SUNXI_CCU_FRAC |
14 | bool | ||||
15 | |||||
Maxime Ripard | 1a7e7c3 | 2016-06-29 21:05:25 +0200 | [diff] [blame] | 16 | config SUNXI_CCU_GATE |
17 | bool | ||||
18 | |||||
Maxime Ripard | 2a65ed4 | 2016-06-29 21:05:26 +0200 | [diff] [blame] | 19 | config SUNXI_CCU_MUX |
20 | bool | ||||
21 | |||||
Maxime Ripard | 6f9f7f8 | 2016-06-29 21:05:27 +0200 | [diff] [blame] | 22 | config SUNXI_CCU_PHASE |
23 | bool | ||||
24 | |||||
Maxime Ripard | 2ab836d | 2016-06-29 21:05:29 +0200 | [diff] [blame] | 25 | # Multi-factor clocks |
26 | |||||
Maxime Ripard | adbfb00 | 2016-06-29 21:05:30 +0200 | [diff] [blame] | 27 | config SUNXI_CCU_NK |
28 | bool | ||||
29 | select SUNXI_CCU_GATE | ||||
30 | |||||
Maxime Ripard | df6561e | 2016-06-29 21:05:32 +0200 | [diff] [blame] | 31 | config SUNXI_CCU_NKM |
32 | bool | ||||
33 | select RATIONAL | ||||
34 | select SUNXI_CCU_GATE | ||||
35 | |||||
Maxime Ripard | 4f728b5 | 2016-06-29 21:05:33 +0200 | [diff] [blame^] | 36 | config SUNXI_CCU_NKMP |
37 | bool | ||||
38 | select RATIONAL | ||||
39 | select SUNXI_CCU_GATE | ||||
40 | |||||
Maxime Ripard | 6174a1e | 2016-06-29 21:05:31 +0200 | [diff] [blame] | 41 | config SUNXI_CCU_NM |
42 | bool | ||||
43 | select RATIONAL | ||||
44 | select SUNXI_CCU_FRAC | ||||
45 | select SUNXI_CCU_GATE | ||||
46 | |||||
Maxime Ripard | 2ab836d | 2016-06-29 21:05:29 +0200 | [diff] [blame] | 47 | config SUNXI_CCU_MP |
48 | bool | ||||
49 | select SUNXI_CCU_GATE | ||||
50 | select SUNXI_CCU_MUX | ||||
51 | |||||
Maxime Ripard | 89a3dfb | 2016-06-29 21:05:24 +0200 | [diff] [blame] | 52 | endif |