From patchwork Fri Nov 4 21:54:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9413417 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1C81460573 for ; Fri, 4 Nov 2016 21:56:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BF942B21C for ; Fri, 4 Nov 2016 21:56:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00F2D2B220; Fri, 4 Nov 2016 21:56:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 960922B21C for ; Fri, 4 Nov 2016 21:56:42 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2mSG-0006te-8W; Fri, 04 Nov 2016 21:55:20 +0000 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2mSC-00068b-C5 for linux-arm-kernel@lists.infradead.org; Fri, 04 Nov 2016 21:55:17 +0000 Received: by mail-lf0-x235.google.com with SMTP id b14so74079844lfg.2 for ; Fri, 04 Nov 2016 14:54:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=xG1IyBpEnpp4YzBSqIHEPbd2BNswqqKX5LN+cHbhJrE=; b=qk6n04qU8ryW2zHrgMm7Xx5UiIVX+2wDIZt49Hs1X4Cx5JlQD3jhjhSUBbJMGBTvru zqDGUye97gcwhD2uRpcceg2RjFNcNGMnElRXsQU8Bnu6QN1GDaSUPYqjz6IfiKq6hbwQ C8h2+NVT/5vd5jVaOTsaq50WirAT9rHm+RWd61iVoIcgopHOeZn/1TdEsThvkvXLMdDu nxnYIXDlCvjJD4tfjt1oWB/SBuGl/Gd4yAxCyHlNIOr5SEU7JrwWnPmNnpRJefH/CNJx jryfCQY881S1EZoBaXNQ67gvpjhn7jdkwsqmDrLknn8gX8Ja9gRZrwEh5JOmjDXmgn/A WvwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=xG1IyBpEnpp4YzBSqIHEPbd2BNswqqKX5LN+cHbhJrE=; b=RhmUw9KDiH879RiGjITupGuXwYksG03ElYD4qZpNZFfaGYvHyZMslMMSXKpJ72l4Xm 87ajL+79TG+9p+JigkOUQej/PzOPXj96EoX5Tc/79MHQaU3BVhL8mZcG9KY6Cl0+ORLl T9+If4/M6AZIXL2rUqfuV1x8F2UvqA47MBaWZab2L84T/zD6aUWyXjILYO5agbucOt6C 7oxbMKOUfPzkAF3DqRG7VzEjuhCdrg0S6EbFgw8qIo3uYwum11NF5U6N1Z1z9nMWKNRu Yv3Xp/nILZVuQyxBqZOnjmEgpAA6oUz9ywNWG74SyJ3dqkUdpM+QvcmEX8rs6SIMzFfV r6Jw== X-Gm-Message-State: ABUngvfpq+L32jex13IjL2+p3n0cmvZXta/dg8D8v+MAIyaq343fgqYqRUYyrNXJZVMf1A== X-Received: by 10.25.170.198 with SMTP id t189mr9158904lfe.129.1478296493369; Fri, 04 Nov 2016 14:54:53 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.142]) by smtp.gmail.com with ESMTPSA id u194sm2667891lja.5.2016.11.04.14.54.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 14:54:52 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH v2 05/11] ARM: dts: r8a7745: add SYS-DMAC support Date: Sat, 05 Nov 2016 00:54:51 +0300 Message-ID: <1587924.yDT07Am27A@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.9-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <2368353.xfo5beGC5E@wasted.cogentembedded.com> References: <2368353.xfo5beGC5E@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161104_145516_693254_AAA6F20E X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe SYS-DMAC0/1 in the R8A7745 device tree. Based on the original (and large) patch by Dmitry Shifrin . Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 2: - added Geert's tag; - refreshed the patch. arch/arm/boot/dts/r8a7745.dtsi | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7745.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7745.dtsi +++ renesas/arch/arm/boot/dts/r8a7745.dtsi @@ -93,6 +93,70 @@ compatible = "renesas,r8a7745-rst"; reg = <0 0xe6160000 0 0x0200>; }; + + dmac0: dma-controller@e6700000 { + compatible = "renesas,dmac-r8a7745", + "renesas,rcar-dmac"; + reg = <0 0xe6700000 0 0x20000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14"; + clocks = <&cpg CPG_MOD 219>; + clock-names = "fck"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + #dma-cells = <1>; + dma-channels = <15>; + }; + + dmac1: dma-controller@e6720000 { + compatible = "renesas,dmac-r8a7745", + "renesas,rcar-dmac"; + reg = <0 0xe6720000 0 0x20000>; + interrupts = ; + interrupt-names = "error", + "ch0", "ch1", "ch2", "ch3", + "ch4", "ch5", "ch6", "ch7", + "ch8", "ch9", "ch10", "ch11", + "ch12", "ch13", "ch14"; + clocks = <&cpg CPG_MOD 218>; + clock-names = "fck"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + #dma-cells = <1>; + dma-channels = <15>; + }; }; /* External root clock */