2b6207cc4eda16b2936cedebf69cf1a51b42585b
[linux-2.6-block.git] / drivers / clk / sunxi / Kconfig
1 menuconfig CLK_SUNXI
2         bool "Legacy clock support for Allwinner SoCs"
3         depends on ARCH_SUNXI || COMPILE_TEST
4         default y
5
6 if CLK_SUNXI
7
8 config CLK_SUNXI_CLOCKS
9         bool "Legacy clock drivers"
10         default y
11         help
12           Legacy clock drivers being used on older (A10, A13, A20,
13           A23, A31, A80) SoCs. These drivers are kept around for
14           Device Tree backward compatibility issues, in case one would
15           still use a Device Tree with one clock provider by
16           node. Newer Device Trees and newer SoCs use the drivers
17           controlled by CONFIG_SUNXI_CCU.
18
19 config CLK_SUNXI_PRCM_SUN6I
20         bool "Legacy A31 PRCM driver"
21         select MFD_SUN6I_PRCM
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         select MFD_SUN6I_PRCM
30         default y
31         help
32           Legacy clock driver for the sun8i family PRCM clocks.
33           Those are usually needed for the PMIC communication,
34           mostly.
35
36 config CLK_SUNXI_PRCM_SUN9I
37         bool "Legacy A80 PRCM driver"
38         default y
39         help
40           Legacy clock driver for the A80 PRCM clocks. Those are
41           usually needed for the PMIC communication, mostly.
42
43 endif