Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6ae1a29 authored by Chunyan Zhang's avatar Chunyan Zhang Committed by Stephen Boyd
Browse files

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: default avatarChunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent bf443945
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,3 +2,13 @@ config SPRD_COMMON_CLK
	tristate "Clock support for Spreadtrum SoCs"
	depends on ARCH_SPRD || COMPILE_TEST
	default ARCH_SPRD

if SPRD_COMMON_CLK

# SoC Drivers

config SPRD_SC9860_CLK
	tristate "Support for the Spreadtrum SC9860 clocks"
	depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
	default ARM64 && ARCH_SPRD
endif
+3 −0
Original line number Diff line number Diff line
@@ -6,3 +6,6 @@ clk-sprd-y += mux.o
clk-sprd-y	+= div.o
clk-sprd-y	+= composite.o
clk-sprd-y	+= pll.o

## SoC support
obj-$(CONFIG_SPRD_SC9860_CLK)	+= sc9860-clk.o
+1974 −0

File added.

Preview size limit exceeded, changes collapsed.