Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6692012imm; Tue, 24 Jul 2018 01:05:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd7EGx88BaPBF6RpIj6y5z6zUI3rY1umVwGW3uWNwWR+tf4xboaCEaHnEO8vFsHx03J81+K X-Received: by 2002:a17:902:aa01:: with SMTP id be1-v6mr15981081plb.296.1532419500900; Tue, 24 Jul 2018 01:05:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532419500; cv=none; d=google.com; s=arc-20160816; b=kTNVxjNW1x0s+KUZzK5WihZ/F1vGT45mYTGXvekb66UgwEWT9oGLKID7gr2ZCS9BGm BsCab2gNl0VBAuL2gmctrVrZh5q4A3T2HhLZ0RtYSmY8OvPLHykqj+ie1It+8TZfb1IP 09kEEZJ+SzqCmmaMjUR15s7paxDedX1GYTkAjkIIa4L/ruOhxuJiQE3LzMX3N6wZT+yv 2UkieBWInaiuY61NgCKmOE03WaDuZdBn7lxJOQSjH7sKiWazOGNwHlXqc/s3R4GfvRIh DjQsSJattqMrSjrSOPvZmve75Y2IP/MOUvusKgTVEUZNjqp0pGz00NYj8HpMeRYssc4K 9vnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=wnVmjhtccFjuoXPNlSAumTSb1W3ypAEXTmeGaIKG/bI=; b=F1g3bmhjSPFOTqCqMkNJlYsxROFha/hJGv+fOd0P1lXl4AQN4+ayadJYWMFVGnxsrQ 6T2Mx3+DHDvyqsiJEB44cdlUopoixcx5syxJUFBya4GzKGvR/PwI6CvqgfRtk4R6kodh lMf5iXRJVzYNttThvdFuWbfTrPWneGdJMsp8CIEedWoysBLoa2XDR+OgmxoWzPbMH+o7 n8owPULA6yiEnPJ8d1x0PvtuLPFutozegGcl7ko6k1bOvYKFBn2TBO8HBlmINxXwV7kT /5PLMmicUSJPBDjR2NnM1u695yoXtN8THP9F7mWOirTw4hALfEaGouRyO17zqrQWHNfV C2Jg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y26-v6si9986683pfn.111.2018.07.24.01.04.46; Tue, 24 Jul 2018 01:05:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388558AbeGXJIK (ORCPT + 99 others); Tue, 24 Jul 2018 05:08:10 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:52937 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388427AbeGXJIK (ORCPT ); Tue, 24 Jul 2018 05:08:10 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhsHS-00005W-0Z; Tue, 24 Jul 2018 10:02:50 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1fhsHR-0003jP-0Z; Tue, 24 Jul 2018 10:02:49 +0200 Date: Tue, 24 Jul 2018 10:02:48 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Esben Haabendal Cc: linux-i2c@vger.kernel.org, Wolfram Sang , Rob Herring , Mark Rutland , Yuan Yao , Esben Haabendal , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Shawn Guo , kernel@pengutronix.de, NXP Linux Team Subject: Re: [PATCH v2 4/4] arm: dts: ls1021a: Enable I2C DMA support Message-ID: <20180724080248.gncihyhiibzkvkzg@pengutronix.de> References: <20180709094304.8814-1-esben.haabendal@gmail.com> <20180709094304.8814-5-esben.haabendal@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180709094304.8814-5-esben.haabendal@gmail.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, expanding Cc a bit to include Shawn and the kernel teams of Pengutronix and NXP. On Mon, Jul 09, 2018 at 11:43:04AM +0200, Esben Haabendal wrote: > 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"; > }; This is a bit orthogonal to the other changes in this series and needs at least an ack from Shawn. Looks ok in my eyes. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |