Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2484575imm; Thu, 7 Jun 2018 11:22:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIknA5C2tSk4pN4zdcLwt3awCsT80um6cIAVclnFz+hgA7jxZJ80QYP53LEEwE+W48m5HA0 X-Received: by 2002:a17:902:788e:: with SMTP id q14-v6mr519098pll.234.1528395752070; Thu, 07 Jun 2018 11:22:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528395752; cv=none; d=google.com; s=arc-20160816; b=sZVHyGcfksM7Hl9GAYfse8DoIBhvZa7fuPNAAtBEoxt6+CWAN8RK8OBiiTSQUM+i/y Oehqbdwu+UksBqma1pwm4J4K3/6Xmq4GGE7yuCF7mIiLyCvWRmmSwtqrfjLN2U1cdLQx YDyYiREwua/vLsUo4V577G2I8lKs5OLV9x7QvzoT2IVGeKhSuimBGvvaj247dETBoQ6+ sV7f/M818V1FvrSxf/ZV18Koz7kklyhbeQp8IZV2BCWG7FRDJq6gNLzNLK4ovLZ/ZB1W tSO/IoVFENAH6uMwO9prUY/bIsOiREqIzpO/56TLifu0SpTEWTi4j2rG1VNHSIOSi4cC GY5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=lRTtyfY/oxSi+QsOsaHO4qn/eXT4gAxXRlrVC8OZKXQ=; b=fDHlrdGYuaADJUjtnJv80XOKpwlXD/+vpgouYBEEau5hLY1aYSmUQrny8S9/04yRpn nJxD/YMrRSVDBj18TL6cLa8BgHr9zYPTV+pffoG6tpXzKmqntAdFVUtrWRyCNLjvQpDR iv7CXFBh6fCdP+s0jM06MQ6FqRvpI7PURvBs5CY9X+/ytTFurwabygGd4NdLtIh7Z6MM kp6h95sCpD1jHIhP0/4IVu5N07vDhMaYyJ5mOYaa0RLP7pnSTPSIkpwRfBSdWPQIGOwE BNB9IzYTF36eGFT5V1rjNXnf74AEC7w52CPPca9UjdFgM+WvsHdRUK01jrSgqw7FAbax tUOg== 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 m28-v6si17463944pgn.197.2018.06.07.11.22.17; Thu, 07 Jun 2018 11:22:32 -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 S935577AbeFGPDR (ORCPT + 99 others); Thu, 7 Jun 2018 11:03:17 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41490 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965050AbeFGPDM (ORCPT ); Thu, 7 Jun 2018 11:03:12 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbr-0005Zv-Ef; Thu, 07 Jun 2018 15:09:51 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvb2-0002qf-3R; Thu, 07 Jun 2018 15:09:00 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Arnd Bergmann" , "Viresh Kumar" , "Olof Johansson" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 117/410] arm: spear13xx: Fix dmas cells In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Viresh Kumar commit cdd10409914184c7eee5ae3e11beb890c9c16c61 upstream. The "dmas" cells for the designware DMA controller need to have only 3 properties apart from the phandle: request line, src master and destination master. But the commit 6e8887f60f60 updated it incorrectly while moving from platform code to DT. Fix it. Fixes: 6e8887f60f60 ("ARM: SPEAr13xx: Pass generic DW DMAC platform data from DT") Reported-by: Arnd Bergmann Signed-off-by: Viresh Kumar Signed-off-by: Olof Johansson Signed-off-by: Ben Hutchings --- Documentation/devicetree/bindings/dma/snps-dma.txt | 2 +- arch/arm/boot/dts/spear1340.dtsi | 4 ++-- arch/arm/boot/dts/spear13xx.dtsi | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/Documentation/devicetree/bindings/dma/snps-dma.txt +++ b/Documentation/devicetree/bindings/dma/snps-dma.txt @@ -58,6 +58,6 @@ Example: interrupts = <0 35 0x4>; status = "disabled"; dmas = <&dmahost 12 0 1>, - <&dmahost 13 0 1 0>; + <&dmahost 13 1 0>; dma-names = "rx", "rx"; }; --- a/arch/arm/boot/dts/spear1340.dtsi +++ b/arch/arm/boot/dts/spear1340.dtsi @@ -113,8 +113,8 @@ reg = <0xb4100000 0x1000>; interrupts = <0 105 0x4>; status = "disabled"; - dmas = <&dwdma0 0x600 0 0 1>, /* 0xC << 11 */ - <&dwdma0 0x680 0 1 0>; /* 0xD << 7 */ + dmas = <&dwdma0 12 0 1>, + <&dwdma0 13 1 0>; dma-names = "tx", "rx"; }; --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -100,7 +100,7 @@ reg = <0xb2800000 0x1000>; interrupts = <0 29 0x4>; status = "disabled"; - dmas = <&dwdma0 0 0 0 0>; + dmas = <&dwdma0 0 0 0>; dma-names = "data"; }; @@ -283,8 +283,8 @@ #size-cells = <0>; interrupts = <0 31 0x4>; status = "disabled"; - dmas = <&dwdma0 0x2000 0 0 0>, /* 0x4 << 11 */ - <&dwdma0 0x0280 0 0 0>; /* 0x5 << 7 */ + dmas = <&dwdma0 4 0 0>, + <&dwdma0 5 0 0>; dma-names = "tx", "rx"; };