Skip to content

Commit a6ae1a2

Browse files
Lyra-Zhangbebarino
authored andcommitted
clk: sprd: add clocks support for SC9860
This patch added the list of clocks for Spreadtrum's SC9860 SoC, together with clock initialization code. Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
1 parent bf44394 commit a6ae1a2

3 files changed

Lines changed: 1987 additions & 0 deletions

File tree

‎drivers/clk/sprd/Kconfig‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,13 @@ config SPRD_COMMON_CLK
22
tristate "Clock support for Spreadtrum SoCs"
33
depends on ARCH_SPRD || COMPILE_TEST
44
default ARCH_SPRD
5+
6+
if SPRD_COMMON_CLK
7+
8+
# SoC Drivers
9+
10+
config SPRD_SC9860_CLK
11+
tristate "Support for the Spreadtrum SC9860 clocks"
12+
depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
13+
default ARM64 && ARCH_SPRD
14+
endif

‎drivers/clk/sprd/Makefile‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ clk-sprd-y += mux.o
66
clk-sprd-y += div.o
77
clk-sprd-y += composite.o
88
clk-sprd-y += pll.o
9+
10+
## SoC support
11+
obj-$(CONFIG_SPRD_SC9860_CLK) += sc9860-clk.o

0 commit comments

Comments
 (0)