xref: /linux/drivers/clk/sunxi/Kconfig (revision 2b4c206963a6a83ce39e321344da10009e44d99b)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
249c726d5SMaxime Ripardmenuconfig CLK_SUNXI
349c726d5SMaxime Ripard	bool "Legacy clock support for Allwinner SoCs"
4*2b4c2069SSamuel Holland	depends on (ARM && ARCH_SUNXI) || COMPILE_TEST
549c726d5SMaxime Ripard	default y
649c726d5SMaxime Ripard
749c726d5SMaxime Ripardif CLK_SUNXI
849c726d5SMaxime Ripard
949c726d5SMaxime Ripardconfig CLK_SUNXI_CLOCKS
1049c726d5SMaxime Ripard	bool "Legacy clock drivers"
1149c726d5SMaxime Ripard	default y
1249c726d5SMaxime Ripard	help
1349c726d5SMaxime Ripard	  Legacy clock drivers being used on older (A10, A13, A20,
1449c726d5SMaxime Ripard	  A23, A31, A80) SoCs. These drivers are kept around for
1549c726d5SMaxime Ripard	  Device Tree backward compatibility issues, in case one would
1649c726d5SMaxime Ripard	  still use a Device Tree with one clock provider by
1749c726d5SMaxime Ripard	  node. Newer Device Trees and newer SoCs use the drivers
1849c726d5SMaxime Ripard	  controlled by CONFIG_SUNXI_CCU.
1949c726d5SMaxime Ripard
2049c726d5SMaxime Ripardconfig CLK_SUNXI_PRCM_SUN6I
2149c726d5SMaxime Ripard	bool "Legacy A31 PRCM driver"
2249c726d5SMaxime Ripard	select MFD_SUN6I_PRCM
2349c726d5SMaxime Ripard	default y
2449c726d5SMaxime Ripard	help
2549c726d5SMaxime Ripard	  Legacy clock driver for the A31 PRCM clocks. Those are
2649c726d5SMaxime Ripard	  usually needed for the PMIC communication, mostly.
2749c726d5SMaxime Ripard
2849c726d5SMaxime Ripardconfig CLK_SUNXI_PRCM_SUN8I
2949c726d5SMaxime Ripard	bool "Legacy sun8i PRCM driver"
3049c726d5SMaxime Ripard	select MFD_SUN6I_PRCM
3149c726d5SMaxime Ripard	default y
3249c726d5SMaxime Ripard	help
3349c726d5SMaxime Ripard	  Legacy clock driver for the sun8i family PRCM clocks.
3449c726d5SMaxime Ripard	  Those are usually needed for the PMIC communication,
3549c726d5SMaxime Ripard	  mostly.
3649c726d5SMaxime Ripard
3749c726d5SMaxime Ripardconfig CLK_SUNXI_PRCM_SUN9I
3849c726d5SMaxime Ripard	bool "Legacy A80 PRCM driver"
3949c726d5SMaxime Ripard	default y
4049c726d5SMaxime Ripard	help
4149c726d5SMaxime Ripard	  Legacy clock driver for the A80 PRCM clocks. Those are
4249c726d5SMaxime Ripard	  usually needed for the PMIC communication, mostly.
4349c726d5SMaxime Ripard
4449c726d5SMaxime Ripardendif
45