From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f48.google.com ([209.85.215.48]:55842 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdIOToe (ORCPT ); Fri, 15 Sep 2017 15:44:34 -0400 Received: by mail-lf0-f48.google.com with SMTP id u21so3377807lfk.12 for ; Fri, 15 Sep 2017 12:44:34 -0700 (PDT) From: Sergei Shtylyov Message-Id: <20170915194429.260616486@cogentembedded.com> Date: Fri, 15 Sep 2017 22:43:21 +0300 To: Rob Herring , Simon Horman , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org, Vladimir Barinov , Sergei Shtylyov , Geert Uytterhoeven Subject: [PATCH v2 3/8] arm64: dts: renesas: r8a77970: add SYS-DMAC support MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline; filename=arm64-dts-renesas-r8a77970-add-SYS-DMAC-support-v2.patch Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Describe SYS-DMAC1/2 in the R8A77970 device tree. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - replaced the use of the SYSC power domain #define's with the bare numbers; - refreshed the patch; - added Geert's tag. arch/arm64/boot/dts/renesas/r8a77970.dtsi | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -121,5 +121,53 @@ compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; }; + + dmac1: dma-controller@e7300000 { + compatible = "renesas,dmac-r8a77970", + "renesas,rcar-dmac"; + reg = <0 0xe7300000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 218>; + clock-names = "fck"; + power-domains = <&sysc 32>; + resets = <&cpg 218>; + #dma-cells = <1>; + dma-channels = <8>; + }; + + dmac2: dma-controller@e7310000 { + compatible = "renesas,dmac-r8a77970", + "renesas,rcar-dmac"; + reg = <0 0xe7310000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 217>; + clock-names = "fck"; + power-domains = <&sysc 32>; + resets = <&cpg 217>; + #dma-cells = <1>; + dma-channels = <8>; + }; }; }; From mboxrd@z Thu Jan 1 00:00:00 1970 From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov) Date: Fri, 15 Sep 2017 22:43:21 +0300 Subject: [PATCH v2 3/8] arm64: dts: renesas: r8a77970: add SYS-DMAC support Message-ID: <20170915194429.260616486@cogentembedded.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Describe SYS-DMAC1/2 in the R8A77970 device tree. Based on the original (and large) patch by Daisuke Matsushita . Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - replaced the use of the SYSC power domain #define's with the bare numbers; - refreshed the patch; - added Geert's tag. arch/arm64/boot/dts/renesas/r8a77970.dtsi | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ renesas/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -121,5 +121,53 @@ compatible = "renesas,prr"; reg = <0 0xfff00044 0 4>; }; + + dmac1: dma-controller at e7300000 { + compatible = "renesas,dmac-r8a77970", + "renesas,rcar-dmac"; + reg = <0 0xe7300000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 218>; + clock-names = "fck"; + power-domains = <&sysc 32>; + resets = <&cpg 218>; + #dma-cells = <1>; + dma-channels = <8>; + }; + + dmac2: dma-controller at e7310000 { + compatible = "renesas,dmac-r8a77970", + "renesas,rcar-dmac"; + reg = <0 0xe7310000 0 0x10000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7"; + clocks = <&cpg CPG_MOD 217>; + clock-names = "fck"; + power-domains = <&sysc 32>; + resets = <&cpg 217>; + #dma-cells = <1>; + dma-channels = <8>; + }; }; };