xref: /OK3568_Linux_fs/kernel/drivers/clk/sunxi/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyunmenuconfig CLK_SUNXI
3*4882a593Smuzhiyun	bool "Legacy clock support for Allwinner SoCs"
4*4882a593Smuzhiyun	depends on ARCH_SUNXI || COMPILE_TEST
5*4882a593Smuzhiyun	default y
6*4882a593Smuzhiyun
7*4882a593Smuzhiyunif CLK_SUNXI
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunconfig CLK_SUNXI_CLOCKS
10*4882a593Smuzhiyun	bool "Legacy clock drivers"
11*4882a593Smuzhiyun	default y
12*4882a593Smuzhiyun	help
13*4882a593Smuzhiyun	  Legacy clock drivers being used on older (A10, A13, A20,
14*4882a593Smuzhiyun	  A23, A31, A80) SoCs. These drivers are kept around for
15*4882a593Smuzhiyun	  Device Tree backward compatibility issues, in case one would
16*4882a593Smuzhiyun	  still use a Device Tree with one clock provider by
17*4882a593Smuzhiyun	  node. Newer Device Trees and newer SoCs use the drivers
18*4882a593Smuzhiyun	  controlled by CONFIG_SUNXI_CCU.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig CLK_SUNXI_PRCM_SUN6I
21*4882a593Smuzhiyun	bool "Legacy A31 PRCM driver"
22*4882a593Smuzhiyun	select MFD_SUN6I_PRCM
23*4882a593Smuzhiyun	default y
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Legacy clock driver for the A31 PRCM clocks. Those are
26*4882a593Smuzhiyun	  usually needed for the PMIC communication, mostly.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunconfig CLK_SUNXI_PRCM_SUN8I
29*4882a593Smuzhiyun	bool "Legacy sun8i PRCM driver"
30*4882a593Smuzhiyun	select MFD_SUN6I_PRCM
31*4882a593Smuzhiyun	default y
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  Legacy clock driver for the sun8i family PRCM clocks.
34*4882a593Smuzhiyun	  Those are usually needed for the PMIC communication,
35*4882a593Smuzhiyun	  mostly.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunconfig CLK_SUNXI_PRCM_SUN9I
38*4882a593Smuzhiyun	bool "Legacy A80 PRCM driver"
39*4882a593Smuzhiyun	default y
40*4882a593Smuzhiyun	help
41*4882a593Smuzhiyun	  Legacy clock driver for the A80 PRCM clocks. Those are
42*4882a593Smuzhiyun	  usually needed for the PMIC communication, mostly.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunendif
45