From patchwork Tue Mar 5 10:04:22 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2218521 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 D0201DF24C for ; Tue, 5 Mar 2013 10:06:23 +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 1UCoiZ-0000zy-Nc; Tue, 05 Mar 2013 10:03:31 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UCoiV-0000zB-JW for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 10:03:29 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ600DYNML9NB00@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 19:03:23 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 5D.0A.25214.BE2C5315; Tue, 05 Mar 2013 19:03:23 +0900 (KST) X-AuditID: cbfee68e-b7fa46d00000627e-16-5135c2eb10ea Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 0E.CA.03880.BE2C5315; Tue, 05 Mar 2013 19:03:23 +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 <0MJ600844MLGBC70@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 05 Mar 2013 19:03:23 +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] ARM: dts: Modify SPI nodes according generic DMA DT bindings Date: Tue, 05 Mar 2013 15:34:22 +0530 Message-id: <1362477862-352-1-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsWyRsSkVvf1IdNAg9fbNS02Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfG++5b7AUzBStutVxia2A8zdvFyMkhIWAisWbWGyYIW0ziwr31 bF2MXBxCAksZJf79mcAEUzTt0E+oxCJGibXHpzNBOFuZJBb1X2TvYuTgYBPQkWg56wISFxGY wyjRvH0GI4jDLDCdUeLI5gmsIKOEBXwltv7eCDaWRUBVYum6qWA2r4CjxLHnH1gg1ilIHJv6 lRWkWUJgD5vEhv3LGSEaBCS+TT7EArJNQkBWYtMBZoh6SYmDK26wTGAUXMDIsIpRNLUguaA4 Kb3ISK84Mbe4NC9dLzk/dxMjMKxO/3vWt4Px5gHrQ4zJQOMmMkuJJucDwzKvJN7Q2MTc1NjU zMjS0tKUNGElcV75SzKBQgLpiSWp2ampBalF8UWlOanFhxiZODilGhhXRyplC6k8TFmw0j9v zvO/C9LnRfnrtwVtCNzjZZzm6qPAuPC6/I0dUuyPVj9tm8bibqfNom04Z/2xKSb5AbWCJ7YI nI0w5dv0q+b9klUXEtLWnuOd/+pLFrfa+fZlO6c/7RXqe3jj4rn7E78bM019Xfi4Sun4R+2z J4S+Heu+9EGjWWpX5cSvSizFGYmGWsxFxYkAhYskn0ECAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmkeLIzCtJLcpLzFFi42I5/e+xgO7rQ6aBBvOuiVtsenyN1YHRY/OS +gDGqAZGm4zUxJTUIoXUvOT8lMy8dFsl7+B453hTMwNDXUNLC3MlhbzE3FRbJRefAF23zByg qUoKZYk5pUChgMTiYiV9O0wTQkPcdC1gGiN0fUOC4HqMDNBAwhrGjPfdt9gLZgpW3Gq5xNbA eJq3i5GTQ0LARGLaoZ9sELaYxIV764FsLg4hgUWMEmuPT2eCcLYySSzqv8jexcjBwSagI9Fy 1gUkLiIwh1GiefsMRhCHWWA6o8SRzRNYQUYJC/hKbP29kQnEZhFQlVi6biqYzSvgKHHs+QcW iHUKEsemfmWdwMi9gJFhFaNoakFyQXFSeq6RXnFibnFpXrpecn7uJkZw0D6T3sG4qsHiEKMA B6MSDy/DUZNAIdbEsuLK3EOMEhzMSiK8b/abBgrxpiRWVqUW5ccXleakFh9iTAbaPpFZSjQ5 HxhReSXxhsYm5qbGppYmFiZmlqQJK4nzMp56EiAkkJ5YkpqdmlqQWgSzhYmDU6qBMe1U0w/7 y/yLBLntW9denX5Np3FJ3C2pF85rvlvd1Pha8Ffx7Mxr9+/FOglE988s56lr4KvcFpe9YuIc JWNVfnbjKRxC89Tv7/u/g9/L5O4KyUfJizzbmG0Ses58X6v/dP764kV2D8vEtk/2eOo4O7dq F4sxg/fOzUcPxaW5u2ffWM7Gw37nkRJLcUaioRZzUXEiAPz92HyeAgAA 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_050327_865769_82440EC9 X-CRM114-Status: UNSURE ( 7.10 ) 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.33 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 --- 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..2449651 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 = <&pdma0 7 + &pdma0 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>; };