xref: /openbmc/linux/drivers/clk/sunxi/Kconfig (revision 1edd0337)
1# SPDX-License-Identifier: GPL-2.0-only
2menuconfig CLK_SUNXI
3	bool "Legacy clock support for Allwinner SoCs"
4	depends on (ARM && 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	default y
23	help
24	  Legacy clock driver for the A31 PRCM clocks. Those are
25	  usually needed for the PMIC communication, mostly.
26
27config 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
35config 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
42endif
43