forked from luck/tmp_suning_uos_patched
clk: sprd: add clocks support for SC9863A
Add the list of clocks for the Unisoc SC9863A, along with clock initialization. Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Link: https://lkml.kernel.org/r/20200304072730.9193-8-zhang.lyra@gmail.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
f95e8c7923
commit
0e4b8a2349
|
@ -13,4 +13,12 @@ config SPRD_SC9860_CLK
|
|||
tristate "Support for the Spreadtrum SC9860 clocks"
|
||||
depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
|
||||
default ARM64 && ARCH_SPRD
|
||||
|
||||
config SPRD_SC9863A_CLK
|
||||
tristate "Support for the Spreadtrum SC9863A clocks"
|
||||
depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
|
||||
default ARM64 && ARCH_SPRD
|
||||
help
|
||||
Support for the global clock controller on sc9863a devices.
|
||||
Say Y if you want to use peripheral devices on sc9863a SoC.
|
||||
endif
|
||||
|
|
|
@ -10,3 +10,4 @@ clk-sprd-y += pll.o
|
|||
|
||||
## SoC support
|
||||
obj-$(CONFIG_SPRD_SC9860_CLK) += sc9860-clk.o
|
||||
obj-$(CONFIG_SPRD_SC9863A_CLK) += sc9863a-clk.o
|
||||
|
|
1772
drivers/clk/sprd/sc9863a-clk.c
Normal file
1772
drivers/clk/sprd/sc9863a-clk.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user