blob: e18c80fbe804e1742b576b61a80ce2d1ce1e3963 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Chunyan Zhangd41f59f2017-12-07 20:57:05 +08002config SPRD_COMMON_CLK
3 tristate "Clock support for Spreadtrum SoCs"
4 depends on ARCH_SPRD || COMPILE_TEST
5 default ARCH_SPRD
Chunyan Zhangc9a67cb2019-07-18 13:36:16 +08006 select REGMAP_MMIO
Chunyan Zhanga6ae1a22017-12-07 20:57:13 +08007
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
Chunyan Zhang0e4b8a22020-03-04 15:27:30 +080016
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.
Chunyan Zhanga6ae1a22017-12-07 20:57:13 +080024endif