arm64: dts: renesas: Add R-Car S4 Starter Kit support
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
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
@@ -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
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.
Signed-off-by Kuninori Morimoto <[email protected]>Reviewed-by Yoshihiro Shimoda <[email protected]>
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
Re: [PATCH v4 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
In reply to Kuninori MorimotoQuoted 6 lines · Kuninori Morimoto
Document support for the Interrupt Controller for External Devices (INTC-EX) in the Renesas R-Car S4 (R8A779F0) SoC.
Signed-off-by Kuninori Morimoto <[email protected]>Reviewed-by Yoshihiro Shimoda <[email protected]>---
Best regards,
Krzysztof
PATCH v4 2/4 dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
In reply to Kuninori MorimotoThis 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
@@ -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
Re: [PATCH v4 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
Quoted 7 lines · Kuninori Morimoto
This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit board.
Signed-off-by Yusuke Goda <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>Reviewed-by Yoshihiro Shimoda <[email protected]>---
Best regards,
Krzysztof
Re: [PATCH v4 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
In reply to Kuninori MorimotoQuoted 6 lines · Kuninori Morimoto
This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit board.
Signed-off-by Yusuke Goda <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>Reviewed-by Yoshihiro Shimoda <[email protected]>
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
PATCH v4 3/4 arm64: dts: renesas: Add Renesas R8A779F4 SoC support
In reply to Kuninori MorimotoR8A779F4 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
@@ -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
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.Signed-off-by Kuninori Morimoto <[email protected]>Reviewed-by Yoshihiro Shimoda <[email protected]>
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
PATCH v4 4/4 arm64: dts: renesas: Add R-Car S4 Starter Kit support
In reply to Kuninori MorimotoAdd 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
@@ -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
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.
Signed-off-by Michael Dege <[email protected]>Signed-off-by Yusuke Goda <[email protected]>Signed-off-by Tam Nguyen <[email protected]>Signed-off-by Hai Pham <[email protected]>Co-developed-by Yoshihiro Shimoda <[email protected]>Signed-off-by Yoshihiro Shimoda <[email protected]>Signed-off-by Kuninori Morimoto <[email protected]>
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