Thread (1 message) 1 message, 1 author, 2016-02-02

RE: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes

From: Yoshihiro Shimoda <hidden>
Date: 2016-02-02 10:39:31
Also in: linux-renesas-soc

Hi Simon-san,
From: Simon Horman [mailto:horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org]
Sent: Tuesday, February 02, 2016 7:30 PM

On Tue, Feb 02, 2016 at 11:10:00AM +0100, Geert Uytterhoeven wrote:
quoted
On Mon, Feb 1, 2016 at 11:29 AM, Yoshihiro Shimoda
[off-list ref] wrote:
quoted
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -880,5 +880,31 @@
                        power-domains = <&cpg>;
                        status = "disabled";
                };
+
+               usb_dmac0: dma-controller@e65a0000 {
+                       compatible = "renesas,r8a7795-usb-dmac",
+                                    "renesas,usb-dmac";
+                       reg = <0 0xe65a0000 0 0x100>;
+                       interrupts = <0 109 IRQ_TYPE_LEVEL_HIGH
+                                     0 109 IRQ_TYPE_LEVEL_HIGH>;
Sorry, I missed you're not using the GIC_SPI defines.
Thanks, I fixed that and queued up the following
Thank you very much for the fix!

Best regards,
Yoshihiro Shimoda
quoted hunk
From: Yoshihiro Shimoda <redacted>
Date: Mon, 1 Feb 2016 19:29:00 +0900
Subject: [PATCH] arm64: dts: r8a7795: Add USB-DMAC device nodes

Signed-off-by: Yoshihiro Shimoda <redacted>
Acked-by: Geert Uytterhoeven <redacted>
Signed-off-by: Simon Horman <horms+renesas-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 119549e6502d..95967b72db35 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -880,5 +880,31 @@
 			power-domains = <&cpg>;
 			status = "disabled";
 		};
+
+		usb_dmac0: dma-controller@e65a0000 {
+			compatible = "renesas,r8a7795-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65a0000 0 0x100>;
+			interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 330>;
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
+
+		usb_dmac1: dma-controller@e65b0000 {
+			compatible = "renesas,r8a7795-usb-dmac",
+				     "renesas,usb-dmac";
+			reg = <0 0xe65b0000 0 0x100>;
+			interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH
+				      GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "ch0", "ch1";
+			clocks = <&cpg CPG_MOD 331>;
+			power-domains = <&cpg>;
+			#dma-cells = <1>;
+			dma-channels = <2>;
+		};
 	};
 };
--
2.7.0.rc3.207.g0ac5344
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help