GNU Linux-libre 6.8.9-gnu
[releases.git] / drivers / clk / sprd / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 config 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
8 if SPRD_COMMON_CLK
9
10 # SoC Drivers
11
12 config 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
17 config 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
25 config SPRD_UMS512_CLK
26         tristate "Support for the Spreadtrum UMS512 clocks"
27         depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
28         default ARM64 && ARCH_SPRD
29         help
30           Support for the global clock controller on ums512 devices.
31           Say Y if you want to use peripheral devices on ums512 SoC.
32 endif