From patchwork Thu Sep 27 10:26:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 1512751 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 6DAE53FC71 for ; Thu, 27 Sep 2012 10:24:35 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBEU-0001sv-5v; Thu, 27 Sep 2012 10:22:14 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1THBEB-0001nI-KR for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 10:21:56 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB0000077GFCU21@mailout4.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 19:21:53 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id D8.55.03860.1C824605; Thu, 27 Sep 2012 19:21:53 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-2a-506428c14ba0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id F7.55.03860.0C824605; Thu, 27 Sep 2012 19:21:53 +0900 (KST) Received: from padma-linuxpc.sisodomain.com ([107.108.83.35]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB000MWN7G70X10@mmp2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 27 Sep 2012 19:21:52 +0900 (KST) From: Padmavathi Venna To: padma.v@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, alsa-devel@alsa-project.org, devicetree-discuss@lists.ozlabs.org Subject: [PATCH V1 1/2] ARM: dts: Add nodes for i2s controllers for Samsung Exynos5 platforms Date: Thu, 27 Sep 2012 15:56:35 +0530 Message-id: <1348741596-29451-2-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1348741596-29451-1-git-send-email-padma.v@samsung.com> References: <1348741596-29451-1-git-send-email-padma.v@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsWyRsSkWvegRkqAwctmUYtNj6+xOjB6bF5S H8AYxWWTkpqTWZZapG+XwJXx9oxZQZtgxaFPH5kbGPfzdjFyckgImEi8nrSeHcIWk7hwbz1b FyMXh5DAUkaJ7Ques8MUvVvSApWYzigxeXEPC4SzlUni4Lc7QBkODjYBHYmWsy4gcRGBZYwS By8+ZgXpZhZIkJj+7hQTiC0sEC9x5P81sDiLgKrEhnNTmUFsXgFniUsff7BBbFOQODb1K1gN p4CLxITnD8HiQkA1C+YsY4boFZD4NvkQC8heCQFZiU0HmEH2SgicYZNoevgMao6kxMEVN1gm MAovYGRYxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7iREYgqf/PZPewbiqweIQowAHoxIPb4B7 coAQa2JZcWXuIUYJDmYlEd4o1ZQAId6UxMqq1KL8+KLSnNTiQ4w+QJdMZJYSTc4HxkdeSbyh sYm5qbGppZGRmakpDmElcV7hT4EBQgLpiSWp2ampBalFMOOYODilGhjrXu1kqdi5ipM95dvf B9vffCs9KGH7Te50U2Hi7ffKaikn2j/fm3PEZ9Y/qWvSjG3LTm3Z5vBf7INA574DU8tLtq/9 a5TIqPpjpsE865CD0wQFtY8XKshEnWitXv+HwTE+xvj+w4CDUsUunEm3Z9z7vmlS7I/2BdqS N7rjpu21eOt2Y6pQ7RtTJZbijERDLeai4kQA7VDf+24CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42I5/e+xoO5BjZQAg8Z8i02Pr7E6MHpsXlIf wBjVwGiTkZqYklqkkJqXnJ+SmZduq+QdHO8cb2pmYKhraGlhrqSQl5ibaqvk4hOg65aZAzRU SaEsMacUKBSQWFyspG+HaUJoiJuuBUxjhK5vSBBcj5EBGkhYw5jx9oxZQZtgxaFPH5kbGPfz djFyckgImEi8W9LCBmGLSVy4tx7I5uIQEpjOKDF5cQ8LhLOVSeLgtztAGQ4ONgEdiZazLiBx EYFljBIHLz5mBelmFkiQmP7uFBOILSwQL3Hk/zWwOIuAqsSGc1OZQWxeAWeJSx9/QG1TkDg2 9StYDaeAi8SE5w/B4kJANQvmLGOewMi7gJFhFaNoakFyQXFSeq6RXnFibnFpXrpecn7uJkZw eD+T3sG4qsHiEKMAB6MSD2+Ae3KAEGtiWXFl7iFGCQ5mJRHeKNWUACHelMTKqtSi/Pii0pzU 4kOMPkBXTWSWEk3OB8ZeXkm8obGJuamxqaWJhYmZJQ5hJXFe4U+BAUIC6YklqdmpqQWpRTDj mDg4pRoY41fY8r3envZrq/fj55HvHWfs/Ct+0nrbCt3zIV9fy72yVLMLjBFdVsDtonrz6MNd DjePbmFz+yhukcS39dYvV0MFwx3X7pxVjbd6/3Ja6KIglZhXm8/XPGMu+20l1XX9+xQthvsi t6QWfX/Sv93U9cXJ2hXv9gnHepfY/mxRSln89s5WJvtLRkosxRmJhlrMRcWJAKUdZoicAgAA X-CFilter-Loop: Reflected X-Spam-Note: CRM114 invocation failed X-Spam-Score: -7.7 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.34 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.8 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] Cc: sbkim73@samsung.com, sangsu4u.park@samsung.com, kgene.kim@samsung.com, ben-linux@fluff.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add device nodes for the three instances of i2s controllers in Exynos5 platforms. Enable instance i2s 0 for exynos5250 board and disable all other i2s instances. Signed-off-by: Padmavathi Venna --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 15 +++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 28 ++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/exynos5250-smdk5250.dts b/arch/arm/boot/dts/exynos5250-smdk5250.dts index 62e1039..ab0291d 100644 --- a/arch/arm/boot/dts/exynos5250-smdk5250.dts +++ b/arch/arm/boot/dts/exynos5250-smdk5250.dts @@ -109,4 +109,19 @@ spi_2: spi@12d40000 { status = "disabled"; }; + + i2s_0: i2s@03830000 { + gpios = <&gpz 0 2 0 0>, <&gpz 1 2 0 0>, <&gpz 2 2 0 0>, + <&gpz 3 2 0 0>, <&gpz 4 2 0 0>, <&gpz 5 2 0 0>, + <&gpz 6 2 0 0>; + idma-addr = <0x03000000>; + }; + + i2s_1: i2s@12D60000 { + status = "disabled"; + }; + + i2s_2: i2s@12D70000 { + status = "disabled"; + }; }; diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index b55794b4..ac694d9 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi @@ -31,6 +31,9 @@ gsc1 = &gsc_1; gsc2 = &gsc_2; gsc3 = &gsc_3; + i2s0 = &i2s_0; + i2s1 = &i2s_1; + i2s2 = &i2s_2; }; gic:interrupt-controller@10481000 { @@ -186,6 +189,31 @@ #size-cells = <0>; }; + i2s_0: i2s@03830000 { + compatible = "samsung,samsung-i2s"; + reg = <0x03830000 0x100>; + tx-dma-channel-secondary = <&pdma0 8>; + tx-dma-channel = <&pdma0 10>; + rx-dma-channel = <&pdma0 9>; + supports-6ch; + supports-rstclr; + supports-secdai; + }; + + i2s_1: i2s@12D60000 { + compatible = "samsung,samsung-i2s"; + reg = <0x12D60000 0x100>; + tx-dma-channel = <&pdma1 12>; + rx-dma-channel = <&pdma1 11>; + }; + + i2s_2: i2s@12D70000 { + compatible = "samsung,samsung-i2s"; + reg = <0x12D70000 0x100>; + tx-dma-channel = <&pdma0 12>; + rx-dma-channel = <&pdma0 11>; + }; + amba { #address-cells = <1>; #size-cells = <1>;