xref: /linux/drivers/clk/sunxi/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
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	default y
2349c726d5SMaxime Ripard	help
2449c726d5SMaxime Ripard	  Legacy clock driver for the A31 PRCM clocks. Those are
2549c726d5SMaxime Ripard	  usually needed for the PMIC communication, mostly.
2649c726d5SMaxime Ripard
2749c726d5SMaxime Ripardconfig CLK_SUNXI_PRCM_SUN8I
2849c726d5SMaxime Ripard	bool "Legacy sun8i PRCM driver"
2949c726d5SMaxime Ripard	default y
3049c726d5SMaxime Ripard	help
3149c726d5SMaxime Ripard	  Legacy clock driver for the sun8i family PRCM clocks.
3249c726d5SMaxime Ripard	  Those are usually needed for the PMIC communication,
3349c726d5SMaxime Ripard	  mostly.
3449c726d5SMaxime Ripard
3549c726d5SMaxime Ripardconfig CLK_SUNXI_PRCM_SUN9I
3649c726d5SMaxime Ripard	bool "Legacy A80 PRCM driver"
3749c726d5SMaxime Ripard	default y
3849c726d5SMaxime Ripard	help
3949c726d5SMaxime Ripard	  Legacy clock driver for the A80 PRCM clocks. Those are
4049c726d5SMaxime Ripard	  usually needed for the PMIC communication, mostly.
4149c726d5SMaxime Ripard
4249c726d5SMaxime Ripardendif
43