From patchwork Mon Mar 4 05:34:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2210651 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 D0993DF2F2 for ; Mon, 4 Mar 2013 05:37:54 +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 1UCO29-0004Pp-71; Mon, 04 Mar 2013 05:33:57 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UCO23-0004PC-1p for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2013 05:33:55 +0000 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ4001YZFFDBLM0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2013 14:33:44 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id A0.9C.25214.83234315; Mon, 04 Mar 2013 14:33:44 +0900 (KST) X-AuditID: cbfee68e-b7fa46d00000627e-fa-51343238d38b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id C6.ED.03918.83234315; Mon, 04 Mar 2013 14:33:44 +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 <0MJ400185FFP2X80@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2013 14:33:44 +0900 (KST) From: Padmavathi Venna To: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, padma.kvr@gmail.com, padma.v@samsung.com Subject: [PATCH 1/2] ARM: exynos: pl330: Add #dma-cells for generic dma binding support Date: Mon, 04 Mar 2013 11:04:27 +0530 Message-id: <1362375268-29405-1-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNLMWRmVeSWpSXmKPExsWyRsSkVtfCyCTQYOlXGYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJXx9fMe9oI1/BXXXt5jbGB8x93FyMkhIWAi8aptNzOELSZx4d56 ti5GLg4hgaWMElsfTmWEKWrq2cIMkVjEKPHk+l0WCGcrk8Sa7iVAVRwcbAI6Ei1nXUBMEYFy iY//ikBKmAXuMErs+fuOBWSQsECkxO8La5lAalgEVCUeXZMGCfMKOEucf9wMtUtB4tjUr6wg vRICe9gkJqz9BnYdi4CAxLfJh1hAeiUEZCU2HYA6WlLi4IobLBMYBRcwMqxiFE0tSC4oTkov MtIrTswtLs1L10vOz93ECAyo0/+e9e1gvHnA+hBjMtC4icxSosn5wIDMK4k3NDYxNzU2NTOy tLQ0JU1YSZxX/pJMoJBAemJJanZqakFqUXxRaU5q8SFGJg5OqQZGY40nE1V4H5+6/YXF21o2 V8ueyevQQsO7rvvmLip/YvAz1HL3NAnlrV0Hrx5917z9yKoqE+nqvVMqPlyqPSmxlTX4UX3s JLfbTzmm3imurLp80Gv9wasCng/3TMrdJpLlWrd/6aLcXynGYbpBBQ8mV9qrH5+x/UWAvkl9 R9X1tXJ/ejVbmmYdUWIpzkg01GIuKk4EAMdA/vA+AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkeLIzCtJLcpLzFFi42I5/e+xgK6FkUmgwd81fBabHl9jdWD02Lyk PoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYx4+vnPewFa/grrr28x9jA +I67i5GTQ0LARKKpZwszhC0mceHeerYuRi4OIYFFjBJPrt9lgXC2Mkms6V7C2MXIwcEmoCPR ctYFxBQRKJf4+K8IpIRZ4A6jxJ6/71hABgkLREr8vrCWCaSGRUBV4tE1aZAwr4CzxPnHzYwQ uxQkjk39yjqBkXsBI8MqRtHUguSC4qT0XEO94sTc4tK8dL3k/NxNjOBwfSa1g3Flg8UhRgEO RiUeXoFPxoFCrIllxZW5hxglOJiVRHjLJEwChXhTEiurUovy44tKc1KLDzEmAy2fyCwlmpwP jKW8knhDYxNzU2NTSxMLEzNL0oSVxHkZTz0JEBJITyxJzU5NLUgtgtnCxMEp1cB42mmaoOGU WVrnJgXfPr5FLu3S1YvGpW/7jh7JqJg9KeAmx2LJ4ye3LpvoslZAsLzncXhJ5jnH1aZ+P99O lpmx59sZvxrzOz8639z/tfWl7CpOx8fcrxv3/FtcVjch8nLH4sDaNzPezuTqC4uT67dcnPkz ZEapT97KN5W/zq7R/r+gIOvUpawGbiWW4oxEQy3mouJEAGGYOeKbAgAA 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-20130304_003351_417346_F0E278CA X-CRM114-Status: UNSURE ( 8.68 ) 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.24 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: jassisinghbrar@gmail.com, kgene.kim@samsung.com, arnd@arndb.de, boojin.kim@samsung.com, sbkim73@samsung.com, broonie@opensource.wolfsonmicro.com, vinod.koul@intel.com, dinguyen@altera.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 adds #dma-cells property to PL330 DMA controller nodes for supporting generic dma dt bindings on samsung exynos platforms. #dma-channels and #dma-requests are not required now but added in advance. Signed-off-by: Padmavathi Venna Acked-by: Arnd Bergmann --- Based on Torvalds tree arch/arm/boot/dts/exynos4.dtsi | 9 +++++++++ arch/arm/boot/dts/exynos5440.dtsi | 6 ++++++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index e1347fc..1a62bcf 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -275,18 +275,27 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0x12680000 0x1000>; interrupts = <0 35 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; pdma1: pdma@12690000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x12690000 0x1000>; interrupts = <0 36 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; mdma1: mdma@12850000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x12850000 0x1000>; interrupts = <0 34 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <1>; }; }; }; diff --git a/arch/arm/boot/dts/exynos5440.dtsi b/arch/arm/boot/dts/exynos5440.dtsi index 5f3562a..9a99755 100644 --- a/arch/arm/boot/dts/exynos5440.dtsi +++ b/arch/arm/boot/dts/exynos5440.dtsi @@ -142,12 +142,18 @@ compatible = "arm,pl330", "arm,primecell"; reg = <0x120000 0x1000>; interrupts = <0 34 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; pdma1: pdma@121B0000 { compatible = "arm,pl330", "arm,primecell"; reg = <0x121000 0x1000>; interrupts = <0 35 0>; + #dma-cells = <1>; + #dma-channels = <8>; + #dma-requests = <32>; }; };