From patchwork Tue Mar 5 10:46:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2218581 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 126F6DF24C for ; Tue, 5 Mar 2013 10:48:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UCpNT-0005iJ-9k; Tue, 05 Mar 2013 10:45:47 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UCpNM-0005hI-4C for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 10:45:44 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ600AHAOJC6R00@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 19:45:35 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.124]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id C3.51.18793.ECCC5315; Tue, 05 Mar 2013 19:45:34 +0900 (KST) X-AuditID: cbfee68f-b7f6a6d000004969-ec-5135ccce204b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 72.F4.03880.ECCC5315; Tue, 05 Mar 2013 19:45:34 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MJ600BL6OJRHE00@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 19:45:34 +0900 (KST) From: Padmavathi Venna To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, padma.v@samsung.com, padma.kvr@gmail.com Subject: [PATCH V2] ARM: dts: Modify SPI nodes according generic DMA DT bindings Date: Tue, 05 Mar 2013 16:16:34 +0530 Message-id: <1362480394-1064-1-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDLMWRmVeSWpSXmKPExsWyRsSkRvfcGdNAg+Z2MYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJXx9s4W5oK7ghVvlh5gaWD8y9vFyMkhIWAi0bv7NCOELSZx4d56 ti5GLg4hgaWMEn/2zGaHKbr+ZT8ziC0ksIhRYvIuAwh7K5PElZcuXYwcHGwCOhItZ11AekUE 5jBKNG+fwQjiMAtMZ5Q4snkCK0iDsECAxPerd8CGsgioSkzseQ42lFfASeLI9wNQVyhIHJv6 lRWkWUJgB5vE8e5tUA0CEt8mH2IB2SYhICux6QAzRL2kxMEVN1gmMAouYGRYxSiaWpBcUJyU XmSsV5yYW1yal66XnJ+7iREYUqf/PevfwXj3gPUhxmSgcROZpUST84EhmVcSb2hsYm5qbGpm ZGlpaUqasJI4r/wlmUAhgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjDumLr22cfWN2Sqfqt6Z OyeUb5tvyfiocf6NnbcWcP/8vOxipEW2R5lqhXbhVumEeUsN2Gu0+BX3FvG4TjL/9+nS7cti bbmdVS5ubXbvAlaIrlpxyf7d9vCpelLR00Sehc7wi+aLcN0TeIftwKNrU7QS2jee7g8+LSBi 4vh/7dG4mpNzJGeYJiuxFGckGmoxFxUnAgCRxvh+PwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xgO65M6aBBrfWc1lsenyN1YHRY/OS +gDGqAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zByg qUoKZYk5pUChgMTiYiV9O0wTQkPcdC1gGiN0fUOC4HqMDNBAwhrGjLd3tjAX3BWseLP0AEsD 41/eLkZODgkBE4nrX/YzQ9hiEhfurWcDsYUEFjFKTN5lAGFvZZK48tKli5GDg01AR6LlLJDJ xSEiMIdRonn7DEYQh1lgOqPEkc0TWEEahAUCJL5fvcMOYrMIqEpM7HkOtoBXwEniyPcDjBDL FCSOTf3KOoGRewEjwypG0dSC5ILipPRcI73ixNzi0rx0veT83E2M4IB9Jr2DcVWDxSFGAQ5G JR5ehqMmgUKsiWXFlbmHGCU4mJVEeBccMQ0U4k1JrKxKLcqPLyrNSS0+xJgMtH0is5Rocj4w mvJK4g2NTcxNjU0tTSxMzCxJE1YS52U89SRASCA9sSQ1OzW1ILUIZgsTB6dUA+MK14aYSDfX ucqqCgEdggleH01DZq/dtun51V2+qY8Oh88M6WmMvMoyh8X+wvV2z53v1te/Z7jO6L4/PUSR n/GcWMhkk/J1Pmt2XDV22FXwokX348yzizkFspk03yvyWH2LKvvbFlSnaHb+UvjvnL02R8ui d9mUVgVVNRZVVy5dFf10y5WzN5RYijMSDbWYi4oTAR6yK3qcAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130305_054540_439681_A412CCF5 X-CRM114-Status: UNSURE ( 7.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.4 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.25 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.6 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 HDRS_LCASE Odd capitalization of message header Cc: kgene.kim@samsung.com, arnd@arndb.de, sbkim73@samsung.com, broonie@opensource.wolfsonmicro.com, grant.likely@secretlab.ca, vinod.koul@intel.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch removes custom way of adding spi dma channels and adds according to new generic DMA DT bindings on samsung exynos4 and exynos5440 platforms. Signed-off-by: Padmavathi Venna --- Changes since V1: - Corrected the pdma phandle in spi1 node. arch/arm/boot/dts/exynos4.dtsi | 15 +++++++++------ arch/arm/boot/dts/exynos5440.dtsi | 5 +++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 1a62bcf..4521a72 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -235,8 +235,9 @@ compatible = "samsung,exynos4210-spi"; reg = <0x13920000 0x100>; interrupts = <0 66 0>; - tx-dma-channel = <&pdma0 7>; /* preliminary */ - rx-dma-channel = <&pdma0 6>; /* preliminary */ + dmas = <&pdma0 7 + &pdma0 6>; + dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -246,8 +247,9 @@ compatible = "samsung,exynos4210-spi"; reg = <0x13930000 0x100>; interrupts = <0 67 0>; - tx-dma-channel = <&pdma1 7>; /* preliminary */ - rx-dma-channel = <&pdma1 6>; /* preliminary */ + dmas = <&pdma1 7 + &pdma1 6>; + dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -257,8 +259,9 @@ compatible = "samsung,exynos4210-spi"; reg = <0x13940000 0x100>; interrupts = <0 68 0>; - tx-dma-channel = <&pdma0 9>; /* preliminary */ - rx-dma-channel = <&pdma0 8>; /* preliminary */ + dmas = <&pdma0 9 + &pdma0 8>; + dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; status = "disabled"; diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 9a99755..31a3626 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -79,8 +79,9 @@ compatible = "samsung,exynos4210-spi"; reg = <0xD0000 0x1000>; interrupts = <0 4 0>; - tx-dma-channel = <&pdma0 5>; /* preliminary */ - rx-dma-channel = <&pdma0 4>; /* preliminary */ + dmas = <&pdma0 5 + &pdma0 4>; + dma-names = "tx", "rx"; #address-cells = <1>; #size-cells = <0>; };