Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1420509imm; Thu, 5 Jul 2018 23:05:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdyiJylckhKhYS3iU4agLBWF+YOZd6IOF+B7JV648htPnPNucHuGfGVC30AAEOZfx3qriFw X-Received: by 2002:a63:3c4a:: with SMTP id i10-v6mr8159228pgn.415.1530857145675; Thu, 05 Jul 2018 23:05:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530857145; cv=none; d=google.com; s=arc-20160816; b=Ss3fTnbz35Wd+L0dQM03OCjbPNW8GX8GzWVEUKmfSSRwDsGK5Cl6TQ3pRlDNqnMy+H NDToaYH072bUsGbWWeti7G4xxYi6z/J3433Y3swFtoX9vnv4fkvLnAD8qFuJ/KDehy/8 W1Z9834ytAt1nRyi1nM6H5OQe4C0mWf2/0wLJV5JLkrOvop1Ki47R7lZaJQktxasN+J9 Sm/AV+HisabSAJKLqsshU0a3W2mbKrGQuyYcOurqoeIofe3HcKnutR2e0fhe5O55kMZr co0tzAyjfYCQfGx/U9u+6LwCXG8/9yDtT6mnhSvmQk93zC1fP0EiVt0uzrrNhDYi0TY6 H7PQ== 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=qsPXD73t5ullkDuj6IerpncObqF5yHmqcI97qunRJYc=; b=CSp0nlrVH28LhvqZopzsBAVg/i0LBeRpeGr+aB+fSKSET/AVxID/xQ+xt/U5NzpCEs dwbPgtyvP8yXFhM+Ok3Y+RGBO2HKbGQwi1Q49Td4gAybiCPe8D0MGpE0LY72p+uDF2pR AU3Li1HXEy4DYhjw7pUgTcMFJ+I+pazNb+oo9PLtl3ntGLUC5GXbCuUyW8Z3y/y3YA1Q cvkHAtDZifweiw7GkgcDNzeVlXkCaTOH4EMblWUMQ3jD9rKPK99La+TqFkBmFG/b8ITL Eyh9lcsEO4+en3c4H/WmnevXcaUIY0mqNTnVuWCComMmrBKbgyrp0QsiA2kMtvIBIiNP kYgw== 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 g27-v6si2886643pgm.208.2018.07.05.23.05.30; Thu, 05 Jul 2018 23:05:45 -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 S933653AbeGFFtl (ORCPT + 99 others); Fri, 6 Jul 2018 01:49:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60358 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933634AbeGFFth (ORCPT ); Fri, 6 Jul 2018 01:49:37 -0400 Received: from localhost (D57D388D.static.ziggozakelijk.nl [213.125.56.141]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 3665786A; Fri, 6 Jul 2018 05:49:37 +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.17 46/46] ARM: dts: imx6q: Use correct SDMA script for SPI5 core Date: Fri, 6 Jul 2018 07:47:07 +0200 Message-Id: <20180706054526.969964521@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180706054524.595521988@linuxfoundation.org> References: <20180706054524.595521988@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.17-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"; };