Skip to contentSkip to conversation

arm64: dts: renesas: Add R-Car S4 Starter Kit support

PATCH In review Kuninori Morimoto 3 participants 11 messages Oct 3, 2023 – Oct 5, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v4 cover arm64: dts: renesas: Add R-Car S4 Starter Kit support

Hi Geert

This patch-set is v4 of R-Car S4 Starter Kit support. It needs Rswitch bug fix patch [1] which was posted to Ether ML. I hope it will be accepted for v6.6 Kernel.

[1] Link: https://lore.kernel.org/r/[email protected]

S4 Starter Kit is possible to setup details via config exe, but the DT will be more complex. This DT is assuming "default" settings to avoid confusion, and also assuming it is used under NFS system.

R-Car S4 Starter Kit is using new R8A779F4 SoC which is updated version of R8A779F0. This patch adds new r8a779f4.dtsi file but is using existing r8a779f0.dtsi internally.

v3 -> v4
- tidyup typo "r8a7799f0" -> "r8a779f0" on log
- tidyup typo "INT-EX" -> "INTC-EX" on log
- use script for To/Cc

v2 -> v3
- alphabetical order on pfc
- use "OR" on dts SPDX
- remove UHS from mmc
- remove unused "sd_pins" from pfc
- add Co-developed-by:
- add interrupt on rswitch
- fixup node name on rswitch
- re-add "st,24c16" on eeprom
- add "renesas,r8a779f0" on compatible
- fix typo "s/r8a77f4/r8a779f4/ on dtsi

v1 -> v2
- correct board name
- removed BSP specific device
- alphabetical order
- add missing compatibles
- add new r8a779f4.dtsi

Kuninori Morimoto (4):
dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
arm64: dts: renesas: Add Renesas R8A779F4 SoC support
arm64: dts: renesas: Add R-Car S4 Starter Kit support

 .../interrupt-controller/renesas,irqc.yaml    |   1 +
 .../bindings/soc/renesas/renesas.yaml         |   7 +
 arch/arm64/boot/dts/renesas/Makefile          |   1 +
 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts | 240 ++++++++++++++++++
 arch/arm64/boot/dts/renesas/r8a779f4.dtsi     |  12 +
 5 files changed, 261 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4.dtsi
Signature · 1 line
2.25.1
#1 lore raw

PATCH v4 1/4 dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support

Document support for the Interrupt Controller for External Devices (INTC-EX) in the Renesas R-Car S4 (R8A779F0) SoC.

---
 .../devicetree/bindings/interrupt-controller/renesas,irqc.yaml   | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml +1 -0
index 95033cb514fb..b1f3e7d7b88c 100644
@@ -37,6 +37,7 @@ properties:
           - renesas,intc-ex-r8a77990    # R-Car E3
           - renesas,intc-ex-r8a77995    # R-Car D3
           - renesas,intc-ex-r8a779a0    # R-Car V3U
+          - renesas,intc-ex-r8a779f0    # R-Car S4
           - renesas,intc-ex-r8a779g0    # R-Car V4H
       - const: renesas,irqc
 
Signature · 1 line
2.25.1
Reviewed-by on v4 1/4
#2 lore raw

Re: [PATCH v4 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support

Quoted 5 lines · Kuninori Morimoto

Document support for the Interrupt Controller for External Devices (INTC-EX) in the Renesas R-Car S4 (R8A779F0) SoC.

I posted a similar patch before: "[PATCH v2] dt-bindings: irqchip:
renesas,irqc: Add r8a779f0 support"
https://lore.kernel.org/r/9467a1c67d5d240211f88336973fa968d39cc860.1690446928.git.geert+renesas@glider.be

Marc: please take one or the other ;-)
Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

Acked-by on v4 1/4
#3 lore raw

Re: [PATCH v4 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support

In reply to Kuninori Morimoto
Quoted 6 lines · Kuninori Morimoto

Document support for the Interrupt Controller for External Devices (INTC-EX) in the Renesas R-Car S4 (R8A779F0) SoC.

---

Best regards,
Krzysztof

#4 lore raw

PATCH v4 2/4 dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible

In reply to Kuninori Morimoto

This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit board.

---
 Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/soc/renesas/renesas.yaml +7 -0
index 53b95f348f8e..b2bdc26e8329 100644
@@ -335,6 +335,13 @@ properties:
           - const: renesas,spider-cpu
           - const: renesas,r8a779f0
 
+      - description: R-Car S4-8 (R8A779F4)
+        items:
+          - enum:
+              - renesas,s4sk       # R-Car S4 Starter Kit board (Y-ASK-RCAR-S4-1000BASE-T#WS12)
+          - const: renesas,r8a779f4
+          - const: renesas,r8a779f0
+
       - description: R-Car V4H (R8A779G0)
         items:
           - enum:
Signature · 1 line
2.25.1
Reviewed-by on v4 2/4
#6 lore raw

Re: [PATCH v4 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible

In reply to Kuninori Morimoto
Quoted 6 lines · Kuninori Morimoto

This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit board.

i.e. will queue in renesas-devel for v6.7.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#7 lore raw

PATCH v4 3/4 arm64: dts: renesas: Add Renesas R8A779F4 SoC support

In reply to Kuninori Morimoto

R8A779F4 is update version of R8A779F0.
This patch adds its support, but is using r8a779f0 dtsi internally.

---
 arch/arm64/boot/dts/renesas/r8a779f4.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4.dtsi
arch/arm64/boot/dts/renesas/r8a779f4.dtsi new file +12 -0
new file mode 100644
index 000000000000..ebed41892df3
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Device Tree Source for the R-Car S4-8 (R8A779F4) SoC
+ *
+ * Copyright (C) 2023 Renesas Electronics Corp.
+ */
+
+#include "r8a779f0.dtsi"
+
+/ {
+	compatible = "renesas,r8a779f4", "renesas,r8a779f0";
+};
Signature · 1 line
2.25.1
Reviewed-by on v4 3/4
#8 lore raw

Re: [PATCH v4 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support

Quoted 5 lines · Kuninori Morimoto

R8A779F4 is update version of R8A779F0.
This patch adds its support, but is using r8a779f0 dtsi internally.

i.e. will queue in renesas-devel for v6.7.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
#9 lore raw

PATCH v4 4/4 arm64: dts: renesas: Add R-Car S4 Starter Kit support

In reply to Kuninori Morimoto

Add initial support for the R-Car S4 Starter Kit with R8A779F4 SoC support. Based on a patch in the BSP.

---
 arch/arm64/boot/dts/renesas/Makefile          |   1 +
 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts | 240 ++++++++++++++++++
 2 files changed, 241 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
arch/arm64/boot/dts/renesas/Makefile +1 -0
index 7114cbbd8713..751cb0c65dcd 100644
@@ -61,6 +61,7 @@ dtb-$(CONFIG_ARCH_R8A77995) += r8a77995-draak.dtb
 dtb-$(CONFIG_ARCH_R8A779A0) += r8a779a0-falcon.dtb
 
 dtb-$(CONFIG_ARCH_R8A779F0) += r8a779f0-spider.dtb
+dtb-$(CONFIG_ARCH_R8A779F0) += r8a779f4-s4sk.dtb
 
 dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk.dtb
 dtb-$(CONFIG_ARCH_R8A779G0) += r8a779g0-white-hawk-ard-audio-da7212.dtbo
arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts new file +240 -0

240 lines not on this page · raw message

Signature · 1 line
2.25.1
Reviewed-by on v4 4/4
#10 lore raw
Quoted 10 lines · Kuninori Morimoto

Add initial support for the R-Car S4 Starter Kit with R8A779F4 SoC support. Based on a patch in the BSP.

i.e. will queue in renesas-devel for v6.7.

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds