From patchwork Wed Jun 17 12:12:20 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 6624701 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 248519F46A for ; Wed, 17 Jun 2015 12:13:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F75E208A6 for ; Wed, 17 Jun 2015 12:13:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 789C1208A5 for ; Wed, 17 Jun 2015 12:13:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756636AbbFQMN0 (ORCPT ); Wed, 17 Jun 2015 08:13:26 -0400 Received: from down.free-electrons.com ([37.187.137.238]:57831 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754490AbbFQMMh (ORCPT ); Wed, 17 Jun 2015 08:12:37 -0400 Received: by mail.free-electrons.com (Postfix, from userid 106) id C0918243F; Wed, 17 Jun 2015 14:12:37 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id CE357243A; Wed, 17 Jun 2015 14:12:33 +0200 (CEST) From: Thomas Petazzoni To: Vinod Koul , Dan Williams , dmaengine@vger.kernel.org Cc: Tawfik Bayouk , Nadav Haklai , Lior Amsalem , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Maxime Ripard , linux-arm-kernel@lists.infradead.org, Thomas Petazzoni Subject: [PATCH RESEND 3/4] ARM: mvebu: remove unneeded dmacap, * properties in Device Trees Date: Wed, 17 Jun 2015 14:12:20 +0200 Message-Id: <1434543141-3242-4-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1434543141-3242-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1434543141-3242-1-git-send-email-thomas.petazzoni@free-electrons.com> Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The dmacap,* properties are now ignored by the mv_xor driver, who knows what are the capabilities of the hardware. For the DMA_XOR and DMA_MEMCPY capabilities, there are no changes: they were anyway mentionned in all DTs. The DMA_MEMSET operation (enabled by dmacap,memset) was ignored since the removal of DMA_MEMSET support from mv_xor. Also, now the DMA_INTERRUPT capability is enabled for all SoCs. Signed-off-by: Thomas Petazzoni Acked-by: Gregory CLEMENT --- Note: this patch should only be applied once 'dmaengine: mv_xor: remove support for dmacap,* DT properties' is applied. --- arch/arm/boot/dts/armada-370.dtsi | 10 ---------- arch/arm/boot/dts/armada-375.dtsi | 10 ---------- arch/arm/boot/dts/armada-38x.dtsi | 10 ---------- arch/arm/boot/dts/armada-39x.dtsi | 10 ---------- arch/arm/boot/dts/armada-xp.dtsi | 10 ---------- arch/arm/boot/dts/dove.dtsi | 8 -------- 6 files changed, 58 deletions(-) diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index 00b50db5..cb68579 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi @@ -278,14 +278,9 @@ xor00 { interrupts = <51>; - dmacap,memcpy; - dmacap,xor; }; xor01 { interrupts = <52>; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; @@ -297,14 +292,9 @@ xor10 { interrupts = <94>; - dmacap,memcpy; - dmacap,xor; }; xor11 { interrupts = <95>; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; }; diff --git a/arch/arm/boot/dts/armada-375.dtsi b/arch/arm/boot/dts/armada-375.dtsi index f076ff8..ebee84a 100644 --- a/arch/arm/boot/dts/armada-375.dtsi +++ b/arch/arm/boot/dts/armada-375.dtsi @@ -476,14 +476,9 @@ xor00 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor01 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; @@ -496,14 +491,9 @@ xor10 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor11 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi index 218a2ac..1710523 100644 --- a/arch/arm/boot/dts/armada-38x.dtsi +++ b/arch/arm/boot/dts/armada-38x.dtsi @@ -456,14 +456,9 @@ xor00 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor01 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; @@ -476,14 +471,9 @@ xor10 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor11 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index ecd1318..9c510d8 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -331,14 +331,9 @@ xor00 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor01 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; @@ -351,14 +346,9 @@ xor10 { interrupts = ; - dmacap,memcpy; - dmacap,xor; }; xor11 { interrupts = ; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 013d63f..9c46054 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi @@ -209,14 +209,9 @@ xor10 { interrupts = <51>; - dmacap,memcpy; - dmacap,xor; }; xor11 { interrupts = <52>; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; @@ -229,14 +224,9 @@ xor00 { interrupts = <94>; - dmacap,memcpy; - dmacap,xor; }; xor01 { interrupts = <95>; - dmacap,memcpy; - dmacap,xor; - dmacap,memset; }; }; }; diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi index 9ad8295..e71c552 100644 --- a/arch/arm/boot/dts/dove.dtsi +++ b/arch/arm/boot/dts/dove.dtsi @@ -261,14 +261,10 @@ channel0 { interrupts = <39>; - dmacap,memcpy; - dmacap,xor; }; channel1 { interrupts = <40>; - dmacap,memcpy; - dmacap,xor; }; }; @@ -281,14 +277,10 @@ channel0 { interrupts = <42>; - dmacap,memcpy; - dmacap,xor; }; channel1 { interrupts = <43>; - dmacap,memcpy; - dmacap,xor; }; };