Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2429204imm; Thu, 16 Aug 2018 09:28:20 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwx59qA9QyntciQrkSjHSQ+hTeVWVG8bpNNSL+8kvjeBVitl76UGLDuIDryRI47GhGghO5O X-Received: by 2002:a63:291:: with SMTP id 139-v6mr29545327pgc.365.1534436899958; Thu, 16 Aug 2018 09:28:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534436899; cv=none; d=google.com; s=arc-20160816; b=Ei/n0Z/id9vOBu8DsG+mc4p+V6N4GNJAxVLHDcNHCcT0u1dQFOCQMuMFxvBncQ1+OJ x8TVly5VmUcGGTTVgxVSKS8lbPNRVV8qUvzk5QCgJj1AgzUkbm3P0mNjkjodwp58LMo2 r9LjOsUTArJ9R8O9gZv8UPR7yD3jOiqKKeoKEpswHhQkNLZBtpNUBFNQmkXXcD9x3TBQ lwz90udr94cAZ4DEBTr/VvqT1Z362GXdgrfXl9w988uoGFosmeLE5xyXRhDlfplb/OTf IEWCc4VNI2k4dRZ+8ynmjiWdfyuujMffSYz5x7VzmOMNCwuzC8Q5qio/+aIT2tR0drsF gI+Q== 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=IB+3PFchU5Xj+ZqHpR1L2zTMejQA28eJ4veC1BadyWN2qhkX8xkEeGZkVMEr7v2NWX H3najC7LbRhoVHrUtq3e5ZCXRPxoMPScT75TTIpx7ye6dXIfgYVQJeUV1TmBeckFlng7 PMey5JKNgWuK3a7qpZUPBtru5A9ccmqUiIIp2R432CE7vAtsNTQ6imkq51hTqJtyOjZV dTONB7bnS7LY/LhhJwv+Vmar6+TMTxX1auFcBe2A8tb3GGh9cdt7PK/a4JLdVt63LiKg uldrlSalQLF79asA1LYs206OiRQ4H/A/6E+v4XEB3njit40i7LJYg9jhC/GR+IvNojHN AYYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=aLEyRbHn; 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 6-v6si25666866pgv.508.2018.08.16.09.27.55; Thu, 16 Aug 2018 09:28:19 -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=aLEyRbHn; 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 S2390131AbeHPLka (ORCPT + 99 others); Thu, 16 Aug 2018 07:40:30 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:39725 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390107AbeHPLk2 (ORCPT ); Thu, 16 Aug 2018 07:40:28 -0400 Received: by mail-lf1-f65.google.com with SMTP id a134-v6so2817394lfe.6; Thu, 16 Aug 2018 01:43:29 -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=aLEyRbHn7weMfGOwwxj0FsrASVihKCTEW75/IDvvg+sxLPp2nLP9y8XNxy5QvAvy5u ACVld4KihjEBdxFZ6W8hMZq0yLF5x9Osw97hGNzhP4Vi0jc8nIptKRmmgJxXQLPn0lLK 5wbsE4zw5DXniySvQgQbQcH3bScIZtfNSiJk7qn6O7PTB6WdX0PKpt3Ueq84VJtYYloQ X9fqE+JJh3toV0G35i2myCWffCC34S7O1waEVT78my5qxu1gCRxyO1HWhZLPfAm7ga5R GAzuzLJtvXFevg4iXAu+HZZalAV/9gQNwuw0eSvMvM8DhRgu43uFrPfygIpvMD/Y7RWf zNBA== 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=Exg8oL6IS6hV3qQfkF/hxvmXNFYLUs5x6Actf8tIWlIHM+IUS/PZMSeUm2ICKJzWVp lE1F7cnhBsYuorf7w3r6EMT5l21cNdd1rr2kV977f+YqMzfGsoknUih85ovJvboyBRnl FGPgKdMLaODfWeInt0ev6aUt2Jerp2PrHA+dk3GJlcGwifd0tPp8W9pCtYsmSa3kFFc6 jPFhTwD4XdIqsBDd/D63cbTcTjAWzDAXAoTLILGZBURIreFx1wdguNMm3RYZEKOaGCGp RviQqwhUoXYOKHcockI6Eb78EZQ3tojLzHYeve3THAagS1jiimUUK9Eser0rxT50/9On Gtbw== X-Gm-Message-State: AOUpUlFpEgLW+D/HC2A7W1atyy05Hm2VqoIB+8n68Z+Frzj5CJmRAWF7 ANaqwW1xOXmyqU8w3BmJLzJiUnwyJOM= X-Received: by 2002:a19:a2d5:: with SMTP id l204-v6mr18561688lfe.65.1534409008090; Thu, 16 Aug 2018 01:43:28 -0700 (PDT) Received: from localhost ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id a140-v6sm4901927lfb.21.2018.08.16.01.43.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 16 Aug 2018 01:43:27 -0700 (PDT) From: Esben Haabendal To: linux-i2c@vger.kernel.org Cc: Esben Haabendal , Shawn Guo , kernel@pengutronix.de, NXP Linux Team , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/3] arm: dts: ls1021a: Enable I2C DMA support Date: Thu, 16 Aug 2018 10:43:14 +0200 Message-Id: <20180816084315.7857-4-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180816084315.7857-1-esben.haabendal@gmail.com> References: <20180816084315.7857-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