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: 4221921 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 562759F23C for ; Thu, 22 May 2014 11:56:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 81D83202C8 for ; Thu, 22 May 2014 11:56:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9802C20251 for ; Thu, 22 May 2014 11:56:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754677AbaEVL4K (ORCPT ); Thu, 22 May 2014 07:56:10 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:59036 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752786AbaEVL4K (ORCPT ); Thu, 22 May 2014 07:56:10 -0400 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>; 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 Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sylwester Nawrocki 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 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; + };