Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp339309imm; Mon, 9 Jul 2018 02:45:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfrKQtY4MQe0K2PQxzr40GHbpKolArXKRx0PvOvmfmeUKSFa43AqEFBkFxj/NnBeRF0DanL X-Received: by 2002:a62:d1b:: with SMTP id v27-v6mr14568308pfi.87.1531129547117; Mon, 09 Jul 2018 02:45:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531129547; cv=none; d=google.com; s=arc-20160816; b=T9U2QMpKkLlQ8SO5KHH8GSAwTk/AHMonFyiCjUxM4SsIYOTpcfoPwyloiO8HuuGC2P PRM1JWxrBRgoplzCUPP+81OZ4B0kI57iEENC0KQtKUGmWMg4wwTBFOd14WRykHShcMv5 uAHVIV6vzM9IFTHJuq/LupznUVO39itjN0TFN+3KMfsrdRVJ+iXVI0noXpgl9MWSiA65 cn0mlohdD1OX6NLPypMMtbKWXH7+GBe6L1i7KBNO9xx+IZo/hNVEVcweQjk8iyQefoa0 bOUHKtBKeeEr+3uMuMDUGfjDxJFg3r8ir6+ddHC5cXCte9mizdsI7KCLahudK1dO7Mxd kMeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=1koQvgLpOHKSo2UbGrEiF0QLYvVVtdV9mxihlxpb/Nw=; b=FmdIS4M81PFxD9/hjmweiRqElmVZ/2cCJ68DNRWB2rdi7bjbeIBYBlz19IOVyXIUBS yaV8Z3D3Ib82cfUUt+Zl1iLFXsp0n3J+GSwdFzqHmcgikhPJJLRqsjYb1OOVPQOhQI65 TrgY9pI9rVQ4GWeTH+G02mcGX4CnKmw/Thj7YAf9iJgRKf3qGVha6oBQNRvWPkJPKV4v NK+g1iBXVvzEOic27kqQMBXFqCjaVE/AC7CAGa62Iu/fyWSExXR0Zpb8Mq0rhaybCE16 evTNRWzxmY87qIc6gRDXSUAfcNQ87Vf6+dGRm6mIqCjrDZQrRXoavWk8zQS/So8jUR+N sLFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="dIXNFI/z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i4-v6si13704955pgd.657.2018.07.09.02.45.32; Mon, 09 Jul 2018 02:45:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="dIXNFI/z"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754440AbeGIJne (ORCPT + 99 others); Mon, 9 Jul 2018 05:43:34 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:38140 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932699AbeGIJnV (ORCPT ); Mon, 9 Jul 2018 05:43:21 -0400 Received: by mail-lf0-f66.google.com with SMTP id a4-v6so14686497lff.5; Mon, 09 Jul 2018 02:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1koQvgLpOHKSo2UbGrEiF0QLYvVVtdV9mxihlxpb/Nw=; b=dIXNFI/z+xlQuMy7LKtYylJ4lEM7z2Iy7LOAKH9+KgV3iFAmWPVSaD1wC+cWW9F4qK TfPmBLRngm+CULDO/pwAva1Uh3C/86/q4Q1sNGRvLQfxyzSIFJPK/vBcQTnGxC2uirxv cgipnJEfZYynpUQxfV1yqgDJXDf/KOXThZj07ndoB9TUVqHcDHJS7Oj0vaSgNutmXWQv qayxOO3cKQHxLPoLzEqMcSIkv1rbVoYIoRHU3yz661TGl+hTCxQWGD+CQLGr5vULmJN3 NgT2eGRzxCf62pjQri8MrXJxm9g+kLi0Wk9wGSF4lZjOQj5JHGcGc7Crikia93nayA6S gaRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=1koQvgLpOHKSo2UbGrEiF0QLYvVVtdV9mxihlxpb/Nw=; b=C+CrZcyYjrOLsTudI5CGS11CayjaR5JZubaiKxSH0JtozwQC6N7tR87oaWZHdHNGKl m23qCYK3Pt2FpfIJ0ScNmDvDjYDmgSsygg9gH9B/Dq/Nin257VApId4FWRBHT36zd9+X grQCYv88jGmWS/QMZAFZKhaG8YaoZlsLuxdc2m+jQWgkiILTVpZhFIQC+p55PZkrx/8m CoNx4CX6RE2UbB40B/dXCU7y39YrnZYLL4442F4pzZW9LYgioBOVnMYUgpOTs1tM9C8e C8wAUvcsAsBV9ChyLyU9nYLy5bVdo31XBGXCIz9rhTTlMOJEqlbJHk/naGgzWZHb0EcI O5Xw== X-Gm-Message-State: APt69E0qvUuOw0HE3sZq2E8ZRivwfYOGVg9duay308NTalVUWLx5ulnt Tak9JUSpmdqyvdbyRcHTZRQ4fukTTvE= X-Received: by 2002:a19:ef13:: with SMTP id n19-v6mr14571206lfh.48.1531129399648; Mon, 09 Jul 2018 02:43:19 -0700 (PDT) Received: from localhost (87-57-30-174-static.dk.customer.tdc.net. [87.57.30.174]) by smtp.gmail.com with ESMTPSA id q6-v6sm3396357lfk.31.2018.07.09.02.43.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Jul 2018 02:43:19 -0700 (PDT) From: Esben Haabendal To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Rob Herring , Mark Rutland , Yuan Yao , Esben Haabendal , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] arm: dts: ls1021a: Enable I2C DMA support Date: Mon, 9 Jul 2018 11:43:04 +0200 Message-Id: <20180709094304.8814-5-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180709094304.8814-1-esben.haabendal@gmail.com> References: <20180709094304.8814-1-esben.haabendal@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Esben Haabendal Gives substantial performance improvement for transfers larger than 16 bytes (DMA_THRESHOLD). Smaller transfers are unaffected. Signed-off-by: Esben Haabendal --- arch/arm/boot/dts/ls1021a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index c55d479971cc..1e5640701c65 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -363,6 +363,8 @@ interrupts = ; clock-names = "i2c"; clocks = <&clockgen 4 1>; + dma-names = "tx", "rx"; + dmas = <&edma0 1 39>, <&edma0 1 38>; status = "disabled"; }; @@ -374,6 +376,8 @@ interrupts = ; clock-names = "i2c"; clocks = <&clockgen 4 1>; + dma-names = "tx", "rx"; + dmas = <&edma0 1 37>, <&edma0 1 36>; status = "disabled"; }; @@ -385,6 +389,8 @@ interrupts = ; clock-names = "i2c"; clocks = <&clockgen 4 1>; + dma-names = "tx", "rx"; + dmas = <&edma0 1 35>, <&edma0 1 34>; status = "disabled"; }; -- 2.18.0