Skip to contentSkip to conversation

Connect R-Car Gen3 Ethernet-AVB to IPMMU

PATCH In review Magnus Damm 3 participants 11 messages Oct 22, 2018 – Nov 16, 2018

Subsystems (2)
lore
Share & tools
lore

Magnus Damm

author maintainer
#0 lore raw

cover Connect R-Car Gen3 Ethernet-AVB to IPMMU

Connect R-Car Gen3 Ethernet-AVB to IPMMU

[PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU [PATCH 02/03] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

For each SoC describe Ethernet-AVB to IPMMU hardware connection in the Device Tree. This series affects R-Car M3-N, V3H and E3. Other members of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes this information in their DT files.

---

Developed on top of renesas-devel-20181019-v4.19-rc8

 arch/arm64/boot/dts/renesas/r8a77965.dtsi |    1 +
 arch/arm64/boot/dts/renesas/r8a77980.dtsi |    1 +
 arch/arm64/boot/dts/renesas/r8a77990.dtsi |    1 +
 3 files changed, 3 insertions(+)
author maintainer
#1 lore raw

PATCH 1/3 arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU

From: Magnus Damm <[email protected]>

Hook up the R-Car M3-N AVB device to IPMMU-DS0 16 as described in the data sheet.

---

 arch/arm64/boot/dts/renesas/r8a77965.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +1 -0
@@ -900,6 +900,7 @@
 			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds0 16>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
Tested-by on v1 1/3
#2 lore raw

Re: [PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Hook up the R-Car M3-N AVB device to IPMMU-DS0 16 as described in the data sheet.

I will apply this for v4.21.

Quoted 16 lines

---

 arch/arm64/boot/dts/renesas/r8a77965.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a77965.dtsi +1 -0
@@ -900,6 +900,7 @@
 			power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds0 16>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
author maintainer
#3 lore raw

PATCH 2/3 arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Hook up the R-Car V3H AVB device to IPMMU-DS1 33 as described in the data sheet.

---

 arch/arm64/boot/dts/renesas/r8a77980.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a77980.dtsi +1 -0
@@ -667,6 +667,7 @@
 			power-domains = <&sysc R8A77980_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds1 33>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
author maintainer
#5 lore raw

PATCH 3/3 arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

In reply to Magnus Damm

From: Magnus Damm <[email protected]>

Hook up the R-Car E3 AVB device to IPMMU-DS0 16 as described in the data sheet.

---

 arch/arm64/boot/dts/renesas/r8a77990.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a77990.dtsi +1 -0
@@ -604,6 +604,7 @@
 			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds0 16>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
Tested-by on v1 3/3
#6 lore raw

Re: [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

Quoted 6 lines · Magnus Damm

From: Magnus Damm <[email protected]>

Hook up the R-Car E3 AVB device to IPMMU-DS0 16 as described in the data sheet.

I will apply this for v4.21.

Quoted 16 lines

---

 arch/arm64/boot/dts/renesas/r8a77990.dtsi |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/renesas/r8a77990.dtsi +1 -0
@@ -604,6 +604,7 @@
 			power-domains = <&sysc R8A77990_PD_ALWAYS_ON>;
 			resets = <&cpg 812>;
 			phy-mode = "rgmii";
+			iommus = <&ipmmu_ds0 16>;
 			#address-cells = <1>;
 			#size-cells = <0>;
 			status = "disabled";
#7 lore raw
In reply to Magnus Damm
Quoted 6 lines · Magnus Damm

Connect R-Car Gen3 Ethernet-AVB to IPMMU

[PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU [PATCH 02/03] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

Quoted 6 lines

For each SoC describe Ethernet-AVB to IPMMU hardware connection in the Device Tree. This series affects R-Car M3-N, V3H and E3. Other members of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes this information in their DT files.

Hi,

I have already queued-up these patches but I noticed that
they do the same thing to different SoCs and recently the ARM-SoC maintainers have asked us to consolidate such patches. With that in mind I am considering squashing the three patches that comprise this series into one. Are there any objections?

#8 lore raw
Quoted 14 lines · Simon Horman
Quoted 6 lines · Magnus Damm

Connect R-Car Gen3 Ethernet-AVB to IPMMU

[PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU [PATCH 02/03] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

Quoted 6 lines

For each SoC describe Ethernet-AVB to IPMMU hardware connection in the Device Tree. This series affects R-Car M3-N, V3H and E3. Other members of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes this information in their DT files.

Quoted 7 lines

Hi,

I have already queued-up these patches but I noticed that
they do the same thing to different SoCs and recently the ARM-SoC maintainers have asked us to consolidate such patches. With that in mind I am considering squashing the three patches that comprise this series into one. Are there any objections?

I have now gone ahead and done so. The result is as follows:

From: Magnus Damm <[email protected]>
Subject: [PATCH] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI

Update the R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) DTSI to include product name.

[simon: squashed similar patches]
---
 arch/arm/boot/dts/emev2.dtsi   | 2 +-
 arch/arm/boot/dts/r8a7740.dtsi | 2 +-
 arch/arm/boot/dts/sh73a0.dtsi  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/emev2.dtsi +1 -1
index 373ea8720769..67d86012a85c 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the EMEV2 SoC
+ * Device Tree Source for the Emma Mobile EV2 SoC
  *
  * Copyright (C) 2012 Renesas Solutions Corp.
  */
arch/arm/boot/dts/r8a7740.dtsi +1 -1
index 383cba68dbba..12ffe73bf2bc 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the r8a7740 SoC
+ * Device Tree Source for the R-Mobile A1 (R8A77400) SoC
  *
  * Copyright (C) 2012 Renesas Solutions Corp.
  */
arch/arm/boot/dts/sh73a0.dtsi +1 -1
index e8f0a07c4564..33836990b102 100644
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Device Tree Source for the SH73A0 SoC
+ * Device Tree Source for the SH-Mobile AG5 (R8A73A00/SH73A0) SoC
  *
  * Copyright (C) 2012 Renesas Solutions Corp.
  */
Signature · 1 line
2.11.0
#9 lore raw

Hi Simon,

Quoted 28 lines · Simon Horman
Quoted 14 lines · Simon Horman
Quoted 6 lines · Magnus Damm

Connect R-Car Gen3 Ethernet-AVB to IPMMU

[PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU [PATCH 02/03] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

Quoted 6 lines

For each SoC describe Ethernet-AVB to IPMMU hardware connection in the Device Tree. This series affects R-Car M3-N, V3H and E3. Other members of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes this information in their DT files.

Quoted 7 lines

Hi,

I have already queued-up these patches but I noticed that
they do the same thing to different SoCs and recently the ARM-SoC maintainers have asked us to consolidate such patches. With that in mind I am considering squashing the three patches that comprise this series into one. Are there any objections?

I have now gone ahead and done so. The result is as follows:

From: Magnus Damm <[email protected]>
Subject: [PATCH] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI

Quoted 6 lines

Update the R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) DTSI to include product name.

[simon: squashed similar patches]

Wrong email thread?

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
#10 lore raw
Quoted 31 lines · Geert Uytterhoeven

Hi Simon,

Quoted 28 lines · Simon Horman
Quoted 14 lines · Simon Horman
Quoted 6 lines · Magnus Damm

Connect R-Car Gen3 Ethernet-AVB to IPMMU

[PATCH 01/03] arm64: dts: renesas: r8a77965: Connect R-Car M3-N AVB to IPMMU [PATCH 02/03] arm64: dts: renesas: r8a77980: Connect R-Car V3H AVB to IPMMU [PATCH 03/03] arm64: dts: renesas: r8a77990: Connect R-Car E3 AVB to IPMMU

Quoted 6 lines

For each SoC describe Ethernet-AVB to IPMMU hardware connection in the Device Tree. This series affects R-Car M3-N, V3H and E3. Other members of the R-Car Gen3 family such as H3, M3-W, V3M and D3 already includes this information in their DT files.

Quoted 7 lines

Hi,

I have already queued-up these patches but I noticed that
they do the same thing to different SoCs and recently the ARM-SoC maintainers have asked us to consolidate such patches. With that in mind I am considering squashing the three patches that comprise this series into one. Are there any objections?

I have now gone ahead and done so. The result is as follows:

From: Magnus Damm <[email protected]>
Subject: [PATCH] ARM: dts: r8a7740, emev2, sh73a0: Include SoC name in DTSI

Quoted 8 lines
Quoted 6 lines

Update the R-Mobile A1 (r8a7740), Emma Mobile EV2 (emev2) and SH-Mobile AG5 (sh72a0) DTSI to include product name.

[simon: squashed similar patches]

Wrong email thread?

Yes, oops.