xref: /linux/drivers/clk/sprd/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2d41f59fdSChunyan Zhangconfig SPRD_COMMON_CLK
3d41f59fdSChunyan Zhang	tristate "Clock support for Spreadtrum SoCs"
4d41f59fdSChunyan Zhang	depends on ARCH_SPRD || COMPILE_TEST
5d41f59fdSChunyan Zhang	default ARCH_SPRD
6c9a67cbbSChunyan Zhang	select REGMAP_MMIO
7a6ae1a29SChunyan Zhang
8a6ae1a29SChunyan Zhangif SPRD_COMMON_CLK
9a6ae1a29SChunyan Zhang
10a6ae1a29SChunyan Zhang# SoC Drivers
11a6ae1a29SChunyan Zhang
12a6ae1a29SChunyan Zhangconfig SPRD_SC9860_CLK
13a6ae1a29SChunyan Zhang	tristate "Support for the Spreadtrum SC9860 clocks"
14a6ae1a29SChunyan Zhang	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
15a6ae1a29SChunyan Zhang	default ARM64 && ARCH_SPRD
160e4b8a23SChunyan Zhang
170e4b8a23SChunyan Zhangconfig SPRD_SC9863A_CLK
180e4b8a23SChunyan Zhang	tristate "Support for the Spreadtrum SC9863A clocks"
190e4b8a23SChunyan Zhang	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
200e4b8a23SChunyan Zhang	default ARM64 && ARCH_SPRD
210e4b8a23SChunyan Zhang	help
220e4b8a23SChunyan Zhang	  Support for the global clock controller on sc9863a devices.
230e4b8a23SChunyan Zhang	  Say Y if you want to use peripheral devices on sc9863a SoC.
24af3bd365SCixi Geng
25af3bd365SCixi Gengconfig SPRD_UMS512_CLK
26af3bd365SCixi Geng	tristate "Support for the Spreadtrum UMS512 clocks"
27*998ab667SCixi Geng	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
28*998ab667SCixi Geng	default ARM64 && ARCH_SPRD
29af3bd365SCixi Geng	help
30af3bd365SCixi Geng	  Support for the global clock controller on ums512 devices.
31af3bd365SCixi Geng	  Say Y if you want to use peripheral devices on ums512 SoC.
32a6ae1a29SChunyan Zhangendif
33