Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1414110imm; Thu, 5 Jul 2018 22:57:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeaJSULNdhKiqAgR9K2fwYX2v5FM1y27q7LnVWhKgt3xMQEt2rjWDd1ef6S+a2Pna9btx3W X-Received: by 2002:a17:902:74c2:: with SMTP id f2-v6mr8931279plt.260.1530856653826; Thu, 05 Jul 2018 22:57:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530856653; cv=none; d=google.com; s=arc-20160816; b=s0SqJ5+38FObDNRhFjWaWJ5VQugQychZ9UmNKTeLPon1xqBC8GK38W8ugCWAIPob2u euDKfHkAUpyKwNODgOn6/CWhEdCqRrrgXHC0SWm5CPUZCv01YFRKi/wwDfbGPVtkigH5 iuZd29Pt5bE5tA6OpBlPkO3lueCE28Oj7Vtf1RKq8Wz+jE5qG21ea4KjR2dtdj9C4esX 44OgX7Wy1Ma9pqKZLKyJMFAYNtsKxWSu2s88iGqe/SCyoRNZuQu9rSwoZkOmc5Bz8OQ/ C1izFjtbAbp8mQw+Pxa4XF6fMB5saEAkZBhenBp2rI1zzaqxby4lyXuqaw4b9txpPK04 YYmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Jz8r7KTu8l5CQpMzrHG3gwlc+bgfuDV3I3NUJAtL8aM=; b=NR9Xzl/BSrupNtWtdVeU8x9OrL8fLNzz81VKdC0H91Ruj+WRvImoxy05Qjg/3VDjeC HK/G76x9PCuhZaD+suuUqranx3d1LSGh/5Ze4AZWzs2LuZP8hAtygGFZgeqBctil+n3K fw1Hmq1+3iNUQcJMJXXjQyup7v+TkPf6AjUtG0+uBWOn8TMhBcz/1ztvS72oTQGMIy61 75YvByb429GDw0XimuG3fGrM1NL/WAYrwuVZEU8aCpaDk5oYXLdivvJ/jaSOTe9cNQWI EhW3hFSwVqzhchlVkzrgepjOBhspJdDzpZXgDlCHMWLEYLpr/Me7YTqvhrtESCKjUnqA qkOw== 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 q23-v6si7347282pls.101.2018.07.05.22.57.19; Thu, 05 Jul 2018 22:57:33 -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 S934432AbeGFFvu (ORCPT + 99 others); Fri, 6 Jul 2018 01:51:50 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33516 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933305AbeGFFvq (ORCPT ); Fri, 6 Jul 2018 01:51:46 -0400 Received: from localhost (D57D388D.static.ziggozakelijk.nl [213.125.56.141]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 72913BD8; Fri, 6 Jul 2018 05:51:45 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Nyekjaer , Fabio Estevam , Shawn Guo Subject: [PATCH 4.14 43/61] ARM: dts: imx6q: Use correct SDMA script for SPI5 core Date: Fri, 6 Jul 2018 07:47:07 +0200 Message-Id: <20180706054713.987368381@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180706054712.332416244@linuxfoundation.org> References: <20180706054712.332416244@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sean Nyekjaer commit df07101e1c4a29e820df02f9989a066988b160e6 upstream. According to the reference manual the shp_2_mcu / mcu_2_shp scripts must be used for devices connected through the SPBA. This fixes an issue we saw with DMA transfers. Sometimes the SPI controller RX FIFO was not empty after a DMA transfer and the driver got stuck in the next PIO transfer when it read one word more than expected. commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script for SPI cores") is fixing the same issue but only for SPI1 - 4. Fixes: 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5") Signed-off-by: Sean Nyekjaer Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/imx6q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -96,7 +96,7 @@ clocks = <&clks IMX6Q_CLK_ECSPI5>, <&clks IMX6Q_CLK_ECSPI5>; clock-names = "ipg", "per"; - dmas = <&sdma 11 7 1>, <&sdma 12 7 2>; + dmas = <&sdma 11 8 1>, <&sdma 12 8 2>; dma-names = "rx", "tx"; status = "disabled"; };