From patchwork Tue Jun 4 12:28:10 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Padmavathi Venna X-Patchwork-Id: 2659031 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork1.kernel.org (Postfix) with ESMTP id 7B8F840077 for ; Tue, 4 Jun 2013 12:52:41 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UjqQO-0000hK-5W; Tue, 04 Jun 2013 12:33:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UjqPL-0003Vw-3N; Tue, 04 Jun 2013 12:32:11 +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 1UjqPI-0003VZ-Mv for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2013 12:32:09 +0000 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 <0MNV001M2C4ZOYZ0@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2013 21:31:47 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 6D.23.03969.33EDDA15; Tue, 04 Jun 2013 21:31:47 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-1f-51adde336835 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 0A.F8.28381.33EDDA15; Tue, 04 Jun 2013 21:31:47 +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 <0MNV003J5BTDHM20@mmp2.samsung.com>; Tue, 04 Jun 2013 21:31:47 +0900 (KST) From: Padmavathi Venna To: linux-samsung-soc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, alsa-devel@alsa-project.org, padma.v@samsung.com, padma.kvr@gmail.com Subject: [PATCH V5 5/5] ARM: dts: Update Samsung I2S documentation Date: Tue, 04 Jun 2013 17:58:10 +0530 Message-id: <1370348890-6645-6-git-send-email-padma.v@samsung.com> X-Mailer: git-send-email 1.7.4.4 In-reply-to: <1370348890-6645-1-git-send-email-padma.v@samsung.com> References: <1370348890-6645-1-git-send-email-padma.v@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsWyRsSkWtf43tpAg18twhZXLh5ispj68Amb xYHZD1ktehdcZbPY9Pgaq8WM8/uYLJ5OuMhm0b5sDqvF75vf2SwurvjC5MDlseFzE5vHzll3 2T02repk87hzbQ+bx+Yl9R7nZyxk9OjbsorR4/MmuQCOKC6blNSczLLUIn27BK6M26+fsxVM FquY8raZqYHxs2AXIweHhICJxNx1Vl2MnECmmMSFe+vZuhi5OIQEljJKPFjczAqRMJF48O09 K0RiOqPEmRvvWCCcHiaJfXvusIBMYhPQkWg56wLSICKwm1Gi96IFiM0sEC1x78lnJhBbWMBJ Yue1s0wg5SwCqhK3DimAhHmBwqenXGGE2KUgcWzqV7C9nALOEv8Pn2IBsYWAalYubGIEWSsh cIpd4tI/kEs5geYISHybfIgF4hlZiU0HmCHmSEocXHGDZQKj8AJGhlWMoqkFyQXFSelFxnrF ibnFpXnpesn5uZsYgdFx+t+z/h2Mdw9YH2JMBho3kVlKNDkfGF15JfGGxmZGFqYmpsZG5pZm pAkrifOqtVgHCgmkJ5akZ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aBYDj2hFzrze9y91lN9OnqhRoC2nnRZ2 3sBm58dJB22mRMiVXlZiKc5INNRiLipOBAB7y/bkAgMAAA== 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-20130604_083208_963740_8E95473C X-CRM114-Status: GOOD ( 10.01 ) 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.5 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, kgene.kim@samsung.com, broonie@kernel.org, mturquette@linaro.org 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 updates the samsung i2s documentation for pinmux and clock entries. Signed-off-by: Padmavathi Venna --- .../devicetree/bindings/sound/samsung-i2s.txt | 40 ++++++------------- 1 files changed, 13 insertions(+), 27 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/samsung-i2s.txt b/Documentation/devicetree/bindings/sound/samsung-i2s.txt index 3070046..6f9d29f 100644 --- a/Documentation/devicetree/bindings/sound/samsung-i2s.txt +++ b/Documentation/devicetree/bindings/sound/samsung-i2s.txt @@ -8,6 +8,10 @@ Required SoC Specific Properties: - dmas: list of DMA controller phandle and DMA request line ordered pairs. - dma-names: identifier string for each DMA request line in the dmas property. These strings correspond 1:1 with the ordered pairs in dmas. +- clocks: from common clock binding. Handle to iis clock and RCLK src clk. +- clock-names: from common clock binding: Should be "iis","i2s_opclk0" and + "i2s_opclk1". "iis" is the i2s bus clock and i2s_opclk selects the src of + RCLK which is a mux inside i2s controller. Optional SoC Specific Properties: @@ -20,44 +24,26 @@ Optional SoC Specific Properties: then this flag is enabled. - samsung,idma-addr: Internal DMA register base address of the audio sub system(used in secondary sound source). - -Required Board Specific Properties: - -- gpios: The gpio specifier for data out,data in, LRCLK, CDCLK and SCLK - interface lines. The format of the gpio specifier depends on the gpio - controller. - The syntax of samsung gpio specifier is - <[phandle of the gpio controller node] - [pin number within the gpio controller] - [mux function] - [flags and pull up/down] - [drive strength]> +- pinctrl-0: Should specify pin control groups used for this controller. +- pinctrl-names: Should contain only one value - "default". Example: -- SoC Specific Portion: - -i2s@03830000 { +i2s0: i2s@03830000 { compatible = "samsung,i2s-v5"; reg = <0x03830000 0x100>; dmas = <&pdma0 10 &pdma0 9 &pdma0 8>; dma-names = "tx", "rx", "tx-sec"; + clocks = <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_SCLK_I2S>; + clock-names = "iis", "i2s_opclk0", "i2s_opclk1"; samsung,supports-6ch; samsung,supports-rstclr; samsung,supports-secdai; samsung,idma-addr = <0x03000000>; -}; - -- Board Specific Portion: - -i2s@03830000 { - gpios = <&gpz 0 2 0 0>, /* I2S_0_SCLK */ - <&gpz 1 2 0 0>, /* I2S_0_CDCLK */ - <&gpz 2 2 0 0>, /* I2S_0_LRCK */ - <&gpz 3 2 0 0>, /* I2S_0_SDI */ - <&gpz 4 2 0 0>, /* I2S_0_SDO[1] */ - <&gpz 5 2 0 0>, /* I2S_0_SDO[2] */ - <&gpz 6 2 0 0>; /* I2S_0_SDO[3] */ + pinctrl-names = "default"; + pinctrl-0 = <&i2s0_bus>; };