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: 4481121 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 C717C9F36A for ; Fri, 4 Jul 2014 13:14:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F0BD0203E5 for ; Fri, 4 Jul 2014 13:14:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8BDD8203F1 for ; Fri, 4 Jul 2014 13:14:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752289AbaGDNOR (ORCPT ); Fri, 4 Jul 2014 09:14:17 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:59850 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751299AbaGDNOR (ORCPT ); Fri, 4 Jul 2014 09:14:17 -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 <0N86004NSVFQ6010@mailout2.samsung.com>; 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 Cc: alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki 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 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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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"; +};