Merge tag 'for-v6.4' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power...
[linux-block.git] / drivers / clk / sunxi / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menuconfig CLK_SUNXI
3         bool "Legacy clock support for Allwinner SoCs"
4         depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
5         default y
6
7 if CLK_SUNXI
8
9 config CLK_SUNXI_CLOCKS
10         bool "Legacy clock drivers"
11         default y
12         help
13           Legacy clock drivers being used on older (A10, A13, A20,
14           A23, A31, A80) SoCs. These drivers are kept around for
15           Device Tree backward compatibility issues, in case one would
16           still use a Device Tree with one clock provider by
17           node. Newer Device Trees and newer SoCs use the drivers
18           controlled by CONFIG_SUNXI_CCU.
19
20 config CLK_SUNXI_PRCM_SUN6I
21         bool "Legacy A31 PRCM driver"
22         default y
23         help
24           Legacy clock driver for the A31 PRCM clocks. Those are
25           usually needed for the PMIC communication, mostly.
26
27 config CLK_SUNXI_PRCM_SUN8I
28         bool "Legacy sun8i PRCM driver"
29         default y
30         help
31           Legacy clock driver for the sun8i family PRCM clocks.
32           Those are usually needed for the PMIC communication,
33           mostly.
34
35 config CLK_SUNXI_PRCM_SUN9I
36         bool "Legacy A80 PRCM driver"
37         default y
38         help
39           Legacy clock driver for the A80 PRCM clocks. Those are
40           usually needed for the PMIC communication, mostly.
41
42 endif