Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp628637imm; Wed, 23 May 2018 02:57:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpIelcPP1jwEK5GxoKOVdkiYdrbLMFnnYeG2U8fGaHSTV8SxY+xYfsWZsL4aHiRiYJ7U7E6 X-Received: by 2002:a62:3dc9:: with SMTP id x70-v6mr2164069pfj.85.1527069457899; Wed, 23 May 2018 02:57:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527069457; cv=none; d=google.com; s=arc-20160816; b=E3AEHxoDh+qMOdDBILKV+e1T0dRZS+ZDk5wD6cnrvQz3KgbvP070F7sN95rc+b00SG pFGneKGqsKIY65nU0+vM3DN2fsKEzhyR548OGRNwDc9ZW3UHUK6hj7iWs3DLtTcqF9g9 j5sdRBiDJqzBJJa5ayOL2B4JEtuxlIFeKorC2u4VWXgUQpeZxUytoEJIXy/8BgCzcyjN JUaqd6D1mXEW8chTdC+ptfScb7EytvJth0GBD5JqbD151vcMiHbtcEs10O8ugheH8Kvw hGxTfaKkRpp76298dkk4r8zqcS/n0JY0/+20/yBF66OzW5jvkhLtFBA69u8DGhRj9k9r 6u5A== 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=Ra2OYN6MSerXmY+5i4HQLMDJSyYuDcCi4MDX2iD+mnI=; b=d7AJ8VjwiBweMg47Esro1n71ptSRpGrY5ocRFN6BuLge84hcI30FwKPj7b8cV4q6zx ITQXNIU7i1Qn3/BSwCJhblPOY9u4eSIRkDW0sU8xNKU0n/GpKPJlHzDSxEkpubIDfYsB ofFUOTtzrntH4tk44eM1K/KGJaRDSdM6Vxod+rRqNskUunkD/F7jSI4ib058QeOUwDc1 v5EJ/ZhiuOdoYqAiQsumgsdjjdx1alMDkFoMWAck4kId5GWgRNfx/2GtQgAI6R3T0MQU ZH+Gpd7UzJCf0B+qGEGwTrPNofhj/+Sr35NWEmQUMJ7gPobyH9WaSqDeGkODB3nNh1mL Yl0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=kWejAFa8; 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 33-v6si18844542plt.596.2018.05.23.02.57.23; Wed, 23 May 2018 02:57:37 -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=kWejAFa8; 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 S932373AbeEWJ4r (ORCPT + 99 others); Wed, 23 May 2018 05:56:47 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:36615 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932315AbeEWJ4h (ORCPT ); Wed, 23 May 2018 05:56:37 -0400 Received: by mail-wr0-f194.google.com with SMTP id k5-v6so13236172wrn.3; Wed, 23 May 2018 02:56:36 -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=Ra2OYN6MSerXmY+5i4HQLMDJSyYuDcCi4MDX2iD+mnI=; b=kWejAFa8tMIveqMycOJTAiJZUcl8WVeGKtZ36fX5nuCFEvdq91ReKtjjhEcPTSE2Cy xmBJjGnXKwj252uT7Ka6/MuzAAziX5sLsNuFcT+s/ygWKUqcFUtRrL+CByqLIuidffpM LRo3RY0JJ83ahxJdkZzbHzE9mcabGZjUZHPXhefjQkTUNnNzLpgBhRTEvQwgY0vs77Eq bBHTW3Y4BwCCmrwHcannsFwyP8TTLHanOY1zXnLSQKEyStgtxGuq3SpIeB6MVWuIL0Ir 1CK+3POMZEn6AVwWa0ASIyNmJ9keaXFZgdXmjkH0jxzm3HDeNDKfxfmMCWmHah1wVVyJ +iGA== 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=Ra2OYN6MSerXmY+5i4HQLMDJSyYuDcCi4MDX2iD+mnI=; b=PphgIXrpDGc0Y31kTRl7KTyRWlU24JEFHR5icHrG9vhkPZ/KXjNQGfxWpKjErCIHmZ hqqb2vCuqly8OQZyBqNB76d+KxG7rRoGvRl2ZUa+Ke4hkMcQpIcHTmkLJpjquBCmklVc YTSbW9b2x4Y+359jDHd4ITEXoossBnrbb4cyAJ+8ovN4EiowrKFM7x2KxzqsMantK2Tf BJDXUC1b1G6Y3zqW23v3nY5mubAEHEjnzyybQ6oZIrgrjqdd9iY+/IiKUOiy3LelWeby gkkehJzxJBnCP77oG/GhsyMT3YvT5kYW9FdNl8/F3xKR6Vh/f5ZXCS06iB6xx8aof2m1 5rIw== X-Gm-Message-State: ALKqPweGBphieC1wMbFFTVCXvhzf/hJFeVH9LIuAbOVwhW9QQ42hZOJ/ 1fd22ZDb1jD85uXWkA5Y+F6IQqdULsk= X-Received: by 2002:a19:c48f:: with SMTP id u137-v6mr1228729lff.2.1527069395684; Wed, 23 May 2018 02:56:35 -0700 (PDT) Received: from localhost ([87.54.42.112]) by smtp.gmail.com with ESMTPSA id f22-v6sm3333475ljc.50.2018.05.23.02.56.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 23 May 2018 02:56:35 -0700 (PDT) From: Esben Haabendal To: linux-i2c@vger.kernel.org Cc: Esben Haabendal , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/4] arm: dts: ls1021a: Enable I2C DMA support Date: Wed, 23 May 2018 11:56:23 +0200 Message-Id: <20180523095623.3347-5-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180523095623.3347-1-esben.haabendal@gmail.com> References: <20180523095623.3347-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.17.0