18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenuconfig CLK_SUNXI
38c2ecf20Sopenharmony_ci	bool "Legacy clock support for Allwinner SoCs"
48c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
58c2ecf20Sopenharmony_ci	default y
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciif CLK_SUNXI
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciconfig CLK_SUNXI_CLOCKS
108c2ecf20Sopenharmony_ci	bool "Legacy clock drivers"
118c2ecf20Sopenharmony_ci	default y
128c2ecf20Sopenharmony_ci	help
138c2ecf20Sopenharmony_ci	  Legacy clock drivers being used on older (A10, A13, A20,
148c2ecf20Sopenharmony_ci	  A23, A31, A80) SoCs. These drivers are kept around for
158c2ecf20Sopenharmony_ci	  Device Tree backward compatibility issues, in case one would
168c2ecf20Sopenharmony_ci	  still use a Device Tree with one clock provider by
178c2ecf20Sopenharmony_ci	  node. Newer Device Trees and newer SoCs use the drivers
188c2ecf20Sopenharmony_ci	  controlled by CONFIG_SUNXI_CCU.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN6I
218c2ecf20Sopenharmony_ci	bool "Legacy A31 PRCM driver"
228c2ecf20Sopenharmony_ci	select MFD_SUN6I_PRCM
238c2ecf20Sopenharmony_ci	default y
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Legacy clock driver for the A31 PRCM clocks. Those are
268c2ecf20Sopenharmony_ci	  usually needed for the PMIC communication, mostly.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN8I
298c2ecf20Sopenharmony_ci	bool "Legacy sun8i PRCM driver"
308c2ecf20Sopenharmony_ci	select MFD_SUN6I_PRCM
318c2ecf20Sopenharmony_ci	default y
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  Legacy clock driver for the sun8i family PRCM clocks.
348c2ecf20Sopenharmony_ci	  Those are usually needed for the PMIC communication,
358c2ecf20Sopenharmony_ci	  mostly.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig CLK_SUNXI_PRCM_SUN9I
388c2ecf20Sopenharmony_ci	bool "Legacy A80 PRCM driver"
398c2ecf20Sopenharmony_ci	default y
408c2ecf20Sopenharmony_ci	help
418c2ecf20Sopenharmony_ci	  Legacy clock driver for the A80 PRCM clocks. Those are
428c2ecf20Sopenharmony_ci	  usually needed for the PMIC communication, mostly.
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ciendif
45