Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3548072imu; Mon, 7 Jan 2019 05:27:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN6LxhzZsbNYrMB1+m5gJD9Xe6H+QinZL3NgjEuKeAQCW4SCeYOip5Wk+lYoyx2D39RIjzQD X-Received: by 2002:a17:902:981:: with SMTP id 1mr59602336pln.142.1546867667497; Mon, 07 Jan 2019 05:27:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546867667; cv=none; d=google.com; s=arc-20160816; b=kSa3zlff9QB6i0cFu+cBfByTfOUOkv+6PZGiA281FBjvSYmMTlQDTpX8Pehjc93ZGM buMBVBPpT9bVh0YW7PHS+mFIjVSuiy5chxo0qP/oruc+6OEseJgjCDawXyeGtq6Wro8+ Z+8213Z5O7bp29+5WsVRE1P34qKhVt2NvVYpGCA/0EjHXh0t1a/rG3T0X96b3R9cxoFT vdcwo1iXPE+aM7TU+kX+GwFiqLrSr0NpcnQg1FBB8aMete2lxdcXKiTr5UonCsO+/K/r pForbReQ2zIerTRCkO1vdG3s5CxepBV+JuI3D3xogmPvoZx5zebRltU3dfI2hfOwg3P2 6FjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=p18V2ScE8bfhgyOb+Y6Vk9eLEW/2z29TyXa17JP8ZKc=; b=L4Efx/75jRzZAbL1AqogwIxoSfyu9yKtbjGvuCtKd9zmWHuSZM2E7Kbh6Nrp1lWvip k3ME0vug9DZ1DZgUZUrOBhsNbab38nD9Za9waxbtgZvcRsQlhDzhLY/ab7lUi/PEgtim NzTCHkHxH9pB7p13KSqOp1EWxNgi5vwCFka/jTKuvpy92ZJ4akQft6dGpOuLL8oDLFuQ VkzLR9gftvzWJRjQ4oyMEcZCZUm+MJtVqWhyGkFBeQ8qt8Tmnv1zRMNa9L4bUYBzj43c KAhgWEm7yEae0imza5nmD1y9sv8nviopjPjPruNLEkixHSqwPQfwiFG2gJ1gt8KvKvP/ Ol9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b="gnUq7/ga"; 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 3si30933567plq.138.2019.01.07.05.27.32; Mon, 07 Jan 2019 05:27:47 -0800 (PST) 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=pass header.i=@agner.ch header.s=dkim header.b="gnUq7/ga"; 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 S1727780AbfAGN0K (ORCPT + 99 others); Mon, 7 Jan 2019 08:26:10 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:40884 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728317AbfAGNYF (ORCPT ); Mon, 7 Jan 2019 08:24:05 -0500 Received: from trochilidae.toradex.int (unknown [46.140.72.82]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 229215C07CF; Mon, 7 Jan 2019 14:24:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1546867443; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references; bh=p18V2ScE8bfhgyOb+Y6Vk9eLEW/2z29TyXa17JP8ZKc=; b=gnUq7/gajPai7SJk3saBLGRfdXHtD12YFN7r/bILFd5YA05X0WP8+9cGd6A6LfLGnJSGz3 /Sw3qbgbCAzqfYaayQfuBZz9aSvQquoPHVPR5Vdaq73dciBoZz+gCBQX+F37jJNsIbO+EG qvP6abmQE+Rjbk64YI3ZFzkCDXnbVnc= From: Stefan Agner To: shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, fabio.estevam@nxp.com, linux-imx@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 1/2] ARM: dts: imx6ul: add DMA properties for ECSPI Date: Mon, 7 Jan 2019 14:22:25 +0100 Message-Id: <20190107132226.16216-1-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow to use DMA for SPI by adding the appropriate DMA properites to the ecspi nodes. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/imx6ul.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index 6dc0b569acdf..b0193abf7005 100644 --- a/arch/arm/boot/dts/imx6ul.dtsi +++ b/arch/arm/boot/dts/imx6ul.dtsi @@ -227,6 +227,8 @@ clocks = <&clks IMX6UL_CLK_ECSPI1>, <&clks IMX6UL_CLK_ECSPI1>; clock-names = "ipg", "per"; + dmas = <&sdma 3 7 1>, <&sdma 4 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -239,6 +241,8 @@ clocks = <&clks IMX6UL_CLK_ECSPI2>, <&clks IMX6UL_CLK_ECSPI2>; clock-names = "ipg", "per"; + dmas = <&sdma 5 7 1>, <&sdma 6 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -251,6 +255,8 @@ clocks = <&clks IMX6UL_CLK_ECSPI3>, <&clks IMX6UL_CLK_ECSPI3>; clock-names = "ipg", "per"; + dmas = <&sdma 7 7 1>, <&sdma 8 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -263,6 +269,8 @@ clocks = <&clks IMX6UL_CLK_ECSPI4>, <&clks IMX6UL_CLK_ECSPI4>; clock-names = "ipg", "per"; + dmas = <&sdma 9 7 1>, <&sdma 10 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; -- 2.20.1