mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
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
3 changed files with 1987 additions and 0 deletions
|
@ -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
|
||||||
|
|
1974
drivers/clk/sprd/sc9860-clk.c
Normal file
1974
drivers/clk/sprd/sc9860-clk.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue