From patchwork Wed Oct 5 21:39:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9363449 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 78835600C8 for ; Wed, 5 Oct 2016 21:41:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6771D28CB1 for ; Wed, 5 Oct 2016 21:41:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A6EF28CC6; Wed, 5 Oct 2016 21:41:13 +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 4B23F28CB1 for ; Wed, 5 Oct 2016 21:41:12 +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 1brtuv-0003yY-JK; Wed, 05 Oct 2016 21:39:57 +0000 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1brtuo-0003iM-5r for linux-arm-kernel@lists.infradead.org; Wed, 05 Oct 2016 21:39:51 +0000 Received: by mail-lf0-x22b.google.com with SMTP id b75so493121lfg.3 for ; Wed, 05 Oct 2016 14:39:27 -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=UIm2woAKvqXe6+UIBv0fvUg3Bf2aBYhwUE65TS6dC5A=; b=J4J8NDpMfcAJy4NxMSE1tMYJm5Kp1rYz/QANlAICPmclBdtmOGnwT9DD/3iWjfwxkD vtBV50hMGzW1cxvDobeO+XzLhzbhfNgBXJ0WT/RDQeq7LXTKmCe1QbpSPNHxoZHk3qZS cdcX5GuPLiByA/qltUQvyk+CtSwjyXoTnM8pQOYLlN/AKWWoIDxs/pEmT0l6DALYztzI mVMFDt5kvrdLTwhlujGkAANpppTqQyoYinVEgQlRWj+GwDawqM5I6UpiTtmbaMILq0NG EidnfRU3bCeQ+21nJX5KNDTW7/wBUw79hSQJOhjMBWC9d94yUWfJEDCot3jvk61DUQYp sM/A== 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=UIm2woAKvqXe6+UIBv0fvUg3Bf2aBYhwUE65TS6dC5A=; b=lnw1S8Eupnz8bn2s12YjSGwUZQxqRPgg4iT7xczhBvVoti0D8/yrUuzRyc+nTYsa4R bxILneQyp7F5T1+4iu5e2V3crkYopSqXLbwY+KjSymvUhCcu2AhRK80xQ+UGberStQMW OKlj1DymOVeaBp2gHLUXaS8MS4HMHRvI0iLnvyjbg45G3wbX0ZnwhK8woDNKNWewZ79C 08o3CcILQLdX0Nbt85xVnG6qLboKVTAd/poAnuJAy8TvP9HWonYA+5MnElXKC0ZIBXTd 99RJ0+Ht8kfotqy2T7xarcwz/4KWd6Mt0/ri/qZco0ePMTY2Vc3ObJ9Fv34RzCm0bvR/ +CCg== X-Gm-Message-State: AA6/9Rk/3vwuVhsq8b95gQIf6fshMhLAY0wKM6C2kAxdMGxb6ZcQ47CGoOwu/6pn3aTRcw== X-Received: by 10.46.71.6 with SMTP id u6mr5086057lja.49.1475703565336; Wed, 05 Oct 2016 14:39:25 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.81.231]) by smtp.gmail.com with ESMTPSA id 75sm1952339lja.34.2016.10.05.14.39.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Oct 2016 14:39:24 -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 v3 05/11] ARM: dts: r8a7743: add SYS-DMAC support Date: Thu, 06 Oct 2016 00:39:23 +0300 Message-ID: <7670182.9DCiKYVbtJ@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.7.5-100.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <2056698.ncAHq8vRQ3@wasted.cogentembedded.com> References: <2056698.ncAHq8vRQ3@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161005_143950_498399_FE579A63 X-CRM114-Status: UNSURE ( 9.58 ) 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 R8A7743 device tree. Based on the original (and large) patch by Dmitry Shifrin . Signed-off-by: Sergei Shtylyov Reviewed-by: Geert Uytterhoeven --- Changes in version 3: - resolved a reject; - updated the "clocks" properties for the CPG/MSSR driver. Changes in version 2: - added Geert's tag. arch/arm/boot/dts/r8a7743.dtsi | 64 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7743.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7743.dtsi +++ renesas/arch/arm/boot/dts/r8a7743.dtsi @@ -98,6 +98,70 @@ reg = <0 0xe6180000 0 0x0200>; #power-domain-cells = <1>; }; + + dmac0: dma-controller@e6700000 { + compatible = "renesas,dmac-r8a7743", + "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 R8A7743_PD_ALWAYS_ON>; + #dma-cells = <1>; + dma-channels = <15>; + }; + + dmac1: dma-controller@e6720000 { + compatible = "renesas,dmac-r8a7743", + "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 R8A7743_PD_ALWAYS_ON>; + #dma-cells = <1>; + dma-channels = <15>; + }; }; /* External root clock */