[PATCH v2] riscv: add Siflower RISC-V SoC family Kconfig support

Conor Dooley conor at kernel.org
Mon Jan 20 10:48:49 PST 2025


On Mon, Jan 20, 2025 at 10:23:58AM +0800, Chuanhong Guo wrote:
> Siflower RISC-V SoCs, including SF21A6826, SF21H8898 and some other
> upcomping chips, are RISC-V chips with T-Head C908 cores for home
> routers and gateways. Add a Kconfig entry named ARCH_SIFLOWER for
> them.
> Notably these chips uses ARM PL011 for UART. ARM_AMBA is selected
> for its driver.
> 
> Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>

This needs to be in a series with the user (your dts)

> ---
> 
> Changes since v1:
>  * removed deprecated SOC_ symbol
> 
>  arch/riscv/Kconfig.socs | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 1916cf7ba450..64a49e7ea03e 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -19,6 +19,12 @@ config ARCH_SIFIVE
>  	help
>  	  This enables support for SiFive SoC platform hardware.
>  
> +config ARCH_SIFLOWER
> +	bool "Siflower RISC-V SoCs"
> +	select ARM_AMBA if TTY
> +	help
> +	  This enables support for Siflower RISC-V SoC platform hardware.
> +
>  config ARCH_SOPHGO
>  	bool "Sophgo SoCs"
>  	help
> -- 
> 2.48.1
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20250120/b279a45b/attachment.sig>


More information about the linux-riscv mailing list