From patchwork Mon Feb 12 16:15:36 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: 10213485 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 94DFB6055C for ; Mon, 12 Feb 2018 16:17:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82FCD28A44 for ; Mon, 12 Feb 2018 16:17:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7792F28A47; Mon, 12 Feb 2018 16:17:53 +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 EBE5B28A45 for ; Mon, 12 Feb 2018 16:17:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753636AbeBLQRI (ORCPT ); Mon, 12 Feb 2018 11:17:08 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:12894 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964927AbeBLQRD (ORCPT ); Mon, 12 Feb 2018 11:17:03 -0500 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180212161701epoutp03bbd8bc31142f405299020f5d855dabe3~SoEASiuqz2297922979epoutp03C; Mon, 12 Feb 2018 16:17:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180212161701epoutp03bbd8bc31142f405299020f5d855dabe3~SoEASiuqz2297922979epoutp03C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1518452221; bh=013O3RhSvbxoGCAvPkozpaF1gaDw4IzyEidQF+eQayI=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=RH9rWhUbybtD7n3BasVzIVLQ0HEYPSCxCsV9cqVoPHNyPAzfadVylwGMJGf/ctvuq 02VtjtLAqHMGjX7wjTg1zRQfmnMxA/LlX5qtx6KXnLxpkDJHWW1MQPurFgJhJatGuU nYaONiyXjV+jYhGNjC2NlpYAeBI6Md9JOYPObvMo= Received: from epsmges2p1.samsung.com (unknown [182.195.42.69]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20180212161700epcas2p494ddd8753f7cf4ac9d3281f166a01164~SoD-4B6a50141001410epcas2p4w; Mon, 12 Feb 2018 16:17:00 +0000 (GMT) Received: from epcas2p4.samsung.com ( [182.195.41.56]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 94.26.04131.CFDB18A5; Tue, 13 Feb 2018 01:17:00 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20180212161700epcas2p3f810196ade27315587602b16707755c6~SoD-SQiRH0177201772epcas2p3_; Mon, 12 Feb 2018 16:17:00 +0000 (GMT) X-AuditID: b6c32a45-3ebff70000001023-a8-5a81bdfc3a0e Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 4B.83.03890.CFDB18A5; Tue, 13 Feb 2018 01:17:00 +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 <0P4100BF1P6787A0@mmp1.samsung.com>; Tue, 13 Feb 2018 01:17:00 +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 v2 5/7] ASoC: samsung,tm2-audio DT binding documentation update Date: Mon, 12 Feb 2018 17:15:36 +0100 Message-id: <20180212161538.22669-6-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180212161538.22669-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCIsWRmVeSWpSXmKPExsWy7bCmhe6fvY1RBotazS2uXDzEZLFxxnpW i6kPn7BZzD9yjtXi7f5uZovz5zewW3y70sFkcXnXHDaLGef3MVmsPXKX3aJ17xF2i8Nv2lkt Lq74wuTA67HhcxObx85Zd9k9Nq3qZPPo27KK0ePzJrkA1igum5TUnMyy1CJ9uwSujD2Tr7AU TOWvOLzxHGMD42qeLkZODgkBE4mbH9axdjFycQgJ7GCU6GmayQ7hfGeUmPhrEztM1azHO6AS uxklfrW3sEE4vxglvv3tZgKpYhMwlOg92scIYosIiEncntPJDFLELHCGSWL6vjVgRcICgRJd a5uBEhwcLAKqEou3J4KEeQWsJfrfnIHaJi/xfsF9sDmcAjYSky4vZwKZIyGwg03iac8TJogi F4mHS95ANQhLvDq+BcqWlni2aiMjREM/o8TH4/tZIJzVjBKvv+1ihaiyljh8/CKYzSzAJ9Fx +C87yEUSArwSHW1CECUeEs/PbWSDsB0lFhx5yATxMtDQrilTGScwSi1gZFjFKJZaUJybnlps VGCoV5yYW1yal66XnJ+7iREc11quOxhnnPM5xCjAwajEw/tgbmOUEGtiWXFl7iFGCQ5mJRHe P81AId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxtAS5RQgLpiSWp2ampBalFMFkmDk6pBsa0ucJz p1w1LmP0bOKOtLyRrVNjsiAyWdx/I2++sIPYxaet9ufOB3XE35yxenvK6jdJSonP+s94qPis jtqenjl3SUVH4F8uY/H4dduXCd9luhL1YZfVwcbz0b++uVVI+EkcevbzZKXwOf/+Ke6+26es U1bb3XFeJ+HO8YOXw+tung7hW/r9gbUSS3FGoqEWc1FxIgA2cQOx5wIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t9jAd0/exujDM5eELa4cvEQk8XGGetZ LaY+fMJmMf/IOVaLt/u7mS3On9/AbvHtSgeTxeVdc9gsZpzfx2Sx9shddovWvUfYLQ6/aWe1 uLjiC5MDr8eGz01sHjtn3WX32LSqk82jb8sqRo/Pm+QCWKO4bFJSczLLUov07RK4MvZMvsJS MJW/4vDGc4wNjKt5uhg5OSQETCRmPd7B3sXIxSEksJNR4tPyWWwQzi9Gic49S9hAqtgEDCV6 j/YxgtgiAmISt+d0MoMUMQucYZL4MvESO0hCWMBfYuustUANHBwsAqoSi7cngoR5Bawl+t+c YYfYJi/xfsF9sDmcAjYSky4vZwKxhYBqjixfzzyBkWcBI8MqRsnUguLc9NxiowKjvNRyveLE 3OLSvHS95PzcTYzAENx2WKt/B+PjJfGHGAU4GJV4eDtmN0YJsSaWFVfmHmKU4GBWEuH90wwU 4k1JrKxKLcqPLyrNSS0+xCjNwaIkzsuffyxSSCA9sSQ1OzW1ILUIJsvEwSnVwOiwkbV401L/ d9rfUu9y30nRXXPYeIHcndowtfpHZsF3pt7lzpRuqr/yiJF/1Rk1LZWfvTKpj4qCelwvnS9m /uynfPqFcNqDlRPY/UMeFv7gnlHPWRSyum7iMvvQH1/FS+brGsVt8fy53f/KWv152v3uObdX ndAJyZz/2aok7llN+kdb3dqNwkosxRmJhlrMRcWJADKXGm49AgAA X-CMS-MailID: 20180212161700epcas2p3f810196ade27315587602b16707755c6 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180212161700epcas2p3f810196ade27315587602b16707755c6 X-RootMTR: 20180212161700epcas2p3f810196ade27315587602b16707755c6 References: <20180212161538.22669-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";