xref: /linux/drivers/clk/sprd/Kconfig (revision 06ed6aa56ffac9241e03a24649e8d048f8f1b10c)
1# SPDX-License-Identifier: GPL-2.0-only
2config SPRD_COMMON_CLK
3	tristate "Clock support for Spreadtrum SoCs"
4	depends on ARCH_SPRD || COMPILE_TEST
5	default ARCH_SPRD
6	select REGMAP_MMIO
7
8if SPRD_COMMON_CLK
9
10# SoC Drivers
11
12config SPRD_SC9860_CLK
13	tristate "Support for the Spreadtrum SC9860 clocks"
14	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
15	default ARM64 && ARCH_SPRD
16
17config SPRD_SC9863A_CLK
18	tristate "Support for the Spreadtrum SC9863A clocks"
19	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
20	default ARM64 && ARCH_SPRD
21	help
22	  Support for the global clock controller on sc9863a devices.
23	  Say Y if you want to use peripheral devices on sc9863a SoC.
24endif
25