linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support
@ 2023-10-02  5:54 Kuninori Morimoto
  2023-10-02  5:55 ` [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support Kuninori Morimoto
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-02  5:54 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham


Hi Geert

This patch-set is v3 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/20230925003416.3863560-1-yoshihiro.shimoda.uh@renesas.com

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.

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.

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

-- 
2.25.1


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

* [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
  2023-10-02  5:54 [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
@ 2023-10-02  5:55 ` Kuninori Morimoto
  2023-10-02  6:45   ` Yoshihiro Shimoda
  2023-10-02  5:55 ` [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible Kuninori Morimoto
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-02  5:55 UTC (permalink / raw)
  To: Geert Uytterhoeven, Marc Zyngier
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

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

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 .../devicetree/bindings/interrupt-controller/renesas,irqc.yaml   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
index 95033cb514fb..b1f3e7d7b88c 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
@@ -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
 
-- 
2.25.1


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

* [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
  2023-10-02  5:54 [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
  2023-10-02  5:55 ` [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support Kuninori Morimoto
@ 2023-10-02  5:55 ` Kuninori Morimoto
  2023-10-02  6:45   ` Yoshihiro Shimoda
  2023-10-02 14:09   ` Krzysztof Kozlowski
  2023-10-02  5:56 ` [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support Kuninori Morimoto
  2023-10-02  5:56 ` [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
  3 siblings, 2 replies; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-02  5:55 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

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

Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
index 53b95f348f8e..b2bdc26e8329 100644
--- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
+++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
@@ -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:
-- 
2.25.1


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

* [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support
  2023-10-02  5:54 [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
  2023-10-02  5:55 ` [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support Kuninori Morimoto
  2023-10-02  5:55 ` [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible Kuninori Morimoto
@ 2023-10-02  5:56 ` Kuninori Morimoto
  2023-10-02  6:45   ` Yoshihiro Shimoda
  2023-10-02  5:56 ` [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
  3 siblings, 1 reply; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-02  5:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

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

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm64/boot/dts/renesas/r8a779f4.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4.dtsi

diff --git a/arch/arm64/boot/dts/renesas/r8a779f4.dtsi b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
new file mode 100644
index 000000000000..ebed41892df3
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
@@ -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";
+};
-- 
2.25.1


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

* [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support
  2023-10-02  5:54 [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
                   ` (2 preceding siblings ...)
  2023-10-02  5:56 ` [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support Kuninori Morimoto
@ 2023-10-02  5:56 ` Kuninori Morimoto
  2023-10-02 14:11   ` Krzysztof Kozlowski
  3 siblings, 1 reply; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-02  5:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

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 <michael.dege@renesas.com>
Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Co-developed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 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

diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
index 7114cbbd8713..751cb0c65dcd 100644
--- a/arch/arm64/boot/dts/renesas/Makefile
+++ b/arch/arm64/boot/dts/renesas/Makefile
@@ -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
diff --git a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
new file mode 100644
index 000000000000..abfda5c6ca16
--- /dev/null
+++ b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
@@ -0,0 +1,240 @@
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+/*
+ * Device Tree Source for the R-Car S4 Starter Kit board
+ *
+ * Copyright (C) 2023 Renesas Electronics Corp.
+ */
+
+/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
+#include "r8a779f4.dtsi"
+
+/ {
+	model = "R-Car S4 Starter Kit board";
+	compatible = "renesas,s4sk", "renesas,r8a779f4", "renesas,r8a779f0";
+
+	aliases {
+		serial0	= &hscif0;
+		serial1	= &hscif1;
+		eth0	= &rswitch;
+	};
+
+	chosen {
+		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
+		stdout-path = "serial0:921600n8";
+	};
+
+	memory@48000000 {
+		device_type = "memory";
+		/* first 128MB is reserved for secure area. */
+		/* The last 512MB is reserved for CR. */
+		reg = <0x0 0x48000000 0x0 0x58000000>;
+	};
+
+	memory@480000000 {
+		device_type = "memory";
+		reg = <0x4 0x80000000 0x0 0x80000000>;
+	};
+
+	vcc_sdhi: regulator-vcc-sdhi {
+		compatible = "regulator-fixed";
+		regulator-name = "SDHI Vcc";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+		gpio = <&gpio1 24 GPIO_ACTIVE_HIGH>;
+		enable-active-high;
+	};
+};
+
+&eth_serdes {
+	status = "okay";
+};
+
+&extal_clk {
+	clock-frequency = <20000000>;
+};
+
+&extalr_clk {
+	clock-frequency = <32768>;
+};
+
+&hscif0 {
+	pinctrl-0 = <&hscif0_pins>;
+	pinctrl-names = "default";
+
+	uart-has-rtscts;
+	status = "okay";
+};
+
+&hscif1 {
+	pinctrl-0 = <&hscif1_pins>;
+	pinctrl-names = "default";
+
+	uart-has-rtscts;
+	status = "okay";
+};
+
+&i2c2 {
+	pinctrl-0 = <&i2c2_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+};
+
+&i2c4 {
+	pinctrl-0 = <&i2c4_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+};
+
+&i2c5 {
+	pinctrl-0 = <&i2c5_pins>;
+	pinctrl-names = "default";
+
+	status = "okay";
+	clock-frequency = <400000>;
+
+	eeprom@50 {
+		compatible = "st,24c16", "atmel,24c16";
+		reg = <0x50>;
+		pagesize = <16>;
+	};
+};
+
+&mmc0 {
+	pinctrl-0 = <&sd_pins>;
+	pinctrl-names = "default";
+
+	vmmc-supply = <&vcc_sdhi>;
+	cd-gpios = <&gpio1 23 GPIO_ACTIVE_LOW>;
+	bus-width = <4>;
+	status = "okay";
+};
+
+&pfc {
+	pinctrl-0 = <&scif_clk_pins>;
+	pinctrl-names = "default";
+
+	hscif0_pins: hscif0 {
+		groups = "hscif0_data", "hscif0_ctrl";
+		function = "hscif0";
+	};
+
+	hscif1_pins: hscif1 {
+		groups = "hscif1_data", "hscif1_ctrl";
+		function = "hscif1";
+	};
+
+	i2c2_pins: i2c2 {
+		groups = "i2c2";
+		function = "i2c2";
+	};
+
+	i2c4_pins: i2c4 {
+		groups = "i2c4";
+		function = "i2c4";
+	};
+
+	i2c5_pins: i2c5 {
+		groups = "i2c5";
+		function = "i2c5";
+	};
+
+	scif_clk_pins: scif_clk {
+		groups = "scif_clk";
+		function = "scif_clk";
+	};
+
+	sd_pins: sd {
+		groups = "mmc_data4", "mmc_ctrl";
+		function = "mmc";
+		power-source = <3300>;
+	};
+
+	tsn0_pins: tsn0 {
+		groups = "tsn0_mdio_b", "tsn0_link_b";
+		function = "tsn0";
+		drive-strength = <18>;
+		power-source = <3300>;
+	};
+
+	tsn1_pins: tsn1 {
+		groups = "tsn1_mdio_b", "tsn1_link_b";
+		function = "tsn1";
+		drive-strength = <18>;
+		power-source = <3300>;
+	};
+};
+
+&rswitch {
+	pinctrl-0 = <&tsn0_pins>, <&tsn1_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	ethernet-ports {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		port@0 {
+			reg = <0>;
+			phy-handle = <&ic99>;
+			phy-mode = "sgmii";
+			phys = <&eth_serdes 0>;
+
+			mdio {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				ic99: ethernet-phy@1 {
+					reg = <1>;
+					compatible = "ethernet-phy-ieee802.3-c45";
+					interrupt-parent = <&gpio3>;
+					interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
+				};
+			};
+		};
+
+		port@1 {
+			reg = <1>;
+			phy-handle = <&ic102>;
+			phy-mode = "sgmii";
+			phys = <&eth_serdes 1>;
+
+			mdio {
+				#address-cells = <1>;
+				#size-cells = <0>;
+
+				ic102: ethernet-phy@2 {
+					reg = <2>;
+					compatible = "ethernet-phy-ieee802.3-c45";
+					interrupt-parent = <&gpio3>;
+					interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
+				};
+			};
+		};
+
+		port@2 {
+			status = "disabled";
+		};
+	};
+};
+
+&rwdt {
+	timeout-sec = <60>;
+	status = "okay";
+};
+
+&scif_clk {
+	clock-frequency = <24000000>;
+};
+
+&ufs {
+	status = "okay";
+};
+
+&ufs30_clk {
+	clock-frequency = <38400000>;
+};
-- 
2.25.1


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

* RE: [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
  2023-10-02  5:55 ` [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support Kuninori Morimoto
@ 2023-10-02  6:45   ` Yoshihiro Shimoda
  2023-10-03  2:12     ` Kuninori Morimoto
  0 siblings, 1 reply; 13+ messages in thread
From: Yoshihiro Shimoda @ 2023-10-02  6:45 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven, Marc Zyngier
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

Hello Morimoto-san,

> From: Kuninori Morimoto, Sent: Monday, October 2, 2023 2:56 PM

Thank you for the patch! This patch looks good to me. So,

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

However, I have some nits like below...

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

nit:
s/INT-EX/INTC-EX/

> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  .../devicetree/bindings/interrupt-controller/renesas,irqc.yaml   | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
> b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
> index 95033cb514fb..b1f3e7d7b88c 100644
> --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
> +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,irqc.yaml
> @@ -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

nit:
s/R-Car S4/R-Car S4-8/

Best regards,
Yoshihiro Shimoda

>            - renesas,intc-ex-r8a779g0    # R-Car V4H
>        - const: renesas,irqc
> 
> --
> 2.25.1


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

* RE: [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
  2023-10-02  5:55 ` [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible Kuninori Morimoto
@ 2023-10-02  6:45   ` Yoshihiro Shimoda
  2023-10-02 14:09   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 13+ messages in thread
From: Yoshihiro Shimoda @ 2023-10-02  6:45 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

Hello Morimoto-san,

> From: Kuninori Morimoto, Sent: Monday, October 2, 2023 2:56 PM
> 
> This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit
> board.
> 
> Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Thank you for the patch!

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> ---
>  Documentation/devicetree/bindings/soc/renesas/renesas.yaml | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> index 53b95f348f8e..b2bdc26e8329 100644
> --- a/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> +++ b/Documentation/devicetree/bindings/soc/renesas/renesas.yaml
> @@ -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:
> --
> 2.25.1


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

* RE: [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support
  2023-10-02  5:56 ` [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support Kuninori Morimoto
@ 2023-10-02  6:45   ` Yoshihiro Shimoda
  0 siblings, 0 replies; 13+ messages in thread
From: Yoshihiro Shimoda @ 2023-10-02  6:45 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

Hello Morimoto-san,

> From: Kuninori Morimoto, Sent: Monday, October 2, 2023 2:56 PM
> 
> R8A779F4 is update version of R8A779F0.
> This patch adds its support, but is using r8a7799f0 dtsi internally.

nit:
s/r8a7799f0/r8a779f0/

Anyway, this patch looks good to me. So,

Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Best regards,
Yoshihiro Shimoda

> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm64/boot/dts/renesas/r8a779f4.dtsi | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 arch/arm64/boot/dts/renesas/r8a779f4.dtsi
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a779f4.dtsi b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
> new file mode 100644
> index 000000000000..ebed41892df3
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a779f4.dtsi
> @@ -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";
> +};
> --
> 2.25.1


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

* Re: [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible
  2023-10-02  5:55 ` [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible Kuninori Morimoto
  2023-10-02  6:45   ` Yoshihiro Shimoda
@ 2023-10-02 14:09   ` Krzysztof Kozlowski
  1 sibling, 0 replies; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-02 14:09 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

On 02/10/2023 07:55, Kuninori Morimoto wrote:
> This patch adds "renesas,s4sk" which target the R-Car S4 Starter Kit
> board.
> 
> Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---

Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.

You missed at least devicetree list (maybe more), so this won't be
tested by automated tooling. Performing review on untested code might be
a waste of time, thus I will skip this patch entirely till you follow
the process allowing the patch to be tested.

Please kindly resend and include all necessary To/Cc entries.

Best regards,
Krzysztof


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

* Re: [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support
  2023-10-02  5:56 ` [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
@ 2023-10-02 14:11   ` Krzysztof Kozlowski
  2023-10-03  1:35     ` Kuninori Morimoto
  0 siblings, 1 reply; 13+ messages in thread
From: Krzysztof Kozlowski @ 2023-10-02 14:11 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham

On 02/10/2023 07:56, Kuninori Morimoto wrote:
> 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 <michael.dege@renesas.com>
> Signed-off-by: Yusuke Goda <yusuke.goda.sx@renesas.com>
> Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com>
> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
> Co-developed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  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
> 
> diff --git a/arch/arm64/boot/dts/renesas/Makefile b/arch/arm64/boot/dts/renesas/Makefile
> index 7114cbbd8713..751cb0c65dcd 100644
> --- a/arch/arm64/boot/dts/renesas/Makefile
> +++ b/arch/arm64/boot/dts/renesas/Makefile
> @@ -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
> diff --git a/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
> new file mode 100644
> index 000000000000..abfda5c6ca16
> --- /dev/null
> +++ b/arch/arm64/boot/dts/renesas/r8a779f4-s4sk.dts
> @@ -0,0 +1,240 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +/*
> + * Device Tree Source for the R-Car S4 Starter Kit board
> + *
> + * Copyright (C) 2023 Renesas Electronics Corp.
> + */
> +
> +/dts-v1/;
> +#include <dt-bindings/gpio/gpio.h>
> +#include "r8a779f4.dtsi"
> +
> +/ {
> +	model = "R-Car S4 Starter Kit board";
> +	compatible = "renesas,s4sk", "renesas,r8a779f4", "renesas,r8a779f0";
> +
> +	aliases {
> +		serial0	= &hscif0;
> +		serial1	= &hscif1;
> +		eth0	= &rswitch;
> +	};
> +
> +	chosen {
> +		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";

This does not look really hardware-independent and suitable for entire
community, but rather like your personal setup. Please drop entire
bootargs or share why this is needed for every user in the world of
mainline kernel.

> +		stdout-path = "serial0:921600n8";
> +	};
> +


Best regards,
Krzysztof


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

* Re: [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support
  2023-10-02 14:11   ` Krzysztof Kozlowski
@ 2023-10-03  1:35     ` Kuninori Morimoto
  0 siblings, 0 replies; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-03  1:35 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Geert Uytterhoeven, Linux-Renesas, Michael Dege, Yusuke Goda,
	Tam Nguyen, Hai Pham


Hi Krzysztof

> > +	chosen {
> > +		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
> 
> This does not look really hardware-independent and suitable for entire
> community, but rather like your personal setup. Please drop entire
> bootargs or share why this is needed for every user in the world of
> mainline kernel.

Renesas DTs are traditionally assuming boot from NFS.

Thank you for your help !!

Best regards
---
Kuninori Morimoto

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

* Re: [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
  2023-10-02  6:45   ` Yoshihiro Shimoda
@ 2023-10-03  2:12     ` Kuninori Morimoto
  2023-10-03  7:03       ` Geert Uytterhoeven
  0 siblings, 1 reply; 13+ messages in thread
From: Kuninori Morimoto @ 2023-10-03  2:12 UTC (permalink / raw)
  To: Yoshihiro Shimoda, Geert Uytterhoeven, Marc Zyngier
  Cc: Linux-Renesas, Michael Dege, Yusuke Goda, Tam Nguyen, Hai Pham


Hi Shimoda-san

> > Document support for the Interrupt Controller for External Devices
> > (INT-EX) in the Renesas R-Car S4 (R8A779F0) SoC.
> 
> nit:
> s/INT-EX/INTC-EX/

Thank you for the review.
I have copy-and-pasted the log message.
It seems original log hadwas nit :)

Thank you for your help !!

Best regards
---
Kuninori Morimoto

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

* Re: [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support
  2023-10-03  2:12     ` Kuninori Morimoto
@ 2023-10-03  7:03       ` Geert Uytterhoeven
  0 siblings, 0 replies; 13+ messages in thread
From: Geert Uytterhoeven @ 2023-10-03  7:03 UTC (permalink / raw)
  To: Kuninori Morimoto
  Cc: Yoshihiro Shimoda, Marc Zyngier, Linux-Renesas, Michael Dege,
	Yusuke Goda, Tam Nguyen, Hai Pham

Hi Morimoto-san,

On Tue, Oct 3, 2023 at 4:12 AM Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com> wrote:
> > > Document support for the Interrupt Controller for External Devices
> > > (INT-EX) in the Renesas R-Car S4 (R8A779F0) SoC.
> >
> > nit:
> > s/INT-EX/INTC-EX/
>
> Thank you for the review.
> I have copy-and-pasted the log message.
> It seems original log hadwas nit :)

/me is hiding behind a rock labeled with two different misspellings
of INTC-EX...

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

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

end of thread, other threads:[~2023-10-03  7:03 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-02  5:54 [PATCH v3 0/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
2023-10-02  5:55 ` [PATCH v3 1/4] dt-bindings: irqchip: renesas,irqc: Add r8a779f0 support Kuninori Morimoto
2023-10-02  6:45   ` Yoshihiro Shimoda
2023-10-03  2:12     ` Kuninori Morimoto
2023-10-03  7:03       ` Geert Uytterhoeven
2023-10-02  5:55 ` [PATCH v3 2/4] dt-bindings: soc: renesas: renesas.yaml: Add renesas,s4sk compatible Kuninori Morimoto
2023-10-02  6:45   ` Yoshihiro Shimoda
2023-10-02 14:09   ` Krzysztof Kozlowski
2023-10-02  5:56 ` [PATCH v3 3/4] arm64: dts: renesas: Add Renesas R8A779F4 SoC support Kuninori Morimoto
2023-10-02  6:45   ` Yoshihiro Shimoda
2023-10-02  5:56 ` [PATCH v3 4/4] arm64: dts: renesas: Add R-Car S4 Starter Kit support Kuninori Morimoto
2023-10-02 14:11   ` Krzysztof Kozlowski
2023-10-03  1:35     ` Kuninori Morimoto

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).