1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig CLK_SUNXI
3	bool "Legacy clock support for Allwinner SoCs"
4	depends on ARCH_SUNXI || COMPILE_TEST
5	default y
6
7if CLK_SUNXI
8
9config 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
20config CLK_SUNXI_PRCM_SUN6I
21	bool "Legacy A31 PRCM driver"
22	select MFD_SUN6I_PRCM
23	default y
24	help
25	  Legacy clock driver for the A31 PRCM clocks. Those are
26	  usually needed for the PMIC communication, mostly.
27
28config CLK_SUNXI_PRCM_SUN8I
29	bool "Legacy sun8i PRCM driver"
30	select MFD_SUN6I_PRCM
31	default y
32	help
33	  Legacy clock driver for the sun8i family PRCM clocks.
34	  Those are usually needed for the PMIC communication,
35	  mostly.
36
37config CLK_SUNXI_PRCM_SUN9I
38	bool "Legacy A80 PRCM driver"
39	default y
40	help
41	  Legacy clock driver for the A80 PRCM clocks. Those are
42	  usually needed for the PMIC communication, mostly.
43
44endif
45