From patchwork Mon Feb 5 15:44:03 2018 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: 10200813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 705E36056F for ; Mon, 5 Feb 2018 15:46:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 605B228778 for ; Mon, 5 Feb 2018 15:46:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54E132877F; Mon, 5 Feb 2018 15:46:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EBF4F28778 for ; Mon, 5 Feb 2018 15:46:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360AbeBEPqD (ORCPT ); Mon, 5 Feb 2018 10:46:03 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:16451 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753326AbeBEPpl (ORCPT ); Mon, 5 Feb 2018 10:45:41 -0500 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20180205154539epoutp025545040c3d2c1865bc0f485a93262040~QeHnfcnC_3222732227epoutp02N; Mon, 5 Feb 2018 15:45:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20180205154539epoutp025545040c3d2c1865bc0f485a93262040~QeHnfcnC_3222732227epoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1517845539; bh=5tHL4XddjYldr9ArzQlEQ6unAQRcJd5tVv80Dl+rywA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=NzDW+ke9YD0fkFn3rq0t/EUKcMn7LUjiIjM/YoXGWL4AIaMJfyfId5cO/egkRJKlk aIiDg5BghA4qeYf0I/0lEYY649cvlOt+eyf1fFdjzmVWxQWSrgcBDni5LtucMN7Qeq un7HG/Nbkb3aJREB+G4IAefsL+n6rXcEeSGhUkSE= Received: from epsmges1p1.samsung.com (unknown [182.195.42.53]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180205154538epcas1p39d1aa53a7a7443382327137f85d52d14~QeHmlKaIA1685816858epcas1p3E; Mon, 5 Feb 2018 15:45:38 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 4D.0C.04145.22C787A5; Tue, 6 Feb 2018 00:45:38 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180205154537epcas1p10a9a30a574e3f472358e7dacf3cb0489~QeHmQb5d91832618326epcas1p1h; Mon, 5 Feb 2018 15:45:37 +0000 (GMT) X-AuditID: b6c32a35-879ff70000001031-a5-5a787c22335c Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 85.92.03826.12C787A5; Tue, 6 Feb 2018 00:45:37 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P3O00399P1LBQ40@mmp1.samsung.com>; Tue, 06 Feb 2018 00:45:37 +0900 (KST) From: Sylwester Nawrocki To: broonie@kernel.org Cc: lgirdwood@gmail.com, alsa-devel@alsa-project.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, krzk@kernel.org, jcsing.lee@samsung.com, sbkim73@samsung.com, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH 8/8] ASoC: samsung, tm2-audio DT binding documentation update Date: Mon, 05 Feb 2018 16:44:03 +0100 Message-id: <20180205154403.13520-9-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180205154403.13520-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrEIsWRmVeSWpSXmKPExsWy7bCmrq5STUWUwe55fBZXLh5istg4Yz2r xdSHT9gs5h85x2rxdn83s8X58xvYLb5d6WCyuLxrDpvFjPP7mCzWHrnLbtG69wi7xeE37awW F1d8YXLg9djwuYnNY+esu+wem1Z1snn0bVnF6PF5k1wAaxSXTUpqTmZZapG+XQJXxt6up8wF O/gqFv7bwd7AeIO7i5GTQ0LAROLMxA6WLkYuDiGBHYwS8499hHK+M0pca7jIDFN18PUvRojE bkaJf2+mMkE4vxglpjUuYgOpYhMwlOg92scIYosIiEncntPJDFLELHCGSWL6vjVAHRwcwgI+ EtMWgU1lEVCVWL54GyuIzStgLdG++h4rxDZ5ifcL7oPN4RSwkdhzbxnYZgmBPWwSl3b9gCpy kWg9upIdwhaWeHV8CzvIfAkBaYlLR20h6vsZJU6saYZqnsEocad9AhNEg7XE4eMXwQYxC/BJ vPvawwrRzCvR0SYEYXpI9N7Uh6h2lFi//Q00WIBm7p9xnWkCo9QCRoZVjGKpBcW56anFhgWG esWJucWleel6yfm5mxjBMa1luoNxyjmfQ4wCHIxKPLwCGRVRQqyJZcWVuYcYJTiYlUR4na6X RwnxpiRWVqUW5ccXleakFh9ilOZgURLn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Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180205154537epcas1p10a9a30a574e3f472358e7dacf3cb0489 X-RootMTR: 20180205154537epcas1p10a9a30a574e3f472358e7dacf3cb0489 References: <20180205154403.13520-1-s.nawrocki@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch documents additional entries of the audio-codec and i2s-controller properties required for the HDMI audio support. Signed-off-by: Sylwester Nawrocki Reviewed-by: Rob Herring Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/sound/samsung,tm2-audio.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt b/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt index 94442e5673b3..f5ccc12ddc00 100644 --- a/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt +++ b/Documentation/devicetree/bindings/sound/samsung,tm2-audio.txt @@ -4,9 +4,13 @@ Required properties: - compatible : "samsung,tm2-audio" - model : the user-visible name of this sound complex - - audio-codec : the phandle of the wm5110 audio codec node, - as described in ../mfd/arizona.txt - - i2s-controller : the phandle of the I2S controller + - audio-codec : the first entry should be phandle of the wm5110 audio + codec node, as described in ../mfd/arizona.txt; + the second entry should be phandle of the HDMI + transmitter node + - i2s-controller : the list of phandle and argument tuples pointing to + I2S controllers, the first entry should be I2S0 and + the second one I2S1 - audio-amplifier : the phandle of the MAX98504 amplifier - samsung,audio-routing : a list of the connections between audio components; each entry is a pair of strings, the first being the @@ -22,8 +26,8 @@ Example: sound { compatible = "samsung,tm2-audio"; - audio-codec = <&wm5110>; - i2s-controller = <&i2s0>; + audio-codec = <&wm5110>, <&hdmi>; + i2s-controller = <&i2s0 0>, <&i2s1 0>; audio-amplifier = <&max98504>; mic-bias-gpios = <&gpr3 2 0>; model = "wm5110";