All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
@ 2018-03-06  9:34 ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-03-06  9:34 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: linux-arm-kernel, Magnus Damm, Yoshihiro Shimoda, Simon Horman

Add r8a7795 IPMMU-PV1 and keep it disabled by default.

This device is not present in r8a7795 ES1.x and
is removed from the DT of those SoCs.

This corrects an omission in
3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")

This does not have any runtime effect.

Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 1 +
 arch/arm64/boot/dts/renesas/r8a7795.dtsi     | 9 +++++++++
 2 files changed, 10 insertions(+)

Based on renesas-devel-20180305-v4.16-rc4

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
index f1d5e90503d5..f9acd125d687 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
@@ -23,6 +23,7 @@
 
 	/delete-node/ mmu@febe0000;
 	/delete-node/ mmu@fe980000;
+	/delete-node/ mmu@fd950000;
 	/delete-node/ mmu@fd960000;
 	/delete-node/ mmu@fd970000;
 
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 09953cda3a55..0648fe451d09 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -545,6 +545,15 @@
 			status = "disabled";
 		};
 
+		ipmmu_pv1: mmu@fd950000 {
+			compatible = "renesas,ipmmu-r8a7795";
+			reg = <0 0xfd950000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 7>;
+			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
 		ipmmu_pv2: mmu@fd960000 {
 			compatible = "renesas,ipmmu-r8a7795";
 			reg = <0 0xfd960000 0 0x1000>;
-- 
2.11.0

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

* [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
@ 2018-03-06  9:34 ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-03-06  9:34 UTC (permalink / raw)
  To: linux-arm-kernel

Add r8a7795 IPMMU-PV1 and keep it disabled by default.

This device is not present in r8a7795 ES1.x and
is removed from the DT of those SoCs.

This corrects an omission in
3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")

This does not have any runtime effect.

Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi | 1 +
 arch/arm64/boot/dts/renesas/r8a7795.dtsi     | 9 +++++++++
 2 files changed, 10 insertions(+)

Based on renesas-devel-20180305-v4.16-rc4

diff --git a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
index f1d5e90503d5..f9acd125d687 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795-es1.dtsi
@@ -23,6 +23,7 @@
 
 	/delete-node/ mmu at febe0000;
 	/delete-node/ mmu at fe980000;
+	/delete-node/ mmu at fd950000;
 	/delete-node/ mmu at fd960000;
 	/delete-node/ mmu at fd970000;
 
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 09953cda3a55..0648fe451d09 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -545,6 +545,15 @@
 			status = "disabled";
 		};
 
+		ipmmu_pv1: mmu at fd950000 {
+			compatible = "renesas,ipmmu-r8a7795";
+			reg = <0 0xfd950000 0 0x1000>;
+			renesas,ipmmu-main = <&ipmmu_mm 7>;
+			power-domains = <&sysc R8A7795_PD_ALWAYS_ON>;
+			#iommu-cells = <1>;
+			status = "disabled";
+		};
+
 		ipmmu_pv2: mmu at fd960000 {
 			compatible = "renesas,ipmmu-r8a7795";
 			reg = <0 0xfd960000 0 0x1000>;
-- 
2.11.0

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

* RE: [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
  2018-03-06  9:34 ` Simon Horman
@ 2018-03-07 11:55   ` Yoshihiro Shimoda
  -1 siblings, 0 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2018-03-07 11:55 UTC (permalink / raw)
  To: Simon Horman, linux-renesas-soc; +Cc: linux-arm-kernel, Magnus Damm

Hi Simon-san,

> From: Simon Horman, Sent: Tuesday, March 6, 2018 6:35 PM
> 
> Add r8a7795 IPMMU-PV1 and keep it disabled by default.
> 
> This device is not present in r8a7795 ES1.x and
> is removed from the DT of those SoCs.
> 
> This corrects an omission in
> 3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")
> 
> This does not have any runtime effect.
> 
> Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Thank you for the patch!

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

Best regards,
Yoshihiro Shimoda

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

* [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
@ 2018-03-07 11:55   ` Yoshihiro Shimoda
  0 siblings, 0 replies; 6+ messages in thread
From: Yoshihiro Shimoda @ 2018-03-07 11:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Simon-san,

> From: Simon Horman, Sent: Tuesday, March 6, 2018 6:35 PM
> 
> Add r8a7795 IPMMU-PV1 and keep it disabled by default.
> 
> This device is not present in r8a7795 ES1.x and
> is removed from the DT of those SoCs.
> 
> This corrects an omission in
> 3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")
> 
> This does not have any runtime effect.
> 
> Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

Thank you for the patch!

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

Best regards,
Yoshihiro Shimoda

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

* Re: [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
  2018-03-07 11:55   ` Yoshihiro Shimoda
@ 2018-03-08  8:43     ` Simon Horman
  -1 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-03-08  8:43 UTC (permalink / raw)
  To: Yoshihiro Shimoda; +Cc: linux-renesas-soc, linux-arm-kernel, Magnus Damm

On Wed, Mar 07, 2018 at 11:55:16AM +0000, Yoshihiro Shimoda wrote:
> Hi Simon-san,
> 
> > From: Simon Horman, Sent: Tuesday, March 6, 2018 6:35 PM
> > 
> > Add r8a7795 IPMMU-PV1 and keep it disabled by default.
> > 
> > This device is not present in r8a7795 ES1.x and
> > is removed from the DT of those SoCs.
> > 
> > This corrects an omission in
> > 3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")
> > 
> > This does not have any runtime effect.
> > 
> > Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Thank you for the patch!
> 
> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Thanks, applied.

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

* [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node
@ 2018-03-08  8:43     ` Simon Horman
  0 siblings, 0 replies; 6+ messages in thread
From: Simon Horman @ 2018-03-08  8:43 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Mar 07, 2018 at 11:55:16AM +0000, Yoshihiro Shimoda wrote:
> Hi Simon-san,
> 
> > From: Simon Horman, Sent: Tuesday, March 6, 2018 6:35 PM
> > 
> > Add r8a7795 IPMMU-PV1 and keep it disabled by default.
> > 
> > This device is not present in r8a7795 ES1.x and
> > is removed from the DT of those SoCs.
> > 
> > This corrects an omission in
> > 3b7e7848f0e8 ("arm64: dts: renesas: r8a7795: Add IPMMU device nodes")
> > 
> > This does not have any runtime effect.
> > 
> > Reported-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
> > Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> 
> Thank you for the patch!
> 
> Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>

Thanks, applied.

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

end of thread, other threads:[~2018-03-08  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-06  9:34 [PATCH] arm64: dts: renesas: r8a7795: Add IPMMU-PV1 device node Simon Horman
2018-03-06  9:34 ` Simon Horman
2018-03-07 11:55 ` Yoshihiro Shimoda
2018-03-07 11:55   ` Yoshihiro Shimoda
2018-03-08  8:43   ` Simon Horman
2018-03-08  8:43     ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.