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>
This commit is contained in:
parent
bf4439452b
commit
a6ae1a2948
|
@ -2,3 +2,13 @@ config SPRD_COMMON_CLK
|
||||||
tristate "Clock support for Spreadtrum SoCs"
|
tristate "Clock support for Spreadtrum SoCs"
|
||||||
depends on ARCH_SPRD || COMPILE_TEST
|
depends on ARCH_SPRD || COMPILE_TEST
|
||||||
default ARCH_SPRD
|
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
|
||||||
|
|
|
@ -6,3 +6,6 @@ clk-sprd-y += mux.o
|
||||||
clk-sprd-y += div.o
|
clk-sprd-y += div.o
|
||||||
clk-sprd-y += composite.o
|
clk-sprd-y += composite.o
|
||||||
clk-sprd-y += pll.o
|
clk-sprd-y += pll.o
|
||||||
|
|
||||||
|
## SoC support
|
||||||
|
obj-$(CONFIG_SPRD_SC9860_CLK) += sc9860-clk.o
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue