From patchwork Wed Oct 26 14:14:08 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 9397363 X-Patchwork-Delegate: geert@linux-m68k.org 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 C533E60231 for ; Wed, 26 Oct 2016 14:14:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 964FD29BCD for ; Wed, 26 Oct 2016 14:14:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8AF6C29BDE; Wed, 26 Oct 2016 14:14:29 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3054B29BDA for ; Wed, 26 Oct 2016 14:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbcJZOO3 (ORCPT ); Wed, 26 Oct 2016 10:14:29 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35401 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932115AbcJZOO2 (ORCPT ); Wed, 26 Oct 2016 10:14:28 -0400 Received: by mail-wm0-f67.google.com with SMTP id o81so3706270wma.2 for ; Wed, 26 Oct 2016 07:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=vj/w2bBYpb5FMtuYCFANRkZNl+9UUJRuiuTtuBomlx0=; b=Ss2Hbk7TLKvQlR7fiNgXnFZWt0rnNXPhDgP7WPDCL5l+lKMFSiGtoECm4JZGYgKirU Whk/Q99xbO/9bBuamgXKdFeyHchOJGdESMhAs5d/eANZe0oGBSG5F3S43avnfxMBVyJj XArmoThdqWuWc2yLyf50U9+O48bpuoqEam9/S0/jyMDDZ+LfzuNDGnzcRcAkmjvF1mOS mNCGek4dPr8uVjnJycDhaHfv5PFXy5IAiMsSvoKmXoywRaOsrymj/KVF34RNa/QqCnX2 1VhzXaYoVdPL7xLODi7xxPFLWTqOXopLXlciaj4azclvLZXcwEYJtdt28F0unI9yrtvp CVYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=vj/w2bBYpb5FMtuYCFANRkZNl+9UUJRuiuTtuBomlx0=; b=kQNTKK/10WEEhYCxteFnUWcZpb5sR3tHhyYPC6qzLdDmMmZbY+QQF6lThSPewINCB6 5neXq01ft4IE4Iwq50uxT4ELgZvqv+nYJg79Le2OmQdX48Emzw9rXBQso6782OuKyYsm okqwO6J+fZ/Mt9AP9txb4aXQik/1hEXqIzpaJYffty7DkOfABnU+Gmtnk8ACiDTiY7gK 4jjFZFjPAek7bzODRolGtZ2JRg33H85Xah2fPcAZF6dnEH92uUmEzP9p28+Fzq0zn1w9 lnUa8SG7ofMvhxJD54sLwbtSrkXGaeUbMOBuUAOgbu6JK9ckka6prCU9TdHKmZttvoH/ aCaA== X-Gm-Message-State: ABUngvf4whycyICtc/5Nrpbf4wdj+WNCjH/b+ZsGUz4M5++kNJkwBzownyeHrAjZJAWekQ== X-Received: by 10.28.199.69 with SMTP id x66mr6870732wmf.35.1477491266334; Wed, 26 Oct 2016 07:14:26 -0700 (PDT) Received: from groucho.site (ipb21bf290.dynamic.kabel-deutschland.de. [178.27.242.144]) by smtp.gmail.com with ESMTPSA id jx8sm2913248wjc.2.2016.10.26.07.14.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 07:14:25 -0700 (PDT) From: Ulrich Hecht To: linux-renesas-soc@vger.kernel.org, horms@verge.net.au Cc: geert@linux-m68k.org, magnus.damm@gmail.com, wsa@the-dreams.de, Ulrich Hecht Subject: [PATCH v2 4/5] arm64: renesas: r8a7796: Enable I2C DMA Date: Wed, 26 Oct 2016 16:14:08 +0200 Message-Id: <1477491249-2976-5-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477491249-2976-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1477491249-2976-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ulrich Hecht Reviewed-by: Geert Uytterhoeven --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dtsi b/arch/arm64/boot/dts/renesas/r8a7796.dtsi index 3e6661bb..b72d5e9 100644 --- a/arch/arm64/boot/dts/renesas/r8a7796.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7796.dtsi @@ -257,6 +257,9 @@ interrupts = ; clocks = <&cpg CPG_MOD 931>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac1 0x91>, <&dmac1 0x90>, + <&dmac2 0x91>, <&dmac2 0x90>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -269,6 +272,9 @@ interrupts = ; clocks = <&cpg CPG_MOD 930>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac1 0x93>, <&dmac1 0x92>, + <&dmac2 0x93>, <&dmac2 0x92>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -281,6 +287,9 @@ interrupts = ; clocks = <&cpg CPG_MOD 929>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac1 0x95>, <&dmac1 0x94>, + <&dmac2 0x95>, <&dmac2 0x94>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -293,6 +302,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 928>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac0 0x97>, <&dmac0 0x96>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -305,6 +316,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 927>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac0 0x99>, <&dmac0 0x98>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -317,6 +330,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 919>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac0 0x9b>, <&dmac0 0x9a>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -329,6 +344,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 918>; power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; + dmas = <&dmac0 0x9d>, <&dmac0 0x9c>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; };