Skip to content

Commit e371a77

Browse files
committed
clk: spacemit: k3: add the clock tree
Add clock support to SpacemiT K3 SoC, the clock tree consist of several blocks which are APBC, APBS, APMU, DCIU, MPUM. Link: https://lore.kernel.org/r/20260108-k3-clk-v5-5-42a11b74ad58@gentoo.org Signed-off-by: Yixun Lan <dlan@gentoo.org>
1 parent ffadd62 commit e371a77

3 files changed

Lines changed: 1496 additions & 0 deletions

File tree

drivers/clk/spacemit/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,10 @@ config SPACEMIT_K1_CCU
1414
help
1515
Support for clock controller unit in SpacemiT K1 SoC.
1616

17+
config SPACEMIT_K3_CCU
18+
tristate "Support for SpacemiT K3 SoC"
19+
select SPACEMIT_CCU
20+
help
21+
Support for clock controller unit in SpacemiT K3 SoC.
22+
1723
endmenu

drivers/clk/spacemit/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ spacemit-ccu-y += ccu_ddn.o
88

99
obj-$(CONFIG_SPACEMIT_K1_CCU) += spacemit-ccu-k1.o
1010
spacemit-ccu-k1-y += ccu-k1.o
11+
12+
obj-$(CONFIG_SPACEMIT_K3_CCU) += spacemit-ccu-k3.o
13+
spacemit-ccu-k3-y += ccu-k3.o

0 commit comments

Comments
 (0)