Received: by 10.223.185.116 with SMTP id b49csp720528wrg; Wed, 21 Feb 2018 05:57:19 -0800 (PST) X-Google-Smtp-Source: AH8x224SuXnp12thud+V3yZjaqfz2XhbI2tbLm1KxO2dwISJO+vkaXHqb9d3uH3YzgXpoenb4+iF X-Received: by 2002:a17:902:8b85:: with SMTP id ay5-v6mr3293164plb.329.1519221439809; Wed, 21 Feb 2018 05:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519221439; cv=none; d=google.com; s=arc-20160816; b=Jgsq17q9IuwyrMpIgTaS30Ska9QIKzEINkcZYsfmWSHg/j6FCbSxHldNzt78xqdcFq WqVTN4kpZ4NNd6SZHwa1caMIWqkYx2OCHut/NtBhxjYytJUUs0wb6mzUNzdfaEMv7wjZ dEpgxnfSYHnqx80m2Op5JbVDlkIZbWlz7iSTuJHvB6TW1cwEZnCH0Tw/AimAspobZCoj IBBw6rZL1NDi7/AvSiOJ8nhhZER+oL1gci52077qkLw+4KizI6EvBUFsa0ZXkxeBDsEQ GBOKKp0MqYx67oPctjsopm8dNw+lxlOrQQhL/eSR8JOdfeACSBWHc/wIxLrGrhnN+TDd VdMg== 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=5cWS4r65/9Op06zPBZLcDwHPO7EKVxzoVuOgwqLuUeg=; b=WBIrXvuLgzqCogC+4ptZ9D7upjkdaC0EZzKnSntikNyyJWwFIIGxWfrX5zEtMIGj9A 9rc2kWo0F9nuj3YGjsh4LMz0Ej5hs4GJReN0grdaoj9756Y6iBLyQV75UF99XmFWsFkP J4WXBu0LUv2hlfV9WaJKZSVC4fEftqd0G7aOt0U56mplXruwynIZ7JB9+qLEF+LzpKxn NYyDYMKGsub5B3VE6rHoVOiT3rX13oaaHanuASeZrj+jr61fJcG9kHLlqYuaPH3yChti phC2ACxnpUqo+UaFEj10uXEnHmp25Y1NFNUnjx89OUTkkjBBnwcbInt7JbCz9iwHqmA6 DnKg== 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 y125si1224721pgb.120.2018.02.21.05.57.05; Wed, 21 Feb 2018 05:57:19 -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; 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 S937137AbeBUNog (ORCPT + 99 others); Wed, 21 Feb 2018 08:44:36 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41404 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936089AbeBUNG6 (ORCPT ); Wed, 21 Feb 2018 08:06:58 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 424E7F1D; Wed, 21 Feb 2018 13:06:57 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Viresh Kumar , Olof Johansson Subject: [PATCH 4.15 033/163] arm: spear13xx: Fix dmas cells Date: Wed, 21 Feb 2018 13:47:42 +0100 Message-Id: <20180221124532.069334488@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124529.931834518@linuxfoundation.org> References: <20180221124529.931834518@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.15-stable 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. Cc: stable@vger.kernel.org # v3.10+ 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: Greg Kroah-Hartman --- 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 @@ -64,6 +64,6 @@ Example: reg = <0xe0000000 0x1000>; interrupts = <0 35 0x4>; 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 @@ -142,8 +142,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"; }; @@ -290,8 +290,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"; };