From patchwork Thu May 22 11:55:07 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 4221971 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8FC619F23C for ; Thu, 22 May 2014 11:58:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C6F5C20251 for ; Thu, 22 May 2014 11:58:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8F59F201DD for ; Thu, 22 May 2014 11:58:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnRbv-0001hj-UK; Thu, 22 May 2014 11:56:35 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WnRbs-0001WV-Jo for linux-arm-kernel@lists.infradead.org; Thu, 22 May 2014 11:56:33 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5Z003LF55KFYA0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 22 May 2014 20:56:08 +0900 (KST) X-AuditID: cbfee61b-b7fbb6d000001be3-3c-537de5d8dabb Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 14.BF.07139.8D5ED735; Thu, 22 May 2014 20:56:08 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5Z0093X54K5M30@mmp1.samsung.com>; Thu, 22 May 2014 20:56:08 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Subject: [PATCH 1/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings Date: Thu, 22 May 2014 13:55:07 +0200 Message-id: <1400759708-25831-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGJMWRmVeSWpSXmKPExsVy+t9jAd0bT2uDDW4/0LS4cvEQk8XUh0/Y LOYfOcdqsenxNVaLGef3MVkcftPO6sDmseFzE5vHplWdbB6bl9R79G1ZxejxeZNcAGsUl01K ak5mWWqRvl0CV8aOv9/YC3ZxVfw70sbawHibo4uRk0NCwETiyrs9zBC2mMSFe+vZuhi5OIQE FjFKrNr6hx3C6WCSePdqE1gVm4ChRO/RPkYQWwSo4/acTmaQImaBrYwSE1eeAisSFgiXeDDp FxOIzSKgKjHz0HGwOK+Am8SkrS+AbA6gdQoScybZTGDkXsDIsIpRNLUguaA4KT3XSK84Mbe4 NC9dLzk/dxMjODSeSe9gXNVgcYhRgINRiYf3xvmaYCHWxLLiytxDjBIczEoivI5PaoOFeFMS K6tSi/Lji0pzUosPMUpzsCiJ8x5stQ4UEkhPLEnNTk0tSC2CyTJxcEo1MBaq/7rwojfBa8PH ebZxzaeP1RSkhckq/hS+9i1vkq6K1n22ar6WbxfX2bTHrHnAG14+pVM1Z0fixOe/J9tsKdD7 +Fo0pC9WRZrPY8Kslg21nEKVm7cKsAr/Wn/j2W6R6n9ZZ3K7W2en/7c6vl19+V0u76qUWv/k +aIpx2VjsjiFG+NNhIK2KrEUZyQaajEXFScCACqV0psJAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140522_045632_826744_3E6444D2 X-CRM114-Status: UNSURE ( 7.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.7 (-----) Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.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 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Sylwester Nawrocki --- .../bindings/sound/samsung,odroidx2-max98090.txt | 32 ++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt diff --git a/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt new file mode 100644 index 0000000..b37e79a --- /dev/null +++ b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt @@ -0,0 +1,32 @@ +Odroid X2/U3 audio complex + +Required properties: +- compatible : "samsung,odroidx2-audio" +- samsung,i2s-controller : phandle to the I2S controller +- samsung,audio-codec : phandle to the audio codec + +Example: + + i2s0: i2s@03830000 { + ... + clocks = <&clock_audss EXYNOS_I2S_BUS>, + <&clock_audss EXYNOS_DOUT_AUD_BUS>; + clock-names = "iis", "i2s_opclk0"; + status = "okay"; + }; + + i2c@13870000 { + ... + max98090: max98090@10 { + compatible = "maxim,max98090"; + reg = <0x10>; + interrupt-parent = <&gpx0>; + interrupts = <1 0>; + }; + }; + + sound { + compatible = "samsung,odroidx2-audio"; + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98090>; + };