Skip to content

Commit

Permalink
clk: sprd: add clocks support for SC9863A
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chunyan Zhang authored and Stephen Boyd committed Mar 25, 2020
1 parent f95e8c7 commit 0e4b8a2
Show file tree
Hide file tree
Showing 3 changed files with 1,781 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/clk/sprd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions drivers/clk/sprd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading

0 comments on commit 0e4b8a2

Please sign in to comment.