* [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
@ 2025-03-11 7:34 Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
` (10 more replies)
0 siblings, 11 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
P550 CPU cluster and the first development board that uses it, the
SiFive HiFive Premier P550.
This patch series adds initial device tree and also adds ESWIN
architecture support.
Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
P550 board using U-Boot 2024.01 and OpenSBI 1.4.
Darshan Prajapati (3):
dt-bindings: riscv: Add SiFive P550 CPU compatible
dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC
dt-bindings: timer: Add ESWIN EIC7700 CLINT
Min Lin (2):
riscv: dts: add initial support for EIC7700 SoC
riscv: dts: eswin: add HiFive Premier P550 board device tree
Pinkesh Vaghela (2):
riscv: Add Kconfig option for ESWIN platforms
cache: sifive_ccache: Add ESWIN EIC7700 support
Pritesh Patel (3):
dt-bindings: vendor-prefixes: add eswin
dt-bindings: riscv: Add SiFive HiFive Premier P550 board
dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC
compatibility
.../bindings/cache/sifive,ccache0.yaml | 28 +-
.../sifive,plic-1.0.0.yaml | 1 +
.../devicetree/bindings/riscv/cpus.yaml | 1 +
.../devicetree/bindings/riscv/eswin.yaml | 29 ++
.../bindings/timer/sifive,clint.yaml | 1 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 7 +
arch/riscv/Kconfig.socs | 6 +
arch/riscv/boot/dts/Makefile | 1 +
arch/riscv/boot/dts/eswin/Makefile | 2 +
.../dts/eswin/eic7700-hifive-premier-p550.dts | 29 ++
arch/riscv/boot/dts/eswin/eic7700.dtsi | 344 ++++++++++++++++++
drivers/cache/sifive_ccache.c | 2 +
13 files changed, 450 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
create mode 100644 arch/riscv/boot/dts/eswin/Makefile
create mode 100644 arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
create mode 100644 arch/riscv/boot/dts/eswin/eic7700.dtsi
--
2.25.1
^ permalink raw reply [flat|nested] 32+ messages in thread
* [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:14 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms Pinkesh Vaghela
` (9 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Darshan Prajapati <darshan.prajapati@einfochips.com>
Update Documentation for supporting SiFive P550 based CPU
Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
index 2c72f148a74b..3ee7468001f6 100644
--- a/Documentation/devicetree/bindings/riscv/cpus.yaml
+++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
@@ -51,6 +51,7 @@ properties:
- sifive,e5
- sifive,e7
- sifive,e71
+ - sifive,p550
- sifive,rocket0
- sifive,s7
- sifive,u5
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:14 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin Pinkesh Vaghela
` (8 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
Create a config option to build ESWIN SoC specific resources
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
---
arch/riscv/Kconfig.socs | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 1916cf7ba450..35594e365ca6 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -1,5 +1,11 @@
menu "SoC selection"
+config ARCH_ESWIN
+ bool "ESWIN SoCs"
+ help
+ This enables support for ESWIN SoC platform hardware,
+ including the ESWIN EIC7700 SoC.
+
config ARCH_MICROCHIP_POLARFIRE
def_bool ARCH_MICROCHIP
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:15 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
` (7 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Pritesh Patel <pritesh.patel@einfochips.com>
Add new vendor string to dt bindings.
This new vendor string is used by
- ESWIN EIC770X SoC
- HiFive Premier P550 board which uses EIC7700 SoC.
Link: https://www.eswin.com/en/
Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 5079ca6ce1d1..07ff140e67dc 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -490,6 +490,8 @@ patternProperties:
description: Espressif Systems Co. Ltd.
"^est,.*":
description: ESTeem Wireless Modems
+ "^eswin,.*":
+ description: Beijing ESWIN Technology Group Co. Ltd.
"^ettus,.*":
description: NI Ettus Research
"^eukrea,.*":
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (2 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-12 12:03 ` Matthias Brugger
2025-03-12 12:55 ` Krzysztof Kozlowski
2025-03-11 7:34 ` [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility Pinkesh Vaghela
` (6 subsequent siblings)
10 siblings, 2 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Pritesh Patel <pritesh.patel@einfochips.com>
Add DT binding documentation for the ESWIN EIC7700 SoC and
HiFive Premier P550 Board
Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
.../devicetree/bindings/riscv/eswin.yaml | 29 +++++++++++++++++++
MAINTAINERS | 6 ++++
2 files changed, 35 insertions(+)
create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
diff --git a/Documentation/devicetree/bindings/riscv/eswin.yaml b/Documentation/devicetree/bindings/riscv/eswin.yaml
new file mode 100644
index 000000000000..c603c45eef22
--- /dev/null
+++ b/Documentation/devicetree/bindings/riscv/eswin.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/riscv/eswin.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: ESWIN SoC-based boards
+
+maintainers:
+ - Min Lin <linmin@eswincomputing.com>
+ - Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
+ - Pritesh Patel <pritesh.patel@einfochips.com>
+
+description:
+ ESWIN SoC-based boards
+
+properties:
+ $nodename:
+ const: '/'
+ compatible:
+ oneOf:
+ - items:
+ - enum:
+ - sifive,hifive-premier-p550
+ - const: eswin,eic7700
+
+additionalProperties: true
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 25c86f47353d..901d0e0adb25 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8572,6 +8572,12 @@ L: linux-can@vger.kernel.org
S: Maintained
F: drivers/net/can/usb/esd_usb.c
+ESWIN DEVICETREES
+M: Min Lin <linmin@eswincomputing.com>
+M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
+M: Pritesh Patel <pritesh.patel@einfochips.com>
+S: Maintained
+
ET131X NETWORK DRIVER
M: Mark Einon <mark.einon@gmail.com>
S: Odd Fixes
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (3 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:11 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 06/10] cache: sifive_ccache: Add ESWIN EIC7700 support Pinkesh Vaghela
` (5 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Pritesh Patel <pritesh.patel@einfochips.com>
This cache controller is also used on the ESWIN EIC7700 SoC.
However, it have 256KB private L2 Cache and shared L3 Cache of 4MB.
So add dedicated compatible string for it.
Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
.../bindings/cache/sifive,ccache0.yaml | 28 +++++++++++++++++--
1 file changed, 25 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
index 7e8cebe21584..11e9df2cd153 100644
--- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
+++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
@@ -39,6 +39,7 @@ properties:
- const: cache
- items:
- enum:
+ - eswin,eic7700-l3-cache
- starfive,jh7100-ccache
- starfive,jh7110-ccache
- const: sifive,ccache0
@@ -55,10 +56,10 @@ properties:
enum: [2, 3]
cache-sets:
- enum: [1024, 2048]
+ enum: [1024, 2048, 4096]
cache-size:
- const: 2097152
+ enum: [2097152, 4194304]
cache-unified: true
@@ -89,6 +90,7 @@ allOf:
compatible:
contains:
enum:
+ - eswin,eic7700-l3-cache
- sifive,fu740-c000-ccache
- starfive,jh7100-ccache
- starfive,jh7110-ccache
@@ -122,11 +124,31 @@ allOf:
cache-sets:
const: 2048
- else:
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - microchip,mpfs-ccache
+ - sifive,fu540-c000-ccache
+
+ then:
properties:
cache-sets:
const: 1024
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - eswin,eic7700-l3-cache
+
+ then:
+ properties:
+ cache-sets:
+ const: 4096
+
- if:
properties:
compatible:
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 06/10] cache: sifive_ccache: Add ESWIN EIC7700 support
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (4 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC Pinkesh Vaghela
` (4 subsequent siblings)
10 siblings, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
This adds support for the ESWIN EIC7700 SoC which also features this
SiFive composable cache controller.
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
---
drivers/cache/sifive_ccache.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/cache/sifive_ccache.c b/drivers/cache/sifive_ccache.c
index 6874b72ec59d..e1a283805ea7 100644
--- a/drivers/cache/sifive_ccache.c
+++ b/drivers/cache/sifive_ccache.c
@@ -118,6 +118,8 @@ static void ccache_config_read(void)
}
static const struct of_device_id sifive_ccache_ids[] = {
+ { .compatible = "eswin,eic7700-l3-cache",
+ .data = (void *)(QUIRK_NONSTANDARD_CACHE_OPS) },
{ .compatible = "sifive,fu540-c000-ccache" },
{ .compatible = "sifive,fu740-c000-ccache" },
{ .compatible = "starfive,jh7100-ccache",
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (5 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 06/10] cache: sifive_ccache: Add ESWIN EIC7700 support Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:12 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT Pinkesh Vaghela
` (3 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Darshan Prajapati <darshan.prajapati@einfochips.com>
Add compatible string for ESWIN EIC7700 PLIC.
Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
.../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
index 3dfe425909d1..ea7093fde060 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
@@ -58,6 +58,7 @@ properties:
- items:
- enum:
- canaan,k210-plic
+ - eswin,eic7700-plic
- sifive,fu540-c000-plic
- spacemit,k1-plic
- starfive,jh7100-plic
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (6 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:12 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 09/10] riscv: dts: add initial support for EIC7700 SoC Pinkesh Vaghela
` (2 subsequent siblings)
10 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Darshan Prajapati <darshan.prajapati@einfochips.com>
Add compatible string for ESWIN EIC7700 CLINT.
Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
Documentation/devicetree/bindings/timer/sifive,clint.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/timer/sifive,clint.yaml b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
index 76d83aea4e2b..eb03a0602315 100644
--- a/Documentation/devicetree/bindings/timer/sifive,clint.yaml
+++ b/Documentation/devicetree/bindings/timer/sifive,clint.yaml
@@ -30,6 +30,7 @@ properties:
- items:
- enum:
- canaan,k210-clint # Canaan Kendryte K210
+ - eswin,eic7700-clint # ESWIN EIC7700
- sifive,fu540-c000-clint # SiFive FU540
- spacemit,k1-clint # SpacemiT K1
- starfive,jh7100-clint # StarFive JH7100
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 09/10] riscv: dts: add initial support for EIC7700 SoC
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (7 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree Pinkesh Vaghela
2025-03-11 18:07 ` [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Conor Dooley
10 siblings, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Min Lin <linmin@eswincomputing.com>
Add initial support for EIC7700 SoC that uses a SiFive Quad-Core
P550 CPU cluster.
This file is expected to grow as more device drivers are added to the
kernel.
Signed-off-by: Min Lin <linmin@eswincomputing.com>
Co-developed-by: Pritesh Patel <pritesh.patel@einfochips.com>
Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
Co-developed-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
---
MAINTAINERS | 1 +
arch/riscv/boot/dts/eswin/eic7700.dtsi | 344 +++++++++++++++++++++++++
2 files changed, 345 insertions(+)
create mode 100644 arch/riscv/boot/dts/eswin/eic7700.dtsi
diff --git a/MAINTAINERS b/MAINTAINERS
index 901d0e0adb25..475122cf0ce3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -8577,6 +8577,7 @@ M: Min Lin <linmin@eswincomputing.com>
M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
M: Pritesh Patel <pritesh.patel@einfochips.com>
S: Maintained
+F: arch/riscv/boot/dts/eswin/
ET131X NETWORK DRIVER
M: Mark Einon <mark.einon@gmail.com>
diff --git a/arch/riscv/boot/dts/eswin/eic7700.dtsi b/arch/riscv/boot/dts/eswin/eic7700.dtsi
new file mode 100644
index 000000000000..9cef940f07e4
--- /dev/null
+++ b/arch/riscv/boot/dts/eswin/eic7700.dtsi
@@ -0,0 +1,344 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2024 Beijing ESWIN Computing Technology Co., Ltd.
+ */
+
+/dts-v1/;
+
+/ {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ timebase-frequency = <1000000>;
+
+ cpu0: cpu@0 {
+ compatible = "sifive,p550", "riscv";
+ device_type = "cpu";
+ d-cache-block-size = <64>;
+ d-cache-sets = <128>;
+ d-cache-size = <32768>;
+ d-tlb-sets = <1>;
+ d-tlb-size = <32>;
+ i-cache-block-size = <64>;
+ i-cache-sets = <128>;
+ i-cache-size = <32768>;
+ i-tlb-sets = <1>;
+ i-tlb-size = <32>;
+ mmu-type = "riscv,sv48";
+ next-level-cache = <&l2_cache_0>;
+ reg = <0x0>;
+ riscv,isa-base = "rv64i";
+ riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "sscofpmf",
+ "zba", "zbb", "zicsr", "zifencei";
+ tlb-split;
+
+ cpu0_intc: interrupt-controller {
+ compatible = "riscv,cpu-intc";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ };
+ };
+
+ cpu1: cpu@1 {
+ compatible = "sifive,p550", "riscv";
+ d-cache-block-size = <64>;
+ d-cache-sets = <128>;
+ d-cache-size = <32768>;
+ d-tlb-sets = <1>;
+ d-tlb-size = <32>;
+ device_type = "cpu";
+ i-cache-block-size = <64>;
+ i-cache-sets = <128>;
+ i-cache-size = <32768>;
+ i-tlb-sets = <1>;
+ i-tlb-size = <32>;
+ mmu-type = "riscv,sv48";
+ next-level-cache = <&l2_cache_1>;
+ reg = <0x1>;
+ riscv,isa-base = "rv64i";
+ riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "sscofpmf",
+ "zba", "zbb", "zicsr", "zifencei";
+ tlb-split;
+
+ cpu1_intc: interrupt-controller {
+ compatible = "riscv,cpu-intc";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ };
+ };
+
+ cpu2: cpu@2 {
+ compatible = "sifive,p550", "riscv";
+ d-cache-block-size = <64>;
+ d-cache-sets = <128>;
+ d-cache-size = <32768>;
+ d-tlb-sets = <1>;
+ d-tlb-size = <32>;
+ device_type = "cpu";
+ i-cache-block-size = <64>;
+ i-cache-sets = <128>;
+ i-cache-size = <32768>;
+ i-tlb-sets = <1>;
+ i-tlb-size = <32>;
+ mmu-type = "riscv,sv48";
+ next-level-cache = <&l2_cache_2>;
+ reg = <0x2>;
+ riscv,isa-base = "rv64i";
+ riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "sscofpmf",
+ "zba", "zbb", "zicsr", "zifencei";
+ tlb-split;
+
+ cpu2_intc: interrupt-controller {
+ compatible = "riscv,cpu-intc";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ };
+ };
+
+ cpu3: cpu@3 {
+ compatible = "sifive,p550", "riscv";
+ d-cache-block-size = <64>;
+ d-cache-sets = <128>;
+ d-cache-size = <32768>;
+ d-tlb-sets = <1>;
+ d-tlb-size = <32>;
+ device_type = "cpu";
+ i-cache-block-size = <64>;
+ i-cache-sets = <128>;
+ i-cache-size = <32768>;
+ i-tlb-sets = <1>;
+ i-tlb-size = <32>;
+ mmu-type = "riscv,sv48";
+ next-level-cache = <&l2_cache_3>;
+ reg = <0x3>;
+ riscv,isa-base = "rv64i";
+ riscv,isa-extensions = "i", "m", "a", "f", "d", "c", "h", "sscofpmf",
+ "zba", "zbb", "zicsr", "zifencei";
+ tlb-split;
+
+ cpu3_intc: interrupt-controller {
+ compatible = "riscv,cpu-intc";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ };
+ };
+
+ l2_cache_0: l2-cache0 {
+ compatible = "cache";
+ cache-block-size = <64>;
+ cache-level = <2>;
+ cache-sets = <512>;
+ cache-size = <262144>;
+ cache-unified;
+ next-level-cache = <&ccache>;
+ };
+
+ l2_cache_1: l2-cache1 {
+ compatible = "cache";
+ cache-block-size = <64>;
+ cache-level = <2>;
+ cache-sets = <512>;
+ cache-size = <262144>;
+ cache-unified;
+ next-level-cache = <&ccache>;
+ };
+
+ l2_cache_2: l2-cache2 {
+ compatible = "cache";
+ cache-block-size = <64>;
+ cache-level = <2>;
+ cache-sets = <512>;
+ cache-size = <262144>;
+ cache-unified;
+ next-level-cache = <&ccache>;
+ };
+
+ l2_cache_3: l2-cache3 {
+ compatible = "cache";
+ cache-block-size = <64>;
+ cache-level = <2>;
+ cache-sets = <512>;
+ cache-size = <262144>;
+ cache-unified;
+ next-level-cache = <&ccache>;
+ };
+ };
+
+ pmu {
+ compatible = "riscv,pmu";
+ riscv,event-to-mhpmcounters =
+ <0x00001 0x00001 0x00000001>,
+ <0x00002 0x00002 0x00000004>,
+ <0x00004 0x00006 0x00000078>,
+ <0x10009 0x10009 0x00000078>,
+ <0x10019 0x10019 0x00000078>,
+ <0x10021 0x10021 0x00000078>;
+ riscv,event-to-mhpmevent =
+ <0x00004 0x00000000 0x00000202>,
+ <0x00005 0x00000000 0x00004000>,
+ <0x00006 0x00000000 0x00002001>,
+ <0x10009 0x00000000 0x00000102>,
+ <0x10019 0x00000000 0x00001002>,
+ <0x10021 0x00000000 0x00000802>;
+ riscv,raw-event-to-mhpmcounters =
+ <0x00000000 0x00000000 0xffffffff 0xfc0000ff 0x00000078>,
+ <0x00000000 0x00000001 0xffffffff 0xfffe07ff 0x00000078>,
+ <0x00000000 0x00000002 0xffffffff 0xfffe00ff 0x00000078>,
+ <0x00000000 0x00000003 0xfffffffc 0x000000ff 0x00000078>,
+ <0x00000000 0x00000004 0xffffffc0 0x000000ff 0x00000078>,
+ <0x00000000 0x00000005 0xffffffff 0xfffffdff 0x00000078>,
+ <0x00000000 0x00000006 0xfffffe00 0x110204ff 0x00000078>,
+ <0x00000000 0x00000007 0xffffffff 0xf00000ff 0x00000078>,
+ <0x00000000 0x00000008 0xfffffe04 0x000000ff 0x00000078>,
+ <0x00000000 0x00000009 0xffffffff 0xffffc0ff 0x00000078>,
+ <0x00000000 0x0000000a 0xffffffff 0xf00000ff 0x00000078>,
+ <0x00000000 0x0000000b 0xffffffff 0xfffffcff 0x00000078>,
+ <0x00000000 0x0000000c 0xfffffff0 0x000000ff 0x00000078>,
+ <0x00000000 0x0000000d 0xffffffff 0x800000ff 0x00000078>,
+ <0x00000000 0x0000000e 0xffffffff 0xf80000ff 0x00000078>,
+ <0x00000000 0x0000000f 0xfffffffc 0x000000ff 0x00000078>;
+ };
+
+ soc {
+ compatible = "simple-bus";
+ ranges;
+ interrupt-parent = <&plic>;
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ clint: timer@2000000 {
+ compatible = "eswin,eic7700-clint", "sifive,clint0";
+ reg = <0x0 0x02000000 0x0 0x10000>;
+ interrupts-extended =
+ <&cpu0_intc 3>, <&cpu0_intc 7>,
+ <&cpu1_intc 3>, <&cpu1_intc 7>,
+ <&cpu2_intc 3>, <&cpu2_intc 7>,
+ <&cpu3_intc 3>, <&cpu3_intc 7>;
+ };
+
+ ccache: cache-controller@2010000 {
+ compatible = "eswin,eic7700-l3-cache", "sifive,ccache0", "cache";
+ reg = <0x0 0x2010000 0x0 0x4000>;
+ interrupts = <1>, <3>, <4>, <2>;
+ cache-block-size = <64>;
+ cache-level = <3>;
+ cache-sets = <4096>;
+ cache-size = <4194304>;
+ cache-unified;
+ };
+
+ plic: interrupt-controller@c000000 {
+ compatible = "eswin,eic7700-plic", "sifive,plic-1.0.0";
+ reg = <0x0 0xc000000 0x0 0x4000000>;
+ interrupt-controller;
+ interrupts-extended =
+ <&cpu0_intc 11>, <&cpu0_intc 9>,
+ <&cpu1_intc 11>, <&cpu1_intc 9>,
+ <&cpu2_intc 11>, <&cpu2_intc 9>,
+ <&cpu3_intc 11>, <&cpu3_intc 9>;
+ riscv,ndev = <520>;
+ #address-cells = <0>;
+ #interrupt-cells = <1>;
+ };
+
+ uart0: serial@50900000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x0 0x50900000 0x0 0x10000>;
+ interrupts = <100>;
+ clock-frequency = <200000000>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+ status = "disabled";
+ };
+
+ uart1: serial@50910000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x0 0x50910000 0x0 0x10000>;
+ interrupts = <101>;
+ clock-frequency = <200000000>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+ status = "disabled";
+ };
+
+ uart2: serial@50920000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x0 0x50920000 0x0 0x10000>;
+ interrupts = <102>;
+ clock-frequency = <200000000>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+ status = "disabled";
+ };
+
+ uart3: serial@50930000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x0 0x50930000 0x0 0x10000>;
+ interrupts = <103>;
+ clock-frequency = <200000000>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+ status = "disabled";
+ };
+
+ uart4: serial@50940000 {
+ compatible = "snps,dw-apb-uart";
+ reg = <0x0 0x50940000 0x0 0x10000>;
+ interrupts = <104>;
+ clock-frequency = <200000000>;
+ reg-io-width = <4>;
+ reg-shift = <2>;
+ status = "disabled";
+ };
+
+ gpio@51600000 {
+ compatible = "snps,dw-apb-gpio";
+ reg = <0x0 0x51600000 0x0 0x80>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ porta: gpio-port@0 {
+ compatible = "snps,dw-apb-gpio-port";
+ reg = <0>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ interrupts =
+ <303>, <304>, <305>, <306>, <307>, <308>, <309>,
+ <310>, <311>, <312>, <313>, <314>, <315>, <316>,
+ <317>, <318>, <319>, <320>, <321>, <322>, <323>,
+ <324>, <325>, <326>, <327>, <328>, <329>, <330>,
+ <331>, <332>, <333>, <334>;
+ gpio-controller;
+ ngpios = <32>;
+ #gpio-cells = <2>;
+ };
+
+ portb: gpio-port@1 {
+ compatible = "snps,dw-apb-gpio-port";
+ reg = <1>;
+ gpio-controller;
+ ngpios = <32>;
+ #gpio-cells = <2>;
+ };
+
+ portc: gpio-port@2 {
+ compatible = "snps,dw-apb-gpio-port";
+ reg = <2>;
+ gpio-controller;
+ ngpios = <32>;
+ #gpio-cells = <2>;
+ };
+
+ portd: gpio-port@3 {
+ compatible = "snps,dw-apb-gpio-port";
+ reg = <3>;
+ gpio-controller;
+ ngpios = <16>;
+ #gpio-cells = <2>;
+ };
+ };
+ };
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* [PATCH 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (8 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 09/10] riscv: dts: add initial support for EIC7700 SoC Pinkesh Vaghela
@ 2025-03-11 7:34 ` Pinkesh Vaghela
2025-03-11 18:07 ` [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Conor Dooley
10 siblings, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-11 7:34 UTC (permalink / raw)
To: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pinkesh Vaghela, Pritesh Patel,
Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
From: Min Lin <linmin@eswincomputing.com>
Add initial board data for HiFive Premier P550 Development board
Currently the data populated in this DT file describes the board
DRAM configuration, UART and GPIO.
Signed-off-by: Min Lin <linmin@eswincomputing.com>
Co-developed-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Tested-by: Samuel Holland <samuel.holland@sifive.com>
---
arch/riscv/boot/dts/Makefile | 1 +
arch/riscv/boot/dts/eswin/Makefile | 2 ++
.../dts/eswin/eic7700-hifive-premier-p550.dts | 29 +++++++++++++++++++
3 files changed, 32 insertions(+)
create mode 100644 arch/riscv/boot/dts/eswin/Makefile
create mode 100644 arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
diff --git a/arch/riscv/boot/dts/Makefile b/arch/riscv/boot/dts/Makefile
index bff887d38abe..286a9939a8cb 100644
--- a/arch/riscv/boot/dts/Makefile
+++ b/arch/riscv/boot/dts/Makefile
@@ -1,6 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
subdir-y += allwinner
subdir-y += canaan
+subdir-y += eswin
subdir-y += microchip
subdir-y += renesas
subdir-y += sifive
diff --git a/arch/riscv/boot/dts/eswin/Makefile b/arch/riscv/boot/dts/eswin/Makefile
new file mode 100644
index 000000000000..224101ae471e
--- /dev/null
+++ b/arch/riscv/boot/dts/eswin/Makefile
@@ -0,0 +1,2 @@
+# SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_ESWIN) += eic7700-hifive-premier-p550.dtb
diff --git a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
new file mode 100644
index 000000000000..131ed1fc6b2e
--- /dev/null
+++ b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
@@ -0,0 +1,29 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Copyright (c) 2024, Beijing ESWIN Computing Technology Co., Ltd.
+ */
+
+/dts-v1/;
+
+#include "eic7700.dtsi"
+
+/ {
+ compatible = "sifive,hifive-premier-p550", "eswin,eic7700";
+ model = "SiFive HiFive Premier P550";
+
+ aliases {
+ serial0 = &uart0;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+};
+
+&uart0 {
+ status = "okay";
+};
+
+&uart2 {
+ status = "okay";
+};
--
2.25.1
^ permalink raw reply related [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
` (9 preceding siblings ...)
2025-03-11 7:34 ` [PATCH 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree Pinkesh Vaghela
@ 2025-03-11 18:07 ` Conor Dooley
2025-03-20 10:39 ` Pinkesh Vaghela
10 siblings, 1 reply; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:07 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2464 bytes --]
On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> P550 CPU cluster and the first development board that uses it, the
> SiFive HiFive Premier P550.
>
> This patch series adds initial device tree and also adds ESWIN
> architecture support.
>
> Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
> P550 board using U-Boot 2024.01 and OpenSBI 1.4.
There's no git tree in your MAINTAINERS entry, nor mention here of what
the story is going to be in terms of sending patches to Arnd. Who is
going to be doing that?
Cheers,
Conor.
> Darshan Prajapati (3):
> dt-bindings: riscv: Add SiFive P550 CPU compatible
> dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC
> dt-bindings: timer: Add ESWIN EIC7700 CLINT
>
> Min Lin (2):
> riscv: dts: add initial support for EIC7700 SoC
> riscv: dts: eswin: add HiFive Premier P550 board device tree
>
> Pinkesh Vaghela (2):
> riscv: Add Kconfig option for ESWIN platforms
> cache: sifive_ccache: Add ESWIN EIC7700 support
>
> Pritesh Patel (3):
> dt-bindings: vendor-prefixes: add eswin
> dt-bindings: riscv: Add SiFive HiFive Premier P550 board
> dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC
> compatibility
>
> .../bindings/cache/sifive,ccache0.yaml | 28 +-
> .../sifive,plic-1.0.0.yaml | 1 +
> .../devicetree/bindings/riscv/cpus.yaml | 1 +
> .../devicetree/bindings/riscv/eswin.yaml | 29 ++
> .../bindings/timer/sifive,clint.yaml | 1 +
> .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> MAINTAINERS | 7 +
> arch/riscv/Kconfig.socs | 6 +
> arch/riscv/boot/dts/Makefile | 1 +
> arch/riscv/boot/dts/eswin/Makefile | 2 +
> .../dts/eswin/eic7700-hifive-premier-p550.dts | 29 ++
> arch/riscv/boot/dts/eswin/eic7700.dtsi | 344 ++++++++++++++++++
> drivers/cache/sifive_ccache.c | 2 +
> 13 files changed, 450 insertions(+), 3 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
> create mode 100644 arch/riscv/boot/dts/eswin/Makefile
> create mode 100644 arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
> create mode 100644 arch/riscv/boot/dts/eswin/eic7700.dtsi
>
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility
2025-03-11 7:34 ` [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility Pinkesh Vaghela
@ 2025-03-11 18:11 ` Conor Dooley
2025-03-12 13:51 ` [External] " Pinkesh Vaghela
0 siblings, 1 reply; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:11 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2664 bytes --]
On Tue, Mar 11, 2025 at 01:04:27PM +0530, Pinkesh Vaghela wrote:
> From: Pritesh Patel <pritesh.patel@einfochips.com>
>
> This cache controller is also used on the ESWIN EIC7700 SoC.
> However, it have 256KB private L2 Cache and shared L3 Cache of 4MB.
> So add dedicated compatible string for it.
>
> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> ---
> .../bindings/cache/sifive,ccache0.yaml | 28 +++++++++++++++++--
> 1 file changed, 25 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> index 7e8cebe21584..11e9df2cd153 100644
> --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> @@ -39,6 +39,7 @@ properties:
> - const: cache
> - items:
> - enum:
> + - eswin,eic7700-l3-cache
> - starfive,jh7100-ccache
> - starfive,jh7110-ccache
> - const: sifive,ccache0
> @@ -55,10 +56,10 @@ properties:
> enum: [2, 3]
>
> cache-sets:
> - enum: [1024, 2048]
> + enum: [1024, 2048, 4096]
>
> cache-size:
> - const: 2097152
> + enum: [2097152, 4194304]
Making this an enum makes either value permitted on each SoC. Can you
add cache-size restrictions to the if statements below to keep it
restricted to the correct value please?
Cheers,
Conor.
>
> cache-unified: true
>
> @@ -89,6 +90,7 @@ allOf:
> compatible:
> contains:
> enum:
> + - eswin,eic7700-l3-cache
> - sifive,fu740-c000-ccache
> - starfive,jh7100-ccache
> - starfive,jh7110-ccache
> @@ -122,11 +124,31 @@ allOf:
> cache-sets:
> const: 2048
>
> - else:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - microchip,mpfs-ccache
> + - sifive,fu540-c000-ccache
> +
> + then:
> properties:
> cache-sets:
> const: 1024
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - eswin,eic7700-l3-cache
> +
> + then:
> + properties:
> + cache-sets:
> + const: 4096
> +
> - if:
> properties:
> compatible:
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC
2025-03-11 7:34 ` [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC Pinkesh Vaghela
@ 2025-03-11 18:12 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:12 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
On Tue, Mar 11, 2025 at 01:04:29PM +0530, Pinkesh Vaghela wrote:
> From: Darshan Prajapati <darshan.prajapati@einfochips.com>
>
> Add compatible string for ESWIN EIC7700 PLIC.
>
> Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> .../bindings/interrupt-controller/sifive,plic-1.0.0.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> index 3dfe425909d1..ea7093fde060 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml
> @@ -58,6 +58,7 @@ properties:
> - items:
> - enum:
> - canaan,k210-plic
> + - eswin,eic7700-plic
> - sifive,fu540-c000-plic
> - spacemit,k1-plic
> - starfive,jh7100-plic
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT
2025-03-11 7:34 ` [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT Pinkesh Vaghela
@ 2025-03-11 18:12 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:12 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
On Tue, Mar 11, 2025 at 01:04:30PM +0530, Pinkesh Vaghela wrote:
> From: Darshan Prajapati <darshan.prajapati@einfochips.com>
>
> Add compatible string for ESWIN EIC7700 CLINT.
>
> Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible
2025-03-11 7:34 ` [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
@ 2025-03-11 18:14 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:14 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
On Tue, Mar 11, 2025 at 01:04:23PM +0530, Pinkesh Vaghela wrote:
> From: Darshan Prajapati <darshan.prajapati@einfochips.com>
>
> Update Documentation for supporting SiFive P550 based CPU
>
> Signed-off-by: Darshan Prajapati <darshan.prajapati@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Documentation/devicetree/bindings/riscv/cpus.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/riscv/cpus.yaml b/Documentation/devicetree/bindings/riscv/cpus.yaml
> index 2c72f148a74b..3ee7468001f6 100644
> --- a/Documentation/devicetree/bindings/riscv/cpus.yaml
> +++ b/Documentation/devicetree/bindings/riscv/cpus.yaml
> @@ -51,6 +51,7 @@ properties:
> - sifive,e5
> - sifive,e7
> - sifive,e71
> + - sifive,p550
> - sifive,rocket0
> - sifive,s7
> - sifive,u5
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms
2025-03-11 7:34 ` [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms Pinkesh Vaghela
@ 2025-03-11 18:14 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:14 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 880 bytes --]
On Tue, Mar 11, 2025 at 01:04:24PM +0530, Pinkesh Vaghela wrote:
> Create a config option to build ESWIN SoC specific resources
>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> arch/riscv/Kconfig.socs | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
> index 1916cf7ba450..35594e365ca6 100644
> --- a/arch/riscv/Kconfig.socs
> +++ b/arch/riscv/Kconfig.socs
> @@ -1,5 +1,11 @@
> menu "SoC selection"
>
> +config ARCH_ESWIN
> + bool "ESWIN SoCs"
> + help
> + This enables support for ESWIN SoC platform hardware,
> + including the ESWIN EIC7700 SoC.
> +
> config ARCH_MICROCHIP_POLARFIRE
> def_bool ARCH_MICROCHIP
>
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin
2025-03-11 7:34 ` [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin Pinkesh Vaghela
@ 2025-03-11 18:15 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-11 18:15 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal, Anup Patel, devicetree, linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1307 bytes --]
On Tue, Mar 11, 2025 at 01:04:25PM +0530, Pinkesh Vaghela wrote:
> From: Pritesh Patel <pritesh.patel@einfochips.com>
>
> Add new vendor string to dt bindings.
> This new vendor string is used by
> - ESWIN EIC770X SoC
> - HiFive Premier P550 board which uses EIC7700 SoC.
>
> Link: https://www.eswin.com/en/
> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> index 5079ca6ce1d1..07ff140e67dc 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
> @@ -490,6 +490,8 @@ patternProperties:
> description: Espressif Systems Co. Ltd.
> "^est,.*":
> description: ESTeem Wireless Modems
> + "^eswin,.*":
> + description: Beijing ESWIN Technology Group Co. Ltd.
> "^ettus,.*":
> description: NI Ettus Research
> "^eukrea,.*":
> --
> 2.25.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-11 7:34 ` [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
@ 2025-03-12 12:03 ` Matthias Brugger
2025-03-12 12:50 ` Conor Dooley
2025-03-12 12:55 ` Krzysztof Kozlowski
1 sibling, 1 reply; 32+ messages in thread
From: Matthias Brugger @ 2025-03-12 12:03 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Conor Dooley, Rob Herring, Krzysztof Kozlowski, Thomas Gleixner,
Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
On Tue, Mar 11, 2025 at 01:04:26PM +0530, Pinkesh Vaghela wrote:
> From: Pritesh Patel <pritesh.patel@einfochips.com>
>
> Add DT binding documentation for the ESWIN EIC7700 SoC and
> HiFive Premier P550 Board
>
> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> ---
> .../devicetree/bindings/riscv/eswin.yaml | 29 +++++++++++++++++++
> MAINTAINERS | 6 ++++
> 2 files changed, 35 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
>
> diff --git a/Documentation/devicetree/bindings/riscv/eswin.yaml b/Documentation/devicetree/bindings/riscv/eswin.yaml
> new file mode 100644
> index 000000000000..c603c45eef22
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/riscv/eswin.yaml
> @@ -0,0 +1,29 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/riscv/eswin.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ESWIN SoC-based boards
> +
> +maintainers:
> + - Min Lin <linmin@eswincomputing.com>
> + - Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> + - Pritesh Patel <pritesh.patel@einfochips.com>
> +
> +description:
> + ESWIN SoC-based boards
> +
> +properties:
> + $nodename:
> + const: '/'
> + compatible:
> + oneOf:
> + - items:
> + - enum:
> + - sifive,hifive-premier-p550
> + - const: eswin,eic7700
That should be the other way around. You could have, let's say eic7701
with different peripherals but smae p550 IP core. I don't expect a new
eic7700 with a CPU IP other then p550.
Regards,
Matthias
> +
> +additionalProperties: true
> +
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 25c86f47353d..901d0e0adb25 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -8572,6 +8572,12 @@ L: linux-can@vger.kernel.org
> S: Maintained
> F: drivers/net/can/usb/esd_usb.c
>
> +ESWIN DEVICETREES
> +M: Min Lin <linmin@eswincomputing.com>
> +M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> +M: Pritesh Patel <pritesh.patel@einfochips.com>
> +S: Maintained
> +
> ET131X NETWORK DRIVER
> M: Mark Einon <mark.einon@gmail.com>
> S: Odd Fixes
> --
> 2.25.1
>
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-12 12:03 ` Matthias Brugger
@ 2025-03-12 12:50 ` Conor Dooley
2025-03-12 12:52 ` Matthias Brugger
0 siblings, 1 reply; 32+ messages in thread
From: Conor Dooley @ 2025-03-12 12:50 UTC (permalink / raw)
To: Matthias Brugger
Cc: Pinkesh Vaghela, Rob Herring, Krzysztof Kozlowski,
Thomas Gleixner, Paul Walmsley, Samuel Holland, Palmer Dabbelt,
Albert Ou, Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2303 bytes --]
On Wed, Mar 12, 2025 at 01:03:09PM +0100, Matthias Brugger wrote:
> On Tue, Mar 11, 2025 at 01:04:26PM +0530, Pinkesh Vaghela wrote:
> > From: Pritesh Patel <pritesh.patel@einfochips.com>
> >
> > Add DT binding documentation for the ESWIN EIC7700 SoC and
> > HiFive Premier P550 Board
> >
> > Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> > Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> > Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> > ---
> > .../devicetree/bindings/riscv/eswin.yaml | 29 +++++++++++++++++++
> > MAINTAINERS | 6 ++++
> > 2 files changed, 35 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/riscv/eswin.yaml b/Documentation/devicetree/bindings/riscv/eswin.yaml
> > new file mode 100644
> > index 000000000000..c603c45eef22
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/riscv/eswin.yaml
> > @@ -0,0 +1,29 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/riscv/eswin.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: ESWIN SoC-based boards
> > +
> > +maintainers:
> > + - Min Lin <linmin@eswincomputing.com>
> > + - Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> > + - Pritesh Patel <pritesh.patel@einfochips.com>
> > +
> > +description:
> > + ESWIN SoC-based boards
> > +
> > +properties:
> > + $nodename:
> > + const: '/'
> > + compatible:
> > + oneOf:
> > + - items:
> > + - enum:
> > + - sifive,hifive-premier-p550
> > + - const: eswin,eic7700
>
> That should be the other way around. You could have, let's say eic7701
> with different peripherals but smae p550 IP core. I don't expect a new
> eic7700 with a CPU IP other then p550.
No, this is correct. The SoC is made by Eswin (eic7700) and the board
(hifive premier) by SiFive. None of the compatibles listed here are for
the IP core.
If there's another SoC with different peripherals and the same p550 IP
core, I would expect a new SoC compatible /and/ a new board compatible.
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-12 12:50 ` Conor Dooley
@ 2025-03-12 12:52 ` Matthias Brugger
0 siblings, 0 replies; 32+ messages in thread
From: Matthias Brugger @ 2025-03-12 12:52 UTC (permalink / raw)
To: Conor Dooley, Matthias Brugger
Cc: Pinkesh Vaghela, Rob Herring, Krzysztof Kozlowski,
Thomas Gleixner, Paul Walmsley, Samuel Holland, Palmer Dabbelt,
Albert Ou, Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
On 12/03/2025 13:50, Conor Dooley wrote:
> On Wed, Mar 12, 2025 at 01:03:09PM +0100, Matthias Brugger wrote:
>> On Tue, Mar 11, 2025 at 01:04:26PM +0530, Pinkesh Vaghela wrote:
>>> From: Pritesh Patel <pritesh.patel@einfochips.com>
>>>
>>> Add DT binding documentation for the ESWIN EIC7700 SoC and
>>> HiFive Premier P550 Board
>>>
>>> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
>>> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
>>> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
>>> ---
>>> .../devicetree/bindings/riscv/eswin.yaml | 29 +++++++++++++++++++
>>> MAINTAINERS | 6 ++++
>>> 2 files changed, 35 insertions(+)
>>> create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
>>>
>>> diff --git a/Documentation/devicetree/bindings/riscv/eswin.yaml b/Documentation/devicetree/bindings/riscv/eswin.yaml
>>> new file mode 100644
>>> index 000000000000..c603c45eef22
>>> --- /dev/null
>>> +++ b/Documentation/devicetree/bindings/riscv/eswin.yaml
>>> @@ -0,0 +1,29 @@
>>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>>> +%YAML 1.2
>>> +---
>>> +$id: http://devicetree.org/schemas/riscv/eswin.yaml#
>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>> +
>>> +title: ESWIN SoC-based boards
>>> +
>>> +maintainers:
>>> + - Min Lin <linmin@eswincomputing.com>
>>> + - Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
>>> + - Pritesh Patel <pritesh.patel@einfochips.com>
>>> +
>>> +description:
>>> + ESWIN SoC-based boards
>>> +
>>> +properties:
>>> + $nodename:
>>> + const: '/'
>>> + compatible:
>>> + oneOf:
>>> + - items:
>>> + - enum:
>>> + - sifive,hifive-premier-p550
>>> + - const: eswin,eic7700
>>
>> That should be the other way around. You could have, let's say eic7701
>> with different peripherals but smae p550 IP core. I don't expect a new
>> eic7700 with a CPU IP other then p550.
>
> No, this is correct. The SoC is made by Eswin (eic7700) and the board
> (hifive premier) by SiFive. None of the compatibles listed here are for
> the IP core.
>
> If there's another SoC with different peripherals and the same p550 IP
> core, I would expect a new SoC compatible /and/ a new board compatible.
>
Right I mixed up CPU IP core and SoC, so:
Reviewed-by: Matthias Brugger <matthias.bgg@kernel.org>
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-11 7:34 ` [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
2025-03-12 12:03 ` Matthias Brugger
@ 2025-03-12 12:55 ` Krzysztof Kozlowski
2025-03-12 14:25 ` [External] " Pinkesh Vaghela
2025-03-13 8:15 ` Samuel Holland
1 sibling, 2 replies; 32+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-12 12:55 UTC (permalink / raw)
To: Pinkesh Vaghela, Conor Dooley, Rob Herring, Krzysztof Kozlowski,
Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel, devicetree,
linux-riscv, linux-kernel
On 11/03/2025 08:34, Pinkesh Vaghela wrote:
> From: Pritesh Patel <pritesh.patel@einfochips.com>
>
> Add DT binding documentation for the ESWIN EIC7700 SoC and
> HiFive Premier P550 Board
>
> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
This Rb tag appears everywhere, while this is a v1 and it was not given
on the lists, so I want to be sure this was not some blank tag added to
series because someone said "yeah, lgtm". Was it really review as in
*reviewers statement of oversight*?
> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> ---
..
> +
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 25c86f47353d..901d0e0adb25 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -8572,6 +8572,12 @@ L: linux-can@vger.kernel.org
> S: Maintained
> F: drivers/net/can/usb/esd_usb.c
>
> +ESWIN DEVICETREES
> +M: Min Lin <linmin@eswincomputing.com>
> +M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> +M: Pritesh Patel <pritesh.patel@einfochips.com>
> +S: Maintained
If you add this entry here, then add the path for the eswin binding.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* RE: [External] Re: [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility
2025-03-11 18:11 ` Conor Dooley
@ 2025-03-12 13:51 ` Pinkesh Vaghela
0 siblings, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-12 13:51 UTC (permalink / raw)
To: Conor Dooley
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Hi Conor,
On Tue, Mar 11, 2025 at 06:11:43PM +0530, Conor Dooley wrote:
> On Tue, Mar 11, 2025 at 01:04:27PM +0530, Pinkesh Vaghela wrote:
> > From: Pritesh Patel <pritesh.patel@einfochips.com>
> >
> > This cache controller is also used on the ESWIN EIC7700 SoC.
> > However, it have 256KB private L2 Cache and shared L3 Cache of 4MB.
> > So add dedicated compatible string for it.
> >
> > Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> > Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
> > Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> > ---
> > .../bindings/cache/sifive,ccache0.yaml | 28 +++++++++++++++++--
> > 1 file changed, 25 insertions(+), 3 deletions(-)
> >
> > diff --git
> > a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> > b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> > index 7e8cebe21584..11e9df2cd153 100644
> > --- a/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> > +++ b/Documentation/devicetree/bindings/cache/sifive,ccache0.yaml
> > @@ -39,6 +39,7 @@ properties:
> > - const: cache
> > - items:
> > - enum:
> > + - eswin,eic7700-l3-cache
> > - starfive,jh7100-ccache
> > - starfive,jh7110-ccache
> > - const: sifive,ccache0
> > @@ -55,10 +56,10 @@ properties:
> > enum: [2, 3]
> >
> > cache-sets:
> > - enum: [1024, 2048]
> > + enum: [1024, 2048, 4096]
> >
> > cache-size:
> > - const: 2097152
> > + enum: [2097152, 4194304]
>
> Making this an enum makes either value permitted on each SoC. Can you add
> cache-size restrictions to the if statements below to keep it restricted to the
> correct value please?
>
> Cheers,
> Conor.
Thanks for the feedback. I will address this in v2.
Regards,
Pinkesh
>
> >
> > cache-unified: true
> >
> > @@ -89,6 +90,7 @@ allOf:
> > compatible:
> > contains:
> > enum:
> > + - eswin,eic7700-l3-cache
> > - sifive,fu740-c000-ccache
> > - starfive,jh7100-ccache
> > - starfive,jh7110-ccache @@ -122,11 +124,31 @@ allOf:
> > cache-sets:
> > const: 2048
> >
> > - else:
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + enum:
> > + - microchip,mpfs-ccache
> > + - sifive,fu540-c000-ccache
> > +
> > + then:
> > properties:
> > cache-sets:
> > const: 1024
> >
> > + - if:
> > + properties:
> > + compatible:
> > + contains:
> > + enum:
> > + - eswin,eic7700-l3-cache
> > +
> > + then:
> > + properties:
> > + cache-sets:
> > + const: 4096
> > +
> > - if:
> > properties:
> > compatible:
> > --
> > 2.25.1
> >
^ permalink raw reply [flat|nested] 32+ messages in thread
* RE: [External] Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-12 12:55 ` Krzysztof Kozlowski
@ 2025-03-12 14:25 ` Pinkesh Vaghela
2025-03-13 8:15 ` Samuel Holland
1 sibling, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-12 14:25 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley, Rob Herring,
Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Samuel Holland, Palmer Dabbelt, Albert Ou,
Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal@milecki.pl, Anup Patel,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
Hi Krzysztof,
On Tue, Mar 12, 2025 at 12:55:52PM +0530, Krzysztof Kozlowski wrote:
> On 11/03/2025 08:34, Pinkesh Vaghela wrote:
> > From: Pritesh Patel <pritesh.patel@einfochips.com>
> >
> > Add DT binding documentation for the ESWIN EIC7700 SoC and HiFive
> > Premier P550 Board
> >
> > Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
> > Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
>
>
> This Rb tag appears everywhere, while this is a v1 and it was not given on the
> lists, so I want to be sure this was not some blank tag added to series because
> someone said "yeah, lgtm". Was it really review as in *reviewers statement of
> oversight*?
The "Reviewed-by" tag was added because we had a thorough review of all the
patches from Samuel Holland before posting.
>
> > Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> > ---
> ..
>
>
> > +
> > +...
> > diff --git a/MAINTAINERS b/MAINTAINERS index
> > 25c86f47353d..901d0e0adb25 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -8572,6 +8572,12 @@ L: linux-can@vger.kernel.org
> > S: Maintained
> > F: drivers/net/can/usb/esd_usb.c
> >
> > +ESWIN DEVICETREES
> > +M: Min Lin <linmin@eswincomputing.com>
> > +M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
> > +M: Pritesh Patel <pritesh.patel@einfochips.com>
> > +S: Maintained
>
> If you add this entry here, then add the path for the eswin binding.
Thanks for the feedback. I will add this in v2.
Regards,
Pinkesh
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-12 12:55 ` Krzysztof Kozlowski
2025-03-12 14:25 ` [External] " Pinkesh Vaghela
@ 2025-03-13 8:15 ` Samuel Holland
2025-03-13 8:39 ` Krzysztof Kozlowski
1 sibling, 1 reply; 32+ messages in thread
From: Samuel Holland @ 2025-03-13 8:15 UTC (permalink / raw)
To: Krzysztof Kozlowski, Pinkesh Vaghela, Conor Dooley, Rob Herring,
Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Daniel Lezcano, Min Lin,
Pritesh Patel, Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin,
Charlie Jenkins, Kanak Shilledar, Darshan Prajapati,
Neil Armstrong, Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel,
devicetree, linux-riscv, linux-kernel
Hi Krzysztof,
On 2025-03-12 7:55 AM, Krzysztof Kozlowski wrote:
> On 11/03/2025 08:34, Pinkesh Vaghela wrote:
>> From: Pritesh Patel <pritesh.patel@einfochips.com>
>>
>> Add DT binding documentation for the ESWIN EIC7700 SoC and
>> HiFive Premier P550 Board
>>
>> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
>> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
>
>
> This Rb tag appears everywhere, while this is a v1 and it was not given
> on the lists, so I want to be sure this was not some blank tag added to
> series because someone said "yeah, lgtm". Was it really review as in
> *reviewers statement of oversight*?
Yes, to be clear, the series has my:
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
per the reviewer’s statement of oversight.
Regards,
Samuel
>> Signed-off-by: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
>> ---
> ..
>
>
>> +
>> +...
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 25c86f47353d..901d0e0adb25 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -8572,6 +8572,12 @@ L: linux-can@vger.kernel.org
>> S: Maintained
>> F: drivers/net/can/usb/esd_usb.c
>>
>> +ESWIN DEVICETREES
>> +M: Min Lin <linmin@eswincomputing.com>
>> +M: Pinkesh Vaghela <pinkesh.vaghela@einfochips.com>
>> +M: Pritesh Patel <pritesh.patel@einfochips.com>
>> +S: Maintained
>
> If you add this entry here, then add the path for the eswin binding.
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board
2025-03-13 8:15 ` Samuel Holland
@ 2025-03-13 8:39 ` Krzysztof Kozlowski
0 siblings, 0 replies; 32+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-13 8:39 UTC (permalink / raw)
To: Samuel Holland, Pinkesh Vaghela, Conor Dooley, Rob Herring,
Krzysztof Kozlowski, Thomas Gleixner
Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, Daniel Lezcano, Min Lin,
Pritesh Patel, Yangyu Chen, Lad Prabhakar, Yu Chien Peter Lin,
Charlie Jenkins, Kanak Shilledar, Darshan Prajapati,
Neil Armstrong, Heiko Stuebner, Aradhya Bhatia, rafal, Anup Patel,
devicetree, linux-riscv, linux-kernel
On 13/03/2025 09:15, Samuel Holland wrote:
> Hi Krzysztof,
>
> On 2025-03-12 7:55 AM, Krzysztof Kozlowski wrote:
>> On 11/03/2025 08:34, Pinkesh Vaghela wrote:
>>> From: Pritesh Patel <pritesh.patel@einfochips.com>
>>>
>>> Add DT binding documentation for the ESWIN EIC7700 SoC and
>>> HiFive Premier P550 Board
>>>
>>> Signed-off-by: Pritesh Patel <pritesh.patel@einfochips.com>
>>> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
>>
>>
>> This Rb tag appears everywhere, while this is a v1 and it was not given
>> on the lists, so I want to be sure this was not some blank tag added to
>> series because someone said "yeah, lgtm". Was it really review as in
>> *reviewers statement of oversight*?
>
> Yes, to be clear, the series has my:
>
> Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
>
> per the reviewer’s statement of oversight.
Thanks!
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-11 18:07 ` [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Conor Dooley
@ 2025-03-20 10:39 ` Pinkesh Vaghela
2025-03-20 12:00 ` Conor Dooley
0 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-20 10:39 UTC (permalink / raw)
To: Conor Dooley
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Hi Conor,
On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
> On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> > Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> > P550 CPU cluster and the first development board that uses it, the
> > SiFive HiFive Premier P550.
> >
> > This patch series adds initial device tree and also adds ESWIN
> > architecture support.
> >
> > Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
> > P550 board using U-Boot 2024.01 and OpenSBI 1.4.
>
> There's no git tree in your MAINTAINERS entry, nor mention here of what the
> story is going to be in terms of sending patches to Arnd. Who is going to be
> doing that?
We are not currently set up for sending signed pull requests,
so for now we plan to send changes to Arnd as separate patches.
Regards,
Pinkesh
>
> Cheers,
> Conor.
>
> > Darshan Prajapati (3):
> > dt-bindings: riscv: Add SiFive P550 CPU compatible
> > dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC
> > dt-bindings: timer: Add ESWIN EIC7700 CLINT
> >
> > Min Lin (2):
> > riscv: dts: add initial support for EIC7700 SoC
> > riscv: dts: eswin: add HiFive Premier P550 board device tree
> >
> > Pinkesh Vaghela (2):
> > riscv: Add Kconfig option for ESWIN platforms
> > cache: sifive_ccache: Add ESWIN EIC7700 support
> >
> > Pritesh Patel (3):
> > dt-bindings: vendor-prefixes: add eswin
> > dt-bindings: riscv: Add SiFive HiFive Premier P550 board
> > dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC
> > compatibility
> >
> > .../bindings/cache/sifive,ccache0.yaml | 28 +-
> > .../sifive,plic-1.0.0.yaml | 1 +
> > .../devicetree/bindings/riscv/cpus.yaml | 1 +
> > .../devicetree/bindings/riscv/eswin.yaml | 29 ++
> > .../bindings/timer/sifive,clint.yaml | 1 +
> > .../devicetree/bindings/vendor-prefixes.yaml | 2 +
> > MAINTAINERS | 7 +
> > arch/riscv/Kconfig.socs | 6 +
> > arch/riscv/boot/dts/Makefile | 1 +
> > arch/riscv/boot/dts/eswin/Makefile | 2 +
> > .../dts/eswin/eic7700-hifive-premier-p550.dts | 29 ++
> > arch/riscv/boot/dts/eswin/eic7700.dtsi | 344 ++++++++++++++++++
> > drivers/cache/sifive_ccache.c | 2 +
> > 13 files changed, 450 insertions(+), 3 deletions(-) create mode
> > 100644 Documentation/devicetree/bindings/riscv/eswin.yaml
> > create mode 100644 arch/riscv/boot/dts/eswin/Makefile
> > create mode 100644
> > arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts
> > create mode 100644 arch/riscv/boot/dts/eswin/eic7700.dtsi
> >
> > --
> > 2.25.1
> >
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-20 10:39 ` Pinkesh Vaghela
@ 2025-03-20 12:00 ` Conor Dooley
2025-03-21 9:37 ` Krzysztof Kozlowski
2025-03-21 11:25 ` Pinkesh Vaghela
0 siblings, 2 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-20 12:00 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
On Thu, Mar 20, 2025 at 10:39:52AM +0000, Pinkesh Vaghela wrote:
> Hi Conor,
>
> On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
> > On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> > > Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> > > P550 CPU cluster and the first development board that uses it, the
> > > SiFive HiFive Premier P550.
> > >
> > > This patch series adds initial device tree and also adds ESWIN
> > > architecture support.
> > >
> > > Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
> > > P550 board using U-Boot 2024.01 and OpenSBI 1.4.
> >
> > There's no git tree in your MAINTAINERS entry, nor mention here of what the
> > story is going to be in terms of sending patches to Arnd. Who is going to be
> > doing that?
>
> We are not currently set up for sending signed pull requests,
> so for now we plan to send changes to Arnd as separate patches.
Undesirable, but sure. You didn't answer the first part of my question
though, and there's no git tree listed in your v2 series. That part is
not negotiable, you have to have one and get it included in linux-next.
Cheers,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-20 12:00 ` Conor Dooley
@ 2025-03-21 9:37 ` Krzysztof Kozlowski
2025-03-21 11:29 ` Pinkesh Vaghela
2025-03-21 11:25 ` Pinkesh Vaghela
1 sibling, 1 reply; 32+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-21 9:37 UTC (permalink / raw)
To: Conor Dooley, Pinkesh Vaghela
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
On 20/03/2025 13:00, Conor Dooley wrote:
> On Thu, Mar 20, 2025 at 10:39:52AM +0000, Pinkesh Vaghela wrote:
>> Hi Conor,
>>
>> On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
>>> On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
>>>> Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
>>>> P550 CPU cluster and the first development board that uses it, the
>>>> SiFive HiFive Premier P550.
>>>>
>>>> This patch series adds initial device tree and also adds ESWIN
>>>> architecture support.
>>>>
>>>> Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
>>>> P550 board using U-Boot 2024.01 and OpenSBI 1.4.
>>>
>>> There's no git tree in your MAINTAINERS entry, nor mention here of what the
>>> story is going to be in terms of sending patches to Arnd. Who is going to be
>>> doing that?
>>
>> We are not currently set up for sending signed pull requests,
>> so for now we plan to send changes to Arnd as separate patches.
>
> Undesirable, but sure. You didn't answer the first part of my question
Just to clarify - separate patches as separate postings to soc@ after
the review was done on the lists and then you applied them to the tree
Conor asked below, right?
> though, and there's no git tree listed in your v2 series. That part is
> not negotiable, you have to have one and get it included in linux-next.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-20 12:00 ` Conor Dooley
2025-03-21 9:37 ` Krzysztof Kozlowski
@ 2025-03-21 11:25 ` Pinkesh Vaghela
1 sibling, 0 replies; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-21 11:25 UTC (permalink / raw)
To: Conor Dooley
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Hi Conor,
On Thu, Mar 20, 2025 at 5:31 PM, Conor Dooley wrote:
> On Thu, Mar 20, 2025 at 10:39:52AM +0000, Pinkesh Vaghela wrote:
> > Hi Conor,
> >
> > On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
> > > On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> > > > Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> > > > P550 CPU cluster and the first development board that uses it, the
> > > > SiFive HiFive Premier P550.
> > > >
> > > > This patch series adds initial device tree and also adds ESWIN
> > > > architecture support.
> > > >
> > > > Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive
> > > > Premier
> > > > P550 board using U-Boot 2024.01 and OpenSBI 1.4.
> > >
> > > There's no git tree in your MAINTAINERS entry, nor mention here of
> > > what the story is going to be in terms of sending patches to Arnd.
> > > Who is going to be doing that?
> >
> > We are not currently set up for sending signed pull requests, so for
> > now we plan to send changes to Arnd as separate patches.
>
> Undesirable, but sure. You didn't answer the first part of my question though,
> and there's no git tree listed in your v2 series. That part is not negotiable, you
> have to have one and get it included in linux-next.
Thanks for the clarification. I was in impression that if we send patches
to @soc then we do not need to mention git URL.
I will add this in v3.
Regards,
Pinkesh
>
> Cheers,
> Conor.
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-21 9:37 ` Krzysztof Kozlowski
@ 2025-03-21 11:29 ` Pinkesh Vaghela
2025-03-21 13:41 ` Conor Dooley
0 siblings, 1 reply; 32+ messages in thread
From: Pinkesh Vaghela @ 2025-03-21 11:29 UTC (permalink / raw)
To: Krzysztof Kozlowski, Conor Dooley
Cc: Rob Herring, Krzysztof Kozlowski, Thomas Gleixner, Paul Walmsley,
Samuel Holland, Palmer Dabbelt, Albert Ou, Daniel Lezcano,
Min Lin, Pritesh Patel, Yangyu Chen, Lad Prabhakar,
Yu Chien Peter Lin, Charlie Jenkins, Kanak Shilledar,
Darshan Prajapati, Neil Armstrong, Heiko Stuebner, Aradhya Bhatia,
rafal@milecki.pl, Anup Patel, devicetree@vger.kernel.org,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org
Hi Krzysztof,
On Fri, Mar 21, 2025 at 3:07 PM, Krzysztof Kozlowski wrote:
> > On Thu, Mar 20, 2025 at 10:39:52AM +0000, Pinkesh Vaghela wrote:
> >> Hi Conor,
> >>
> >> On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
> >>> On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> >>>> Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> >>>> P550 CPU cluster and the first development board that uses it, the
> >>>> SiFive HiFive Premier P550.
> >>>>
> >>>> This patch series adds initial device tree and also adds ESWIN
> >>>> architecture support.
> >>>>
> >>>> Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
> >>>> P550 board using U-Boot 2024.01 and OpenSBI 1.4.
> >>>
> >>> There's no git tree in your MAINTAINERS entry, nor mention here of
> >>> what the story is going to be in terms of sending patches to Arnd.
> >>> Who is going to be doing that?
> >>
> >> We are not currently set up for sending signed pull requests, so for
> >> now we plan to send changes to Arnd as separate patches.
> >
> > Undesirable, but sure. You didn't answer the first part of my question
>
> Just to clarify - separate patches as separate postings to soc@ after the review
> was done on the lists and then you applied them to the tree Conor asked
> below, right?
Correct. Once the patches are reviewed, will send separate patches to @soc
and then apply to the git tree.
Regards,
Pinkesh
>
> > though, and there's no git tree listed in your v2 series. That part is
> > not negotiable, you have to have one and get it included in linux-next.
>
>
>
> Best regards,
> Krzysztof
^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC
2025-03-21 11:29 ` Pinkesh Vaghela
@ 2025-03-21 13:41 ` Conor Dooley
0 siblings, 0 replies; 32+ messages in thread
From: Conor Dooley @ 2025-03-21 13:41 UTC (permalink / raw)
To: Pinkesh Vaghela
Cc: Krzysztof Kozlowski, Rob Herring, Krzysztof Kozlowski,
Thomas Gleixner, Paul Walmsley, Samuel Holland, Palmer Dabbelt,
Albert Ou, Daniel Lezcano, Min Lin, Pritesh Patel, Yangyu Chen,
Lad Prabhakar, Yu Chien Peter Lin, Charlie Jenkins,
Kanak Shilledar, Darshan Prajapati, Neil Armstrong,
Heiko Stuebner, Aradhya Bhatia, rafal@milecki.pl, Anup Patel,
devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org
[-- Attachment #1: Type: text/plain, Size: 2260 bytes --]
On Fri, Mar 21, 2025 at 11:29:27AM +0000, Pinkesh Vaghela wrote:
> On Fri, Mar 21, 2025 at 3:07 PM, Krzysztof Kozlowski wrote:
> > > On Thu, Mar 20, 2025 at 10:39:52AM +0000, Pinkesh Vaghela wrote:
> > >> On Tue, Mar 11, 2025 at 11:38 PM, Conor Dooley wrote:
> > >>> On Tue, Mar 11, 2025 at 01:04:22PM +0530, Pinkesh Vaghela wrote:
> > >>>> Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core
> > >>>> P550 CPU cluster and the first development board that uses it, the
> > >>>> SiFive HiFive Premier P550.
> > >>>>
> > >>>> This patch series adds initial device tree and also adds ESWIN
> > >>>> architecture support.
> > >>>>
> > >>>> Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier
> > >>>> P550 board using U-Boot 2024.01 and OpenSBI 1.4.
> > >>>
> > >>> There's no git tree in your MAINTAINERS entry, nor mention here of
> > >>> what the story is going to be in terms of sending patches to Arnd.
> > >>> Who is going to be doing that?
> > >>
> > >> We are not currently set up for sending signed pull requests, so for
> > >> now we plan to send changes to Arnd as separate patches.
> > >
> > > Undesirable, but sure. You didn't answer the first part of my question
> >
> > Just to clarify - separate patches as separate postings to soc@ after the review
> > was done on the lists and then you applied them to the tree Conor asked
> > below, right?
>
> Correct. Once the patches are reviewed, will send separate patches to @soc
> and then apply to the git tree.
No, that's the wrong order. You apply reviewed patches to the git tree,
they then appear in linux-next, after some time soaking there, you send
a PR (or in your case patches) to soc@kernel.org, usually around rc6 or
rc7. Fixes get applied to a different branch and can be sent at any
time. I expect both branches to appear in linux-next.
Bear in mind that patches for this SoC might be sent by other people,
for example me if I find some issues, and you'll need to forward those
on to soc@kernel.org on top of whatever work you're doing to bring up
the SoC.
> > > though, and there's no git tree listed in your v2 series. That part is
> > > not negotiable, you have to have one and get it included in linux-next.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2025-03-21 13:41 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 7:34 [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 01/10] dt-bindings: riscv: Add SiFive P550 CPU compatible Pinkesh Vaghela
2025-03-11 18:14 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 02/10] riscv: Add Kconfig option for ESWIN platforms Pinkesh Vaghela
2025-03-11 18:14 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 03/10] dt-bindings: vendor-prefixes: add eswin Pinkesh Vaghela
2025-03-11 18:15 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 04/10] dt-bindings: riscv: Add SiFive HiFive Premier P550 board Pinkesh Vaghela
2025-03-12 12:03 ` Matthias Brugger
2025-03-12 12:50 ` Conor Dooley
2025-03-12 12:52 ` Matthias Brugger
2025-03-12 12:55 ` Krzysztof Kozlowski
2025-03-12 14:25 ` [External] " Pinkesh Vaghela
2025-03-13 8:15 ` Samuel Holland
2025-03-13 8:39 ` Krzysztof Kozlowski
2025-03-11 7:34 ` [PATCH 05/10] dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility Pinkesh Vaghela
2025-03-11 18:11 ` Conor Dooley
2025-03-12 13:51 ` [External] " Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 06/10] cache: sifive_ccache: Add ESWIN EIC7700 support Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 07/10] dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC Pinkesh Vaghela
2025-03-11 18:12 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 08/10] dt-bindings: timer: Add ESWIN EIC7700 CLINT Pinkesh Vaghela
2025-03-11 18:12 ` Conor Dooley
2025-03-11 7:34 ` [PATCH 09/10] riscv: dts: add initial support for EIC7700 SoC Pinkesh Vaghela
2025-03-11 7:34 ` [PATCH 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree Pinkesh Vaghela
2025-03-11 18:07 ` [PATCH 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Conor Dooley
2025-03-20 10:39 ` Pinkesh Vaghela
2025-03-20 12:00 ` Conor Dooley
2025-03-21 9:37 ` Krzysztof Kozlowski
2025-03-21 11:29 ` Pinkesh Vaghela
2025-03-21 13:41 ` Conor Dooley
2025-03-21 11:25 ` Pinkesh Vaghela
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).