iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] r8a7742 SoC add IPMMU support
@ 2020-08-25 14:18 Lad Prabhakar
  2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-25 14:18 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Rob Herring, Magnus Damm,
	Yoshihiro Shimoda, iommu, linux-renesas-soc, devicetree
  Cc: Prabhakar, linux-kernel, Lad Prabhakar

Hi All,

This patch series adds IPMMU support to R8A7742 (RZ/G1H)
SoC dtsi.

Cheers,
Prabhakar

Lad Prabhakar (2):
  dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a7742 support
  ARM: dts: r8a7742: Add IPMMU DT nodes

 .../bindings/iommu/renesas,ipmmu-vmsa.yaml    |  1 +
 arch/arm/boot/dts/r8a7742.dtsi                | 48 +++++++++++++++++++
 2 files changed, 49 insertions(+)

-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support
  2020-08-25 14:18 [PATCH 0/2] r8a7742 SoC add IPMMU support Lad Prabhakar
@ 2020-08-25 14:18 ` Lad Prabhakar
  2020-08-28  1:39   ` [PATCH 1/2] dt-bindings: iommu: renesas,ipmmu-vmsa: " Yoshihiro Shimoda
  2020-09-03  9:55   ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: " Geert Uytterhoeven
  2020-08-25 14:18 ` [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes Lad Prabhakar
  2020-09-04  9:26 ` [PATCH 0/2] r8a7742 SoC add IPMMU support Joerg Roedel
  2 siblings, 2 replies; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-25 14:18 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Rob Herring, Magnus Damm,
	Yoshihiro Shimoda, iommu, linux-renesas-soc, devicetree
  Cc: Prabhakar, linux-kernel, Lad Prabhakar

Document RZ/G1H (R8A7742) SoC bindings.

No driver change is needed due to the fallback compatible value
"renesas,ipmmu-vmsa".

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
 Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml
index 6bfa090fd73a..a79b172b75cb 100644
--- a/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml
+++ b/Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.yaml
@@ -20,6 +20,7 @@ properties:
       - items:
           - enum:
               - renesas,ipmmu-r8a73a4  # R-Mobile APE6
+              - renesas,ipmmu-r8a7742  # RZ/G1H
               - renesas,ipmmu-r8a7743  # RZ/G1M
               - renesas,ipmmu-r8a7744  # RZ/G1N
               - renesas,ipmmu-r8a7745  # RZ/G1E
-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes
  2020-08-25 14:18 [PATCH 0/2] r8a7742 SoC add IPMMU support Lad Prabhakar
  2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
@ 2020-08-25 14:18 ` Lad Prabhakar
  2020-09-03 10:00   ` Geert Uytterhoeven
  2020-09-04  9:26 ` [PATCH 0/2] r8a7742 SoC add IPMMU support Joerg Roedel
  2 siblings, 1 reply; 7+ messages in thread
From: Lad Prabhakar @ 2020-08-25 14:18 UTC (permalink / raw)
  To: Geert Uytterhoeven, Joerg Roedel, Rob Herring, Magnus Damm,
	Yoshihiro Shimoda, iommu, linux-renesas-soc, devicetree
  Cc: Prabhakar, linux-kernel, Lad Prabhakar

Add the five IPMMU instances found in the r8a7742 to DT with a disabled
status.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
---
 arch/arm/boot/dts/r8a7742.dtsi | 48 ++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742.dtsi b/arch/arm/boot/dts/r8a7742.dtsi
index 0fc52b27ae64..c62e26876f95 100644
--- a/arch/arm/boot/dts/r8a7742.dtsi
+++ b/arch/arm/boot/dts/r8a7742.dtsi
@@ -412,6 +412,54 @@
 			#thermal-sensor-cells = <0>;
 		};
 
+		ipmmu_sy0: iommu@e6280000 {
+			compatible = "renesas,ipmmu-r8a7742",
+				     "renesas,ipmmu-vmsa";
+			reg = <0 0xe6280000 0 0x1000>;
+			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
+		ipmmu_sy1: iommu@e6290000 {
+			compatible = "renesas,ipmmu-r8a7742",
+				     "renesas,ipmmu-vmsa";
+			reg = <0 0xe6290000 0 0x1000>;
+			interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
+		ipmmu_ds: iommu@e6740000 {
+			compatible = "renesas,ipmmu-r8a7742",
+				     "renesas,ipmmu-vmsa";
+			reg = <0 0xe6740000 0 0x1000>;
+			interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
+		ipmmu_mp: iommu@ec680000 {
+			compatible = "renesas,ipmmu-r8a7742",
+				     "renesas,ipmmu-vmsa";
+			reg = <0 0xec680000 0 0x1000>;
+			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
+		ipmmu_mx: iommu@fe951000 {
+			compatible = "renesas,ipmmu-r8a7742",
+				     "renesas,ipmmu-vmsa";
+			reg = <0 0xfe951000 0 0x1000>;
+			interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
 		icram0: sram@e63a0000 {
 			compatible = "mmio-sram";
 			reg = <0 0xe63a0000 0 0x12000>;
-- 
2.17.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* RE: [PATCH 1/2] dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a7742 support
  2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
@ 2020-08-28  1:39   ` Yoshihiro Shimoda
  2020-09-03  9:55   ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: " Geert Uytterhoeven
  1 sibling, 0 replies; 7+ messages in thread
From: Yoshihiro Shimoda @ 2020-08-28  1:39 UTC (permalink / raw)
  To: Prabhakar Mahadev Lad, Geert Uytterhoeven, Joerg Roedel,
	Rob Herring, Magnus Damm, iommu, linux-renesas-soc, devicetree
  Cc: Prabhakar, linux-kernel, Prabhakar Mahadev Lad

Hi Lad-san,

> From: Lad Prabhakar, Sent: Tuesday, August 25, 2020 11:18 PM
> 
> Document RZ/G1H (R8A7742) SoC bindings.
> 
> No driver change is needed due to the fallback compatible value
> "renesas,ipmmu-vmsa".
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>
> ---

Thank you for the patch!

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

Best regards,
Yoshihiro Shimoda

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* Re: [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support
  2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
  2020-08-28  1:39   ` [PATCH 1/2] dt-bindings: iommu: renesas,ipmmu-vmsa: " Yoshihiro Shimoda
@ 2020-09-03  9:55   ` Geert Uytterhoeven
  1 sibling, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-09-03  9:55 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Magnus Damm, Linux Kernel Mailing List, Linux-Renesas,
	Linux IOMMU, Rob Herring, Prabhakar

On Tue, Aug 25, 2020 at 4:19 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Document RZ/G1H (R8A7742) SoC bindings.
>
> No driver change is needed due to the fallback compatible value
> "renesas,ipmmu-vmsa".
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>

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
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* Re: [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes
  2020-08-25 14:18 ` [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes Lad Prabhakar
@ 2020-09-03 10:00   ` Geert Uytterhoeven
  0 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2020-09-03 10:00 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	Magnus Damm, Linux Kernel Mailing List, Linux-Renesas,
	Linux IOMMU, Rob Herring, Prabhakar

On Tue, Aug 25, 2020 at 4:19 PM Lad Prabhakar
<prabhakar.mahadev-lad.rj@bp.renesas.com> wrote:
> Add the five IPMMU instances found in the r8a7742 to DT with a disabled
> status.
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
> Reviewed-by: Chris Paterson <Chris.Paterson2@renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v5.10.

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
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

* Re: [PATCH 0/2] r8a7742 SoC add IPMMU support
  2020-08-25 14:18 [PATCH 0/2] r8a7742 SoC add IPMMU support Lad Prabhakar
  2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
  2020-08-25 14:18 ` [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes Lad Prabhakar
@ 2020-09-04  9:26 ` Joerg Roedel
  2 siblings, 0 replies; 7+ messages in thread
From: Joerg Roedel @ 2020-09-04  9:26 UTC (permalink / raw)
  To: Lad Prabhakar
  Cc: devicetree, Geert Uytterhoeven, Magnus Damm, linux-kernel,
	linux-renesas-soc, iommu, Rob Herring, Prabhakar

On Tue, Aug 25, 2020 at 03:18:03PM +0100, Lad Prabhakar wrote:
> Hi All,
> 
> This patch series adds IPMMU support to R8A7742 (RZ/G1H)
> SoC dtsi.
> 
> Cheers,
> Prabhakar
> 
> Lad Prabhakar (2):
>   dt-bindings: iommu: renesas,ipmmu-vmsa: Add r8a7742 support
>   ARM: dts: r8a7742: Add IPMMU DT nodes

Applied, thanks.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

end of thread, other threads:[~2020-09-04  9:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 14:18 [PATCH 0/2] r8a7742 SoC add IPMMU support Lad Prabhakar
2020-08-25 14:18 ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: Add r8a7742 support Lad Prabhakar
2020-08-28  1:39   ` [PATCH 1/2] dt-bindings: iommu: renesas,ipmmu-vmsa: " Yoshihiro Shimoda
2020-09-03  9:55   ` [PATCH 1/2] dt-bindings: iommu: renesas, ipmmu-vmsa: " Geert Uytterhoeven
2020-08-25 14:18 ` [PATCH 2/2] ARM: dts: r8a7742: Add IPMMU DT nodes Lad Prabhakar
2020-09-03 10:00   ` Geert Uytterhoeven
2020-09-04  9:26 ` [PATCH 0/2] r8a7742 SoC add IPMMU support Joerg Roedel

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