From patchwork Fri Jul 4 13:13:44 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: 4481161 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 A87F79F36A for ; Fri, 4 Jul 2014 13:16:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E115B2021F for ; Fri, 4 Jul 2014 13:16:27 +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 BC64D201EF for ; Fri, 4 Jul 2014 13:16:26 +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 1X33K6-0002Yq-TV; Fri, 04 Jul 2014 13:14:42 +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 1X33K3-0002Td-7L for linux-arm-kernel@lists.infradead.org; Fri, 04 Jul 2014 13:14:40 +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 <0N86004NSVFQ6010@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 04 Jul 2014 22:14:14 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-8e-53b6a8a63916 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 8B.7F.05196.6A8A6B35; Fri, 04 Jul 2014 22:14:14 +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 <0N86007A2VF0OZ50@mmp1.samsung.com>; Fri, 04 Jul 2014 22:14:14 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Subject: [PATCH V3 1/2] doc: dt bindings: Document Odroid X2/U3 audio subsystem bindings Date: Fri, 04 Jul 2014 15:13:44 +0200 Message-id: <1404479625-25385-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrKJMWRmVeSWpSXmKPExsVy+t9jAd1lK7YFG/ydZGZx5eIhJoupD5+w Wcw/co7VYtPja6wWM87vY7I4/Kad1YHNY8PnJjaPTas62Tw2L6n36NuyitHj8ya5ANYoLpuU 1JzMstQifbsErownkw+wFyzlq2g/+oitgfEWdxcjJ4eEgInEhJNLmSFsMYkL99azdTFycQgJ LGKU+PxsDSuE08EkcffbYxaQKjYBQ4neo32MILYIUMftOZ3MIEXMAlsZJSY27AAbJSwQJdF+ eAZQNwcHi4CqxLMbmSBhXgE3iVf/FjKBhCUEFCTmTLKZwMi9gJFhFaNoakFyQXFSeq6RXnFi bnFpXrpecn7uJkZwYDyT3sG4qsHiEKMAB6MSD69H0dZgIdbEsuLK3EOMEhzMSiK8WnO2BQvx piRWVqUW5ccXleakFh9ilOZgURLnPdhqHSgkkJ5YkpqdmlqQWgSTZeLglGpgZDSJTd/0cnFC xOHCzaHtqzOWpXYe9HtebSLkqXEj6sDUGQmz9ru6SKdbbBC/J8UtxPJUIvvSHFNVsYV5m4J7 A/zvLzyh4BgrPPvmsS+VD+7rHUj+bacpXKfdaTLZ/d5W6Q98rIWrhbteTjgbueub19lfMg9c Zb5+fWyduO32CpvUlTJHpv57oMRSnJFoqMVcVJwIALlc6uIIAgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140704_061439_435959_C27FDA91 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.0 (-----) 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.18-1 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=-1.9 required=5.0 tests=BAYES_00, T_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 --- Changes since v2: - none. --- .../bindings/sound/samsung,odroidx2-max98090.txt | 35 ++++++++++++++++++++ 1 file changed, 35 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..9148f72 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/samsung,odroidx2-max98090.txt @@ -0,0 +1,35 @@ +Samsung Exynos Odroid X2/U3 audio complex with MAX98090 codec + +Required properties: + - compatible : "samsung,odroidx2-audio" - for Odroid X2 board, + "samsung,odroidu3-audio" - for Odroid U3 board + - samsung,model : the user-visible name of this sound complex + - samsung,i2s-controller : the phandle of the I2S controller + - samsung,audio-codec : the phandle of the MAX98090 audio codec + - samsung,audio-routing : a list of the connections between audio + components; each entry is a pair of strings, the first being the + connection's sink, the second being the connection's source; + valid names for sources and sinks are the MAX98090's pins (as + documented in its binding), and the jacks on the board + For Odroid X2: + * Headphone Jack + * Mic Jack + * DMIC + + For Odroid U3: + * Headphone Jack + * Speakers + +Example: + +sound { + compatible = "samsung,odroidu3-audio"; + samsung,i2s-controller = <&i2s0>; + samsung,audio-codec = <&max98090>; + samsung,model = "Odroid-X2"; + samsung,audio-routing = + "Headphone Jack", "HPL", + "Headphone Jack", "HPR", + "IN1", "Mic Jack", + "Mic Jack", "MICBIAS"; +};