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: 2210621 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 6D10FDF2F2 for ; Mon, 4 Mar 2013 05:33:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751805Ab3CDFdq (ORCPT ); Mon, 4 Mar 2013 00:33:46 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:23862 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101Ab3CDFdq (ORCPT ); Mon, 4 Mar 2013 00:33:46 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MJ400I92FG8L8N0@mailout1.samsung.com> for linux-samsung-soc@vger.kernel.org; Mon, 04 Mar 2013 14:33:44 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.126]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 51.D6.18793.83234315; Mon, 04 Mar 2013 14:33:44 +0900 (KST) X-AuditID: cbfee68f-b7f6a6d000004969-27-513432384dca Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id D6.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-samsung-soc@vger.kernel.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 Cc: sbkim73@samsung.com, broonie@opensource.wolfsonmicro.com, kgene.kim@samsung.com, jassisinghbrar@gmail.com, arnd@arndb.de, vinod.koul@intel.com, boojin.kim@samsung.com, robherring2@gmail.com, dinguyen@altera.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+NgFlrNLMWRmVeSWpSXmKPExsWyRsSkTtfCyCTQ4NUyBYsZ5/cxOTB6fN4k F8AYxWWTkpqTWZZapG+XwJXx9fMe9oI1/BXXXt5jbGB8x93FyMkhIWAiceraV2YIW0ziwr31 bF2MXBxCAksZJTbuB3Egihqv32SCSCxilOi4cIUFwtnEJHHi0wb2LkYODjYBHYmWsy4gpohA ucTHf0UgJcwCdxgl9vx9xwIySFggUuL3hbVMIDUsAqoSj65Jg4R5BZwlzj9uZoTYpSBxbOpX VpBeCYE9bBK/p3xlB0mwCAhIfJt8iAWkV0JAVmLTAaijJSUOrrjBMoFRcAEjwypG0dSC5ILi pPQiY73ixNzi0rx0veT83E2MwIA6/e9Z/w7GuwesDzEmA42byCwlmpwPDMi8knhDYxNzU2NT MyNLS0tT0oSVxHnlL8kECgmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamA8Il7xPki0QtJVZg5P Y4H/y6SjTmLuZ7YJtpfoGvAZ5PiVqER+k9O34o1tEBX689z1SPkTo80t+xysZ83I1lF+W3e1 TPjZlMTXl3n33jrAMi9k+keO+ryoE74hG+yiLdOV5uQU8emWPTzzIkd04R8jVZVUfQn9j1Gc chLymzICD3XwPV6mp8RSnJFoqMVcVJwIALuxxaM+AgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupgkeLIzCtJLcpLzFFi42I5/e+xgK6FkUmgwezT/BYzzu9jcmD0+LxJ LoAxqoHRJiM1MSW1SCE1Lzk/JTMv3VbJOzjeOd7UzMBQ19DSwlxJIS8xN9VWycUnQNctMwdo qpJCWWJOKVAoILG4WEnfDtOE0BA3XQuYxghd35AguB4jAzSQsIYx4+vnPewFa/grrr28x9jA +I67i5GTQ0LARKLx+k0mCFtM4sK99WxdjFwcQgKLGCU6LlxhgXA2MUmc+LSBvYuRg4NNQEei 5awLiCkiUC7x8V8RSAmzwB1GiT1/37GADBIWiJT4fWEtE0gNi4CqxKNr0iBhXgFnifOPmxkh dilIHJv6lXUCI/cCRoZVjKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmbGMHh+kxqB+PKBotDjAIc jEo8vAKfjAOFWBPLiitzDzFKcDArifCWSZgECvGmJFZWpRblxxeV5qQWH2JMBlo+kVlKNDkf GEt5JfGGxibmpsamliYWJmaWpAkrifMynnoSICSQnliSmp2aWpBaBLOFiYNTqoEx5ee/zY6T NpgJT1105k22VmNa2LlFrnf0o4ysj/PYK6mVl/JqtX09a6K8zn/WrjUPOAwP2Ijp6+twHP1y 2vbbpxteETMr34lUbf3QGTSh0j6MwX7jtNlH/DMDZ29/tfqt7VLDS+Xn/m7RS3EPDTocGL3h bQpXs3vFVsf6J6ocrttKJpm+vXNSiaU4I9FQi7moOBEA07zKW5sCAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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>; }; };