From patchwork Sat Oct 20 21:35:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 10650617 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F23E11750 for ; Sat, 20 Oct 2018 21:35:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8EE2286C5 for ; Sat, 20 Oct 2018 21:35:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CABA0286D3; Sat, 20 Oct 2018 21:35:38 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 49276286D0 for ; Sat, 20 Oct 2018 21:35:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726554AbeJUFr1 (ORCPT ); Sun, 21 Oct 2018 01:47:27 -0400 Received: from mail-pf1-f180.google.com ([209.85.210.180]:34349 "EHLO mail-pf1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726549AbeJUFr1 (ORCPT ); Sun, 21 Oct 2018 01:47:27 -0400 Received: by mail-pf1-f180.google.com with SMTP id f78-v6so12297931pfe.1 for ; Sat, 20 Oct 2018 14:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Fg3ka/3aN0bkH1TUbEmHXKnUx9uHfVl9DutUxtuBkBc=; b=k6ggcOhGXzEEPcd38HVOeWs/L5Y9QA1Jx2cyLcAiEgJ02aWd9YLFzKSjWfbRG+7U+C fauDqVEOHFCkA1wCrlgq2J+Bk2KcUTxfvinNGrxAHLBgHXM6MdUP0wnGpYqrj6Dbyk05 F0cSMBxvG5BcjIfybh0ZbCBTx6M+Ij8iFFSJppFOS+JBU1WhcbQ6+y2hivp748hTLQ9T 6KcJFHkG0p0LsiISJsNhNK2Tlk1g5M8pgYv/BfwKu/gzOiQwXI75rRalZ3xx6q+/Fa9f 9znqigvtfVWB4YvRvgLjScH19altPEtzTHuIQapFoMaqOw1AHZneOjdQgoGmpmbXN7C4 H1Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Fg3ka/3aN0bkH1TUbEmHXKnUx9uHfVl9DutUxtuBkBc=; b=epgYKfQgx4bCw6yKV/G+1AtAwRlutM1rG76y2pmsICRgmGU8QWKiUm3eELofvuqDub MsyUvQ4W4VQJnWABSWap6Jb95xEuLdfr+EALIeL1Pohqu5TuSvOtKXSe/SpcEWUM0TvX 2J5jvub8kOYC49KLd1htBJ3LoQbScaWyj/MKJ2nip+jhfBsb/WKKlO3rQuf9/fW174Iz H/ApuP+MP1QIOvCnTvwc6gcWB2CSItda+BjpbYVSfvsdKP2gT1DTzwWjRudllItQkWiy xPziBPtan1XYAz2NbvFQavquSHQGONJwdingJYSVhANbm/9JgtC7GtxHVB8R2nAag0Oo 64Qg== X-Gm-Message-State: ABuFfoj71tfQapiXdQavzct4BMrJMgtsEHFnwNheZW+HM9YhBcDsG1Ku Nf4/75TqIwPyGDFKP0n6npixW06W X-Google-Smtp-Source: ACcGV614rVoh/fzVCBSMGexlm3dt26gsY0W2Dj/VTjS9kLocmcRhlOoRq5WPhoHrRH4WF3nV/9qt4Q== X-Received: by 2002:a62:1906:: with SMTP id 6-v6mr40675049pfz.9.1540071336339; Sat, 20 Oct 2018 14:35:36 -0700 (PDT) Received: from localhost.localdomain (KD118155013174.ppp-bb.dion.ne.jp. [118.155.13.174]) by smtp.gmail.com with ESMTPSA id 72-v6sm53056598pfr.115.2018.10.20.14.35.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 20 Oct 2018 14:35:35 -0700 (PDT) From: Yoshihiro Kaneko To: linux-renesas-soc@vger.kernel.org Cc: Simon Horman , Geert Uytterhoeven , Magnus Damm , linux-arm-kernel@lists.infradead.org Subject: [PATCH/RFT] arm64: dts: renesas: r8a77990: Enable I2C DMA Date: Sun, 21 Oct 2018 06:35:26 +0900 Message-Id: <1540071326-27428-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 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 From: Takeshi Kihara This patch enables I2C DMA. NOTE: I2C7 DMA is not supported by R-Car Gen3 Hardware User's Manual Rev.0.80E. Signed-off-by: Takeshi Kihara Signed-off-by: Yoshihiro Kaneko Tested-by: Simon Horman Reviewed-by: Simon Horman Reviewed-by: Geert Uytterhoeven --- This patch is based on the devel branch of Simon Horman's renesas tree. arch/arm64/boot/dts/renesas/r8a77990.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77990.dtsi b/arch/arm64/boot/dts/renesas/r8a77990.dtsi index a437862..9df0751 100644 --- a/arch/arm64/boot/dts/renesas/r8a77990.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77990.dtsi @@ -213,6 +213,9 @@ clocks = <&cpg CPG_MOD 931>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 931>; + dmas = <&dmac1 0x91>, <&dmac1 0x90>, + <&dmac2 0x91>, <&dmac2 0x90>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -227,6 +230,9 @@ clocks = <&cpg CPG_MOD 930>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 930>; + dmas = <&dmac1 0x93>, <&dmac1 0x92>, + <&dmac2 0x93>, <&dmac2 0x92>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -241,6 +247,9 @@ clocks = <&cpg CPG_MOD 929>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 929>; + dmas = <&dmac1 0x95>, <&dmac1 0x94>, + <&dmac2 0x95>, <&dmac2 0x94>; + dma-names = "tx", "rx", "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -255,6 +264,8 @@ clocks = <&cpg CPG_MOD 928>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 928>; + dmas = <&dmac0 0x97>, <&dmac0 0x96>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <110>; status = "disabled"; }; @@ -269,6 +280,8 @@ clocks = <&cpg CPG_MOD 927>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 927>; + dmas = <&dmac0 0x99>, <&dmac0 0x98>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -283,6 +296,8 @@ clocks = <&cpg CPG_MOD 919>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 919>; + dmas = <&dmac0 0x9b>, <&dmac0 0x9a>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; @@ -297,6 +312,8 @@ clocks = <&cpg CPG_MOD 918>; power-domains = <&sysc R8A77990_PD_ALWAYS_ON>; resets = <&cpg 918>; + dmas = <&dmac0 0x9d>, <&dmac0 0x9c>; + dma-names = "tx", "rx"; i2c-scl-internal-delay-ns = <6>; status = "disabled"; };