Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1985495imm; Thu, 9 Aug 2018 05:33:31 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxm/yIPo3WoJQjpP3SXKMtQgug43MQwGfg86vPp4ZBbbVb613Dcu6X9DvMWjt7fyDrWfF53 X-Received: by 2002:a17:902:3a3:: with SMTP id d32-v6mr1949341pld.294.1533818011266; Thu, 09 Aug 2018 05:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533818011; cv=none; d=google.com; s=arc-20160816; b=bb481jMWRtXFQbd3wc3FeHYKjgKUmrxz+un7aahKJgBaoqiLw/7Rxrqw9WMvMwFQSE +Q5HgRGevWM5vntPQRuDN0GHgUIc7Ab6CTYMLmasrI/7qNwUDFH3AdxsAgnJz4TPjGvi hHiBrcuqbjQF9FAC0qCwMl4qKouPZKXOfOf+zueXEfuA7lsY37JGuFmkIst7mvMz2JFc y5iPWURA+jcfFvaO7D9S5XhkryTamcZALtYjTYkaixzaHaYqKZvsLaC4zeTZxoIRgZtG V5f8pTxlz9jUKFTAqoZ5dQDjqVFy4aAs13hQRNNJch4OAtDMRZffGG1aU88KEJgnLuXG wVRA== 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=CtP+ZeB2xs/2OI153TNNaLiV2/9I3DtVKlWLoNZxEwKzt9whAWvWO8fUqD/ZSiYc+o BVt+sVDkv8gZlljwJUzHGECadFJv95oItFlDmbRnNiROUMiLHWLZKOTKk9vc+9e3qWiy hexHdd5ZArmbaq6dqfks3W5MPkZCj5eTHnPP1MOKpD+/VZixbbWjEtbQcaghVEHp3EmA Q0up0SvxRSm89Ncr37JPdu4wzdfy6AqNEdRMeo/gknNDADLjJlmooRBf0kXm/xzPeAx6 Mgyz1DDGeuvS8FR/QeDUd4lZRCRNPcBya2wCdScsX9ed5B2bY4oWBWbO+AQozIjE8QCl X1Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=E2lercml; 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 e2-v6si7039239pgl.4.2018.08.09.05.33.16; Thu, 09 Aug 2018 05:33:31 -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=E2lercml; 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 S1731191AbeHIO5C (ORCPT + 99 others); Thu, 9 Aug 2018 10:57:02 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:33135 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727786AbeHIO5C (ORCPT ); Thu, 9 Aug 2018 10:57:02 -0400 Received: by mail-lj1-f194.google.com with SMTP id s12-v6so4357416ljj.0; Thu, 09 Aug 2018 05:32:19 -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=E2lercmlgb5/VqkzwFD6YxIzZsPckLI24/pGbZMMWD1JlqAOguQwcWj4K5rPuEfdIR n0wLJiZUiNysWfAi+IWwVHpwZv2YrUkgA17ICLc/soWpamqTPZXm+v8Q9HLsvYIRm3Z4 PjeeCrupojMX7GKyNHuH/O+q8y2pqu3JpCz6epYk96F0Sh1v5jQplo/JlMkBFzOzBg49 QSnENVqd3oahkgXg5ypS2U59v9Aqqs9zbKXQ1OQBtdsfz+ZzzwyquCgOXYgUc4WrLJ45 hS+VcsG3eReVYTAfJRxO543LzyJeK/errxBBenhsHM3x0OZhMnvAX6x42MvcAcZPTP04 jPYA== 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=hv+880l76/mdYvAUNsGVb4bsffivGxGVypVnTUyOwc498sYI4oGsJFTtK7zZYTIesL ujF/pv7zG/yNBb3geUzxT1+k3Iyzq0DjZ/mY9mhchzifWyWAdEVaQGw95l8YkgQOwjll LEfQ0qBBoqxn9RTs7PrdCeE9RmUOsD2T6Ot+PXZ+9knpAeG4YO6QrKnR6BgIAZ9+oA/L 7dbXaXroMd8mLmrVIBeXviOQrz74v7V/XDwf2N35VQLRjcLDom3312yXAL4R2M8DrCgz RI1/qMAPytjYaZ6OUrODCWvD2Vrev6fxRDSov+HXGEpryYeObOdFQIFKlZBCI5D33Kea mqGQ== X-Gm-Message-State: AOUpUlESdq3hDk1l7xKDnaM5/h18Sb0YXhHowsdSefIFWBEu1+rgoOZB jFAd9oBGmHKeiFGSUREVU5gP9tDz44g= X-Received: by 2002:a2e:63c5:: with SMTP id s66-v6mr1636237lje.23.1533817938724; Thu, 09 Aug 2018 05:32:18 -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 l3-v6sm1344110lfi.36.2018.08.09.05.32.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 09 Aug 2018 05:32:17 -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 v3 3/3] arm: dts: ls1021a: Enable I2C DMA support Date: Thu, 9 Aug 2018 14:32:07 +0200 Message-Id: <20180809123207.9732-4-esben.haabendal@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180809123207.9732-1-esben.haabendal@gmail.com> References: <20180809123207.9732-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