[PATCH] riscv: defconfig: spacemit: k3: enable clock support

Yixun Lan dlan at kernel.org
Wed Jan 14 18:48:55 PST 2026


Enable the clock driver support for SpacemiT K3 SoC, configure it as
built-in by default. Users should be able to change to build as kernel
module if needed.

Signed-off-by: Yixun Lan <dlan at kernel.org>
---
This patch depend on clock PR[1], it can be merged once the PR is accepted.

Link: https://lore.kernel.org/spacemit/20260114092742-GYC7933267@gentoo.org/ 
---
 arch/riscv/configs/defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
index cd736a1d657e..6ce600081a6b 100644
--- a/arch/riscv/configs/defconfig
+++ b/arch/riscv/configs/defconfig
@@ -255,8 +255,8 @@ CONFIG_CLK_SOPHGO_CV1800=y
 CONFIG_CLK_SOPHGO_SG2042_PLL=y
 CONFIG_CLK_SOPHGO_SG2042_CLKGEN=y
 CONFIG_CLK_SOPHGO_SG2042_RPGATE=y
-CONFIG_SPACEMIT_CCU=y
 CONFIG_SPACEMIT_K1_CCU=y
+CONFIG_SPACEMIT_K3_CCU=y
 CONFIG_SUN8I_DE2_CCU=m
 CONFIG_SUN50I_IOMMU=y
 CONFIG_RPMSG_CHAR=y

---
base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8
change-id: 20260115-06-k3-clk-defconfig-e4b3e4344d07

Best regards,
-- 
Yixun Lan <dlan at kernel.org>




More information about the linux-riscv mailing list