xref: /openbmc/linux/drivers/clk/sprd/Kconfig (revision e118df49)
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.
24
25config SPRD_UMS512_CLK
26	tristate "Support for the Spreadtrum UMS512 clocks"
27	help
28	  Support for the global clock controller on ums512 devices.
29	  Say Y if you want to use peripheral devices on ums512 SoC.
30endif
31