Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3548032imu; Mon, 7 Jan 2019 05:27:44 -0800 (PST) X-Google-Smtp-Source: ALg8bN65+C4hCHr7OxX9vhb5+N/LjC/f1pIMDUeUGG2RgKAD8uXpva1fQiuwMcA62bWfnpU2MeN7 X-Received: by 2002:a65:41c2:: with SMTP id b2mr10869519pgq.67.1546867663938; Mon, 07 Jan 2019 05:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546867663; cv=none; d=google.com; s=arc-20160816; b=xEezFm53IlKy0Y47BECHjJ65g0ex134B80W8OBXPxo9yg1R9gGyGyrqgp56CIcLfTd ZqwVEFtao+vDZdSJhI/Jjkf+dtSqKRwDVCAwShViiGjb2jIzTSqX6nPhN7rngpRVGmQe tNFiMXZBYz+XUfEs6KhpyztwBbbAYPSP3/346F06s0zA0LTtpcQIHwLlCYV8uso5Znw0 qLHnVwXABiuO+BT88WcSLHC5EjOZYm05Z4FOd/rUq5in6xfyjZZg4ZaTVnFSuWPNuyrd 1P4JL0IUkS0MbKDYoc8myXOrLNnIj67THeXGaKs9EOrhJOwxgJT3aiPQI9boO66/P9GA O0aQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T9kSgtB+6bwBO2+ezniVgU9XTsFZAzPwnM/wMIv4bq4=; b=DHdecQbcqkp7IzClzElvSD4frggwajlOKj7Dq03d58DBsW4juaAQrKPDZfA9O5kXJH UpZTi4FbHMd3do1IJutJLokrsN2nt4XxJXhGrKmEOUR13eKlh32PUKZuskroXA2fQweg QV3bKvhckRsp/IBYVG5elUw/bdoUhQhLhEg5RcrFSGEFf/xMT3iadsZ4C63wnQ7DJjNQ QPIGC1ahxss1J3UQuX4l1kdWe6HQ5w1wdkhcNMC3tIkq6NHmgrfJxmj/CKiXqT+ZVYB7 nKE1Fmyc49hTvwT2NshtD59izvO0jKiiTvQiQbBv8ky2SRChef9nEg4vF8Rs+J4ZW1mK jq2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=oiDyAptw; 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 x3si59878366pgf.453.2019.01.07.05.27.28; Mon, 07 Jan 2019 05:27:43 -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=oiDyAptw; 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 S1727622AbfAGNYJ (ORCPT + 99 others); Mon, 7 Jan 2019 08:24:09 -0500 Received: from mail.kmu-office.ch ([178.209.48.109]:40892 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728448AbfAGNYF (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 6596A5C11D1; 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:in-reply-to:references:references; bh=T9kSgtB+6bwBO2+ezniVgU9XTsFZAzPwnM/wMIv4bq4=; b=oiDyAptwamZ1YjIWD/fLsgaE+c4v+xHxd5ELkI5OO4KHcd7Zs4ia4b8mOZyiMPX0BFPH5O ha1W5XZYSq4wsW9kN3AfNkmz1mxM6dnr6rKCLZ/uF7NGs3V6U+YAiGvrO7To1e1g3Rcg4v r5QojwcXkGrWpvebHUX2P9dIrzBmuGI= 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 2/2] ARM: dts: imx7: add DMA properties for ECSPI Date: Mon, 7 Jan 2019 14:22:26 +0100 Message-Id: <20190107132226.16216-2-stefan@agner.ch> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190107132226.16216-1-stefan@agner.ch> References: <20190107132226.16216-1-stefan@agner.ch> 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/imx7s.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index a052198f6e96..b9330176c3af 100644 --- a/arch/arm/boot/dts/imx7s.dtsi +++ b/arch/arm/boot/dts/imx7s.dtsi @@ -653,6 +653,8 @@ clocks = <&clks IMX7D_ECSPI4_ROOT_CLK>, <&clks IMX7D_ECSPI4_ROOT_CLK>; clock-names = "ipg", "per"; + dmas = <&sdma 6 7 1>, <&sdma 7 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -734,6 +736,8 @@ clocks = <&clks IMX7D_ECSPI1_ROOT_CLK>, <&clks IMX7D_ECSPI1_ROOT_CLK>; clock-names = "ipg", "per"; + dmas = <&sdma 0 7 1>, <&sdma 1 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -746,6 +750,8 @@ clocks = <&clks IMX7D_ECSPI2_ROOT_CLK>, <&clks IMX7D_ECSPI2_ROOT_CLK>; clock-names = "ipg", "per"; + dmas = <&sdma 2 7 1>, <&sdma 3 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; @@ -758,6 +764,8 @@ clocks = <&clks IMX7D_ECSPI3_ROOT_CLK>, <&clks IMX7D_ECSPI3_ROOT_CLK>; clock-names = "ipg", "per"; + dmas = <&sdma 4 7 1>, <&sdma 5 7 2>; + dma-names = "rx", "tx"; status = "disabled"; }; -- 2.20.1