From patchwork Tue May 17 10:28:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 9111481 Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2F8549F30C for ; Tue, 17 May 2016 10:30:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D82B202EC for ; Tue, 17 May 2016 10:30:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B365B202EB for ; Tue, 17 May 2016 10:30:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751701AbcEQKaP (ORCPT ); Tue, 17 May 2016 06:30:15 -0400 Received: from smtp-3.sys.kth.se ([130.237.48.192]:44888 "EHLO smtp-3.sys.kth.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbcEQKaO (ORCPT ); Tue, 17 May 2016 06:30:14 -0400 Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id F0725612; Tue, 17 May 2016 12:30:10 +0200 (CEST) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7bR50eJhn1nH; Tue, 17 May 2016 12:30:09 +0200 (CEST) X-KTH-Auth: niso [89.233.230.99] X-KTH-mail-from: niklas.soderlund+renesas@ragnatech.se Received: from bismarck.berto.se (dynamic.0.6.79d1f80.14cc20ac3a53.cust.bredband2.com [89.233.230.99]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id DAA283AB; Tue, 17 May 2016 12:30:07 +0200 (CEST) From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= To: linux-renesas-soc@vger.kernel.org, horms@verge.net.au, magnus.damm@gmail.com Cc: geert+renesas@glider.be, =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCHv2] arm64: dts: r8a7795: enable DMA for I2C Date: Tue, 17 May 2016 12:28:01 +0200 Message-Id: <1463480881-2864-1-git-send-email-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.8.2 MIME-Version: 1.0 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add DMA properties to the I2C nodes. Signed-off-by: Niklas Söderlund Reviewed-by: Geert Uytterhoeven --- Changes since v1 - Use correct phandle dmac0 for i2c3, i2c4, i2c5 and i2c6. Not all dmacX instances are equal as they where on Gen2. Thanks Geert for pointing this out. arch/arm64/boot/dts/renesas/r8a7795.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index a7315eb..80049d8 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi @@ -693,6 +693,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 931>; power-domains = <&cpg>; + dmas = <&dmac1 0x91>, <&dmac1 0x90>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -705,6 +707,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 930>; power-domains = <&cpg>; + dmas = <&dmac1 0x93>, <&dmac1 0x92>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -717,6 +721,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 929>; power-domains = <&cpg>; + dmas = <&dmac1 0x95>, <&dmac1 0x94>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -729,6 +735,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 928>; power-domains = <&cpg>; + dmas = <&dmac0 0x97>, <&dmac0 0x96>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -741,6 +749,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 927>; power-domains = <&cpg>; + dmas = <&dmac0 0x99>, <&dmac0 0x98>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -753,6 +763,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 919>; power-domains = <&cpg>; + dmas = <&dmac0 0x9b>, <&dmac0 0x9a>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -765,6 +777,8 @@ interrupts = ; clocks = <&cpg CPG_MOD 918>; power-domains = <&cpg>; + dmas = <&dmac0 0x9d>, <&dmac0 0x9c>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; };