devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support
@ 2023-09-15  7:10 Wang Chen
  2023-09-15  7:20 ` Krzysztof Kozlowski
  2023-09-15  7:21 ` Conor Dooley
  0 siblings, 2 replies; 3+ messages in thread
From: Wang Chen @ 2023-09-15  7:10 UTC (permalink / raw)
  To: linux-riscv, conor, aou, krzysztof.kozlowski+dt, palmer,
	paul.walmsley, robh+dt
  Cc: devicetree, linux-kernel, jszhang, guoren, chao.wei,
	xiaoguang.xing, Wang Chen

From: "xiaoguang.xing" <xiaoguang.xing@sophgo.com>

The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V
cores.

Signed-off-by: xiaoguang.xing <xiaoguang.xing@sophgo.com>
Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
---
 arch/riscv/Kconfig.socs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 6833d01e2e70..fc7b5e6c7def 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -110,4 +110,14 @@ config SOC_CANAAN_K210_DTB_SOURCE
 
 endif # ARCH_CANAAN
 
+config ARCH_SOPHGO
+	bool "Sophgo SoCs"
+	select SIFIVE_PLIC
+	help
+	  This enables support for Sophgo SoC platform hardware.
+	  SOPHGO is committed to become a provider of universal
+	  computing power, focusing on the development and
+	  promotion of computing power products such as AI and
+	  RISC-V CPU.
+
 endmenu # "SoC selection"
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support
  2023-09-15  7:10 [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support Wang Chen
@ 2023-09-15  7:20 ` Krzysztof Kozlowski
  2023-09-15  7:21 ` Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-09-15  7:20 UTC (permalink / raw)
  To: Wang Chen, linux-riscv, conor, aou, krzysztof.kozlowski+dt,
	palmer, paul.walmsley, robh+dt
  Cc: devicetree, linux-kernel, jszhang, guoren, chao.wei,
	xiaoguang.xing, Wang Chen

On 15/09/2023 09:10, Wang Chen wrote:
> From: "xiaoguang.xing" <xiaoguang.xing@sophgo.com>
> 
> The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V
> cores.
> 
> Signed-off-by: xiaoguang.xing <xiaoguang.xing@sophgo.com>
> Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>

Your patch threading is completely broken/missing, so this makes review
unnecessary difficult. Fix your process (e.g. use b4).

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support
  2023-09-15  7:10 [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support Wang Chen
  2023-09-15  7:20 ` Krzysztof Kozlowski
@ 2023-09-15  7:21 ` Conor Dooley
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2023-09-15  7:21 UTC (permalink / raw)
  To: Wang Chen
  Cc: linux-riscv, conor, aou, krzysztof.kozlowski+dt, palmer,
	paul.walmsley, robh+dt, devicetree, linux-kernel, jszhang, guoren,
	chao.wei, xiaoguang.xing, Wang Chen

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

Yo,

On Fri, Sep 15, 2023 at 03:10:05PM +0800, Wang Chen wrote:
> From: "xiaoguang.xing" <xiaoguang.xing@sophgo.com>

This needs to be a name, not the contents of their email address.
Probably just needs the . swapped for a space?

> The first SoC in the SOPHGO series is SG2042, which contains 64 RISC-V
> cores.
> 
> Signed-off-by: xiaoguang.xing <xiaoguang.xing@sophgo.com>
> Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
> ---
>  arch/riscv/Kconfig.socs | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 6833d01e2e70..fc7b5e6c7def 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -110,4 +110,14 @@ config SOC_CANAAN_K210_DTB_SOURCE
>  
>  endif # ARCH_CANAAN
>  
> +config ARCH_SOPHGO
> +	bool "Sophgo SoCs"
> +	select SIFIVE_PLIC

This should not be needed, this should be selected at the arch level.

> +	help
> +	  This enables support for Sophgo SoC platform hardware.
> +	  SOPHGO is committed to become a provider of universal
> +	  computing power, focusing on the development and
> +	  promotion of computing power products such as AI and
> +	  RISC-V CPU.

This is not a place for marketing blurbs, please take a look at the
other entries.
Also, this should not be placed at the end of the list, it should be
before ARCH_SUNXI.

Thanks,
Conor.

> +
>  endmenu # "SoC selection"
> -- 
> 2.25.1
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-15  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15  7:10 [PATCH 01/12] riscv: Add SOPHGO SOC family Kconfig support Wang Chen
2023-09-15  7:20 ` Krzysztof Kozlowski
2023-09-15  7:21 ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).