162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenuconfig CLK_SUNXI
362306a36Sopenharmony_ci	bool "Legacy clock support for Allwinner SoCs"
462306a36Sopenharmony_ci	depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
562306a36Sopenharmony_ci	default y
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciif CLK_SUNXI
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciconfig CLK_SUNXI_CLOCKS
1062306a36Sopenharmony_ci	bool "Legacy clock drivers"
1162306a36Sopenharmony_ci	default y
1262306a36Sopenharmony_ci	help
1362306a36Sopenharmony_ci	  Legacy clock drivers being used on older (A10, A13, A20,
1462306a36Sopenharmony_ci	  A23, A31, A80) SoCs. These drivers are kept around for
1562306a36Sopenharmony_ci	  Device Tree backward compatibility issues, in case one would
1662306a36Sopenharmony_ci	  still use a Device Tree with one clock provider by
1762306a36Sopenharmony_ci	  node. Newer Device Trees and newer SoCs use the drivers
1862306a36Sopenharmony_ci	  controlled by CONFIG_SUNXI_CCU.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN6I
2162306a36Sopenharmony_ci	bool "Legacy A31 PRCM driver"
2262306a36Sopenharmony_ci	default y
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Legacy clock driver for the A31 PRCM clocks. Those are
2562306a36Sopenharmony_ci	  usually needed for the PMIC communication, mostly.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN8I
2862306a36Sopenharmony_ci	bool "Legacy sun8i PRCM driver"
2962306a36Sopenharmony_ci	default y
3062306a36Sopenharmony_ci	help
3162306a36Sopenharmony_ci	  Legacy clock driver for the sun8i family PRCM clocks.
3262306a36Sopenharmony_ci	  Those are usually needed for the PMIC communication,
3362306a36Sopenharmony_ci	  mostly.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN9I
3662306a36Sopenharmony_ci	bool "Legacy A80 PRCM driver"
3762306a36Sopenharmony_ci	default y
3862306a36Sopenharmony_ci	help
3962306a36Sopenharmony_ci	  Legacy clock driver for the A80 PRCM clocks. Those are
4062306a36Sopenharmony_ci	  usually needed for the PMIC communication, mostly.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciendif
43