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: 2658931 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 9F90ADF2A1 for ; Tue, 4 Jun 2013 12:31:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879Ab3FDMbt (ORCPT ); Tue, 4 Jun 2013 08:31:49 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:19037 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752783Ab3FDMbs (ORCPT ); Tue, 4 Jun 2013 08:31:48 -0400 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-samsung-soc@vger.kernel.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 Cc: sbkim73@samsung.com, broonie@kernel.org, kgene.kim@samsung.com, mturquette@linaro.org 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 pAkrifOqtVgHCgmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamBc9cbXtX1Xou2Us/pz9vbMXDTT cyG7e8v++zbXrdqz+AVdHn6rfeDOfIP794Kf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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 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>; };