0001 # SPDX-License-Identifier: GPL-2.0-only
0002 menuconfig CLK_SUNXI
0003 bool "Legacy clock support for Allwinner SoCs"
0004 depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
0005 default y
0006
0007 if CLK_SUNXI
0008
0009 config CLK_SUNXI_CLOCKS
0010 bool "Legacy clock drivers"
0011 default y
0012 help
0013 Legacy clock drivers being used on older (A10, A13, A20,
0014 A23, A31, A80) SoCs. These drivers are kept around for
0015 Device Tree backward compatibility issues, in case one would
0016 still use a Device Tree with one clock provider by
0017 node. Newer Device Trees and newer SoCs use the drivers
0018 controlled by CONFIG_SUNXI_CCU.
0019
0020 config CLK_SUNXI_PRCM_SUN6I
0021 bool "Legacy A31 PRCM driver"
0022 default y
0023 help
0024 Legacy clock driver for the A31 PRCM clocks. Those are
0025 usually needed for the PMIC communication, mostly.
0026
0027 config CLK_SUNXI_PRCM_SUN8I
0028 bool "Legacy sun8i PRCM driver"
0029 default y
0030 help
0031 Legacy clock driver for the sun8i family PRCM clocks.
0032 Those are usually needed for the PMIC communication,
0033 mostly.
0034
0035 config CLK_SUNXI_PRCM_SUN9I
0036 bool "Legacy A80 PRCM driver"
0037 default y
0038 help
0039 Legacy clock driver for the A80 PRCM clocks. Those are
0040 usually needed for the PMIC communication, mostly.
0041
0042 endif