Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2947448ybi; Mon, 10 Jun 2019 01:18:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/Ew9xOv62c7dAl0bciJkbGZDqI1hMN6KQYJk/85ELwlxlsuFcl0KHLzVrmMOjh4NZCSLk X-Received: by 2002:a63:4710:: with SMTP id u16mr14872316pga.447.1560154711738; Mon, 10 Jun 2019 01:18:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560154711; cv=none; d=google.com; s=arc-20160816; b=nY/hQYPvSeOlUa7vvDiyhTxNvAz3btPnMN1kdQx1LuOZwC2JyoAe5tn7jJYZGQuiBi oUuvbeV9cMRdWPVTLY8g70R5mKpa+NB17Slv24xgfve0Vo3dASfkWKUDeQpyihUPcK/N G1vpcOpeN51CZMtDxY+5kO6/iHR63PdH/DSTnFLuvkiqIFx0DQEZiYPfRlAnf7BTg+QB vxC3p6E2bqPPLGF17obFcHkEQveAjqv0FQhyz2kYXgdkENjiqP6tc0VVg0KgenEym0yu RG2K5dtt1y6Oj9cU8dLwDITWxx7qhvNO4HSIO0jXj4XdETvUZtqlZYcJouZeXUwC/FAZ PpQg== 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; bh=9JX8Rvzig19fCWYkbFuGK85alJ9lyp9tITwLUjGQmJQ=; b=C1ANa7XDz/9higlCmgthQWeICoiVnJnocRD54Kors+/qS49LImrUHwZPPMgDZkqmyQ czR0/U+lTgqVuboc1Z7eThSbl2xbB5s+EDRnke3TWhEFIzCxEqxZ1PqPvp2t3MQebdum 5hRDgpJwVfyaZZ5hr/C3PPNGPIFHC/0mzKeIh5JXW8cghMX9QAFVSarpfj7Yvt/UvhNc BsgvBh+27AYqUZDQkN34flwYp4WU0Oa0989+YyM9NjrXk/px5qewsTAjUaGCe7zIhhcb Kw8RM9Tx8QAIL6yHvvD4/2HnD9FiEPHUreHwFMp3qEzTJsR4uubYhTHnKdbdjcY2pBcR qhHA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si8609782pgp.382.2019.06.10.01.18.16; Mon, 10 Jun 2019 01:18: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; 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=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388666AbfFJIRk (ORCPT + 99 others); Mon, 10 Jun 2019 04:17:40 -0400 Received: from inva021.nxp.com ([92.121.34.21]:37086 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387825AbfFJIQX (ORCPT ); Mon, 10 Jun 2019 04:16:23 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 60DA7200747; Mon, 10 Jun 2019 10:16:21 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5F316200738; Mon, 10 Jun 2019 10:16:13 +0200 (CEST) Received: from localhost.localdomain (mega.ap.freescale.net [10.192.208.232]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id BCD404030E; Mon, 10 Jun 2019 16:16:03 +0800 (SGT) From: yibin.gong@nxp.com To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, broonie@kernel.org, festevam@gmail.com, vkoul@kernel.org, dan.j.williams@intel.com, u.kleine-koenig@pengutronix.de, catalin.marinas@arm.com, l.stach@pengutronix.de, will.deacon@arm.com Cc: linux-spi@vger.kernel.org, linux-imx@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v5 01/15] Revert "ARM: dts: imx6q: Use correct SDMA script for SPI5 core" Date: Mon, 10 Jun 2019 16:17:39 +0800 Message-Id: <20190610081753.11422-2-yibin.gong@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190610081753.11422-1-yibin.gong@nxp.com> References: <20190610081753.11422-1-yibin.gong@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Robin Gong There are two ways for SDMA accessing SPBA devices: one is SDMA->AIPS ->SPBA(masterA port), another is SDMA->SPBA(masterC port). Please refer to the 'Figure 58-1. i.MX 6Dual/6Quad SPBA connectivity' of i.mx6DQ Reference Manual. SDMA provide the corresponding app_2_mcu/mcu_2_app and shp_2_mcu/mcu_2_shp script for such two options. So both AIPS and SPBA scripts should keep the same behaviour, the issue only caught in AIPS script sounds not solide. The issue is more likely as the ecspi errata ERR009165(http://www.nxp.com/docs/en/errata/IMX6DQCE.pdf): eCSPI: TXFIFO empty flag glitch can cause the current FIFO transfer to be sent twice So revert commit 'df07101e1c4a' firstly. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx6q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index d038f41..7175898 100644 --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -172,7 +172,7 @@ clocks = <&clks IMX6Q_CLK_ECSPI5>, <&clks IMX6Q_CLK_ECSPI5>; clock-names = "ipg", "per"; - dmas = <&sdma 11 8 1>, <&sdma 12 8 2>; + dmas = <&sdma 11 7 1>, <&sdma 12 7 2>; dma-names = "rx", "tx"; status = "disabled"; }; -- 2.7.4