[PATCH v7 6/6] riscv: defconfig: spacemit: enable clock controller driver for SpacemiT K1
Alex Elder
elder at riscstar.com
Mon Apr 14 11:12:32 PDT 2025
On 4/12/25 2:44 AM, Haylen Chu wrote:
> Clock controller unit, or CCU, generates various clocks frequency for
> peripherals integrated in SpacemiT K1 SoC and is essential for normal
> operation. Let's enable it as built-in driver in defconfig.
>
> Signed-off-by: Haylen Chu <heylenay at 4d2.org>
I know Inochi wanted this to be "m", but you can see that
SOPHGO sets it to "y". Meanwhile SIFIVE uses a default
value for its CLK_SIFIVE and CLK_SIFIVE_PRCI config options.
I'm not going to solve this, so I'll just say this looks good.
Reviewed-by: Alex Elder <elder at riscstar.com>
> ---
> arch/riscv/configs/defconfig | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/riscv/configs/defconfig b/arch/riscv/configs/defconfig
> index 3c8e16d71e17..4888529df1d8 100644
> --- a/arch/riscv/configs/defconfig
> +++ b/arch/riscv/configs/defconfig
> @@ -250,6 +250,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_SUN8I_DE2_CCU=m
> CONFIG_SUN50I_IOMMU=y
> CONFIG_RPMSG_CHAR=y
More information about the linux-riscv
mailing list