* [PATCH] riscv: add Siflower RISC-V SoC family Kconfig support
@ 2025-01-20 2:15 Chuanhong Guo
2025-01-20 2:20 ` Chuanhong Guo
0 siblings, 1 reply; 2+ messages in thread
From: Chuanhong Guo @ 2025-01-20 2:15 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou
Cc: Chuanhong Guo, linux-riscv, linux-kernel
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@gmail.com>
---
arch/riscv/Kconfig.socs | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 1916cf7ba450..2a700c51594d 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -19,6 +19,15 @@ config ARCH_SIFIVE
help
This enables support for SiFive SoC platform hardware.
+config ARCH_SIFLOWER
+ def_bool SOC_SIFLOWER
+
+config SOC_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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] riscv: add Siflower RISC-V SoC family Kconfig support
2025-01-20 2:15 [PATCH] riscv: add Siflower RISC-V SoC family Kconfig support Chuanhong Guo
@ 2025-01-20 2:20 ` Chuanhong Guo
0 siblings, 0 replies; 2+ messages in thread
From: Chuanhong Guo @ 2025-01-20 2:20 UTC (permalink / raw)
To: Paul Walmsley, Palmer Dabbelt, Albert Ou; +Cc: linux-riscv, linux-kernel
On Mon, Jan 20, 2025 at 10:15 AM Chuanhong Guo <gch981213@gmail.com> 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@gmail.com>
> ---
> arch/riscv/Kconfig.socs | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 1916cf7ba450..2a700c51594d 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -19,6 +19,15 @@ config ARCH_SIFIVE
> help
> This enables support for SiFive SoC platform hardware.
>
> +config ARCH_SIFLOWER
> + def_bool SOC_SIFLOWER
> +
> +config SOC_SIFLOWER
Ooooops. I removed SOC_SIFLOWER but forgot to commit it.
I'll send a v2. Sorry for the noise.
> + 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
>
--
Regards,
Chuanhong Guo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-20 2:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-20 2:15 [PATCH] riscv: add Siflower RISC-V SoC family Kconfig support Chuanhong Guo
2025-01-20 2:20 ` Chuanhong Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®