Skip to content

Commit 0e4b8a2

Browse files
Chunyan Zhangbebarino
authored andcommitted
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 <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent f95e8c7 commit 0e4b8a2

File tree

3 files changed

+1781
-0
lines changed

3 files changed

+1781
-0
lines changed

drivers/clk/sprd/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,12 @@ config SPRD_SC9860_CLK
1313
tristate "Support for the Spreadtrum SC9860 clocks"
1414
depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
1515
default ARM64 && ARCH_SPRD
16+
17+
config SPRD_SC9863A_CLK
18+
tristate "Support for the Spreadtrum SC9863A clocks"
19+
depends on (ARM64 && ARCH_SPRD) || COMPILE_TEST
20+
default ARM64 && ARCH_SPRD
21+
help
22+
Support for the global clock controller on sc9863a devices.
23+
Say Y if you want to use peripheral devices on sc9863a SoC.
1624
endif

drivers/clk/sprd/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ clk-sprd-y += pll.o
1010

1111
## SoC support
1212
obj-$(CONFIG_SPRD_SC9860_CLK) += sc9860-clk.o
13+
obj-$(CONFIG_SPRD_SC9863A_CLK) += sc9863a-clk.o

0 commit comments

Comments
 (0)