GNU Linux-libre 5.10.215-gnu1
[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 endif