From patchwork Tue Sep 12 20:37:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9950139 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 785436038F for ; Tue, 12 Sep 2017 21:08:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66D152901E for ; Tue, 12 Sep 2017 21:08:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 57FB6290C6; Tue, 12 Sep 2017 21:08:14 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1187029059 for ; Tue, 12 Sep 2017 21:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Subject:To:Date:Message-Id :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=i/8WASLA2w74GBwQVVBTeargxXU3pyF0nWLPmh7tWks=; b=SwQIdNXStTE1r5 DFAlD/EE2dKGYoGorw/X82lwvabibVxJYrYdCQsdjRM751ARCnjn4Zrt8hkVFGDI4pDjH1TdPQqI/ gFeYMeYBIWCpOiqwwPiwkIdC2BWwARjiGCiLtcRRDE+n/uVqY147ionuPfha2bFXLBt+4fH+XUiX4 Ns56kImCvy08/V80+4QqU55Ehx/P0mdb0jJMmHsy9dhpQBcE7npy0lr5mWyyL8emQSjx4vrNoXqm7 hrHb5oMG9IyPjuVNA/I/gv649ns0tdI86ZqsNmcG7qnkX2K3eCtujE5Rvl3xwQJtkgIj6f0F7eif6 aBRe5IBCpqJn0OE7PKrw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1drsPX-0006oK-Tr; Tue, 12 Sep 2017 21:07:59 +0000 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1drsNU-0004wu-Ri for linux-arm-kernel@lists.infradead.org; Tue, 12 Sep 2017 21:06:05 +0000 Received: by mail-lf0-x229.google.com with SMTP id c80so29571932lfh.0 for ; Tue, 12 Sep 2017 14:05:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:user-agent:date:to:cc:subject:mime-version :content-disposition; bh=DxLwjhi3k9i/tc6pEW9jSpTJrC4T5CZ32qhqXZX7Ep0=; b=z7hAIitlCXlr7aljvp+mQxTu5y9zjz6sgkdRrco+JoVBErep7Xp3/ezQs4YaWL8AQv 9iMV+2/5TdtIertFiSysxyzbbkllRq+CW7EkrIwASNBSdJHDN/5IsJz6ZDlzgDlp7b54 hFQAmnU3zwfQ/hH0ti0OZe3w21sP1EQI2bqVTNY615P5J1bhqxRaCR4/ytaaJNzEm4XI lV37i1AxPT/Sv9he0xfBZbZ+u7s9PkJW8knC7bpw4GMmxrYBU9cJ+5bCbL7Uf+TArVxu 1lLus+VHTclllm5XuEt/v2ydyIhS6cOV3EdlD2BiF3GoQo2Uy7w2uClnpIygAOPORlE5 6NIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:user-agent:date:to:cc:subject :mime-version:content-disposition; bh=DxLwjhi3k9i/tc6pEW9jSpTJrC4T5CZ32qhqXZX7Ep0=; b=G89lchKkjgXLHVkU5s9yF8rj0g/wWNwIfKU0d+PgVw4Aw5m8hMuk4Ge9ASlgb4pMvs GDFKcUvf9yPXJhDN9fXqzyYK4+HBonXTGrZvdGZJzB6/3QF3ccmyPlCPbqERFBu1cy2a 3gB1vqX71Y2Jm4l9QqYTJooC/YPOUfJRyTY5srKEp4L+he+BerpKPl4C85bZMceM6m3Z AZDtiWk/wFKk/96NacIX+dQI5qpL2MJWcuVLjVqpY1pfZ4oaXcfALo/qT4W6YCq1M5Kk VLNkmpCypxnqRVL5hrh0b1CjicUre03mXLTxh132sHOoOSicoBXCm3+/5+UQC20gLCUi Wgvg== X-Gm-Message-State: AHPjjUgeRV1H7647m5OOPIVbnkM5dJVA+9/ic2IZf0ms4gl4yP6pXIWJ 5c1rjC23xqXpBmoB X-Google-Smtp-Source: AOwi7QCJ6DbkJFdUsJJTXzIyJMbBnGKybJTRiqH6U+OwXEoGhLqvpNC5G1w4x4oA+mxF9SIHim6BKQ== X-Received: by 10.46.87.2 with SMTP id l2mr290364ljb.48.1505250331095; Tue, 12 Sep 2017 14:05:31 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.85.236]) by smtp.gmail.com with ESMTPSA id t63sm726784lje.81.2017.09.12.14.05.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 14:05:30 -0700 (PDT) From: Sergei Shtylyov X-Google-Original-From: "Sergei Shtylyov" Received: by wasted.cogentembedded.com (sSMTP sendmail emulation); Wed, 13 Sep 2017 00:05:27 +0300 Message-Id: <20170912210527.851901553@cogentembedded.com> User-Agent: quilt/0.64 Date: Tue, 12 Sep 2017 23:37:22 +0300 To: Rob Herring , Simon Horman , Mark Rutland , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 06/11] arm64: dts: renesas: r8a77970: add SYS-DMAC support MIME-Version: 1.0 Content-Disposition: inline; filename=arm64-dts-renesas-r8a77970-add-SYS-DMAC-support.patch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170912_140553_774676_AE477D8E X-CRM114-Status: UNSURE ( 9.87 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Magnus Damm , Sergei Shtylyov , linux-arm-kernel@lists.infradead.org, Vladimir Barinov 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-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 --- 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 @@ -122,5 +122,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 R8A77970_PD_ALWAYS_ON>; + 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 R8A77970_PD_ALWAYS_ON>; + resets = <&cpg 217>; + #dma-cells = <1>; + dma-channels = <8>; + }; }; };