From patchwork Thu Mar 8 16:29:04 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: 10268393 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 F01936037E for ; Thu, 8 Mar 2018 16:29:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF4742982D for ; Thu, 8 Mar 2018 16:29:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D38F12984D; Thu, 8 Mar 2018 16:29:41 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4525D2982D for ; Thu, 8 Mar 2018 16:29:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: Message-id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:List-Owner; bh=9Txp0/rBMdrs6npJe8U9vGTmStMNz2ej0c3NZJx83qI=; b=T8 8csiGBSuTm0tS5uFuNwpcofekCzJ3+11/iXzWvlqknLwfUOBPG261whsY3mvNEx/mIZrys3sBCfeW Edz+ZsXKoQSWi7VviTRAuNraxqtp6KPQaEhWTsRWj7uCrpHj4E4oxwG3aOZsQBRiWKF0iadyvU0bL 6SDreQRea0fIiXUTchP1e//lAVNLEQzXn0HS7FWKyaAFUGOzEi5v6GbzHktyKrJkPoC1rsteU4ngv qIVBJOaAFYZPkxiWEKT1Drh77WBRBCb9XFuh1Sq6GvHVj5bdqfg9It3kxUddHQ0NVaCvJBQouETl2 muukh+3yYyr+EBdGzEg9+nX5XCV4zpnQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1etyQB-0003Bl-Iv; Thu, 08 Mar 2018 16:29:35 +0000 Received: from mailout4.samsung.com ([203.254.224.34]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etyQ6-00038Q-Se for linux-arm-kernel@lists.infradead.org; Thu, 08 Mar 2018 16:29:32 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20180308162917epoutp04cc0ae93463530eee6ee738456e80d960~Z-tj_E3b31917019170epoutp04D; Thu, 8 Mar 2018 16:29:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20180308162917epoutp04cc0ae93463530eee6ee738456e80d960~Z-tj_E3b31917019170epoutp04D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520526557; bh=KxRSe4xHayXK6FhzSsEDcsup+ANHHfGhr5REvindOoY=; h=From:To:Cc:Subject:Date:References:From; b=k0wr+OzPg2FpcqsmM6I9D7tXHuf+HkzEeNIepRE+zWECFlrhKqhlL/8rEi1uf0nkb Q7Ps8nHAZ/fYUqkG7yy6hvi4hM40/JLhtkiX78KiweFrLtCCoPtvzOvQMdSwejDf2L OO68ETrSfhHv1kVzDXYrcJ4QZyI1OXyKR1tewMqQ= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180308162916epcas1p4aa26ee68de64a5b026c5b9f6f00a6a7c~Z-tjcXdf80162101621epcas1p4k; Thu, 8 Mar 2018 16:29:16 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 0E.96.04136.CD461AA5; Fri, 9 Mar 2018 01:29:16 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180308162916epcas1p4bec3b6702b1f49f2313b04e713313d92~Z-tjIRGzB0162101621epcas1p4j; Thu, 8 Mar 2018 16:29:16 +0000 (GMT) X-AuditID: b6c32a36-c91ff70000001028-fb-5aa164dceba0 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 51.DF.03826.CD461AA5; Fri, 9 Mar 2018 01:29:16 +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 <0P5A00LC65SIG880@mmp1.samsung.com>; Fri, 09 Mar 2018 01:29:16 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH] ARM: dts: Enable HDMI audio support on exynos5420-peach-pit Date: Thu, 08 Mar 2018 17:29:04 +0100 Message-id: <20180308162904.632-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrNIsWRmVeSWpSXmKPExsWy7bCmge6dlIVRBktfy1tsnLGe1WL+kXOs Fv2PXzNbnD+/gd1i0+NrrBaXd81hs5hxfh+Txdojd9ktDr9pZ3Xg9Ni0qpPNY/OSeo++LasY PT5vkgtgieKySUnNyS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YFhnmp 5XrFibnFpXnpesn5uZsYgeGx7bBW3w7G+0viDzEKcDAq8fBauCyMEmJNLCuuzD3EKMHBrCTC G6APFOJNSaysSi3Kjy8qzUktPsQozcGiJM57O+9YpJBAemJJanZqakFqEUyWiYNTqoHRSPZU fJZ4z2MP20q3aG/Weypvz5ee0GbIeeoT+c14686Hj329FjTNnr5e9PWp9xlJLbzNRQfYfQ1D Yicuvjov57xtz81DrCWfVwtnTOcRfctxvsjdQWjriWM7A/juln20WiZ7bJfLjWW28VPLIue/ XX6hp3D+jB1T/ypqHbe7z6zQ7ZSa2VivxFKckWioxVxUnAgAl7wQ8QsCAAA= X-CMS-MailID: 20180308162916epcas1p4bec3b6702b1f49f2313b04e713313d92 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180308162916epcas1p4bec3b6702b1f49f2313b04e713313d92 X-RootMTR: 20180308162916epcas1p4bec3b6702b1f49f2313b04e713313d92 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_082931_285005_9FAE3FC9 X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, b.zolnierkie@samsung.com, linux-kernel@vger.kernel.org, kgene@kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds new cpu, codec subnodes according to the updated "google,snow-audio-max98090" DT bindings and the I2S clock tree configuration so sound on the HDMI interface can also be supported. Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exynos5420-peach-pit.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/exynos5420-peach-pit.dts b/arch/arm/boot/dts/exynos5420-peach-pit.dts index 5a76ed77dda1..244f0091c21f 100644 --- a/arch/arm/boot/dts/exynos5420-peach-pit.dts +++ b/arch/arm/boot/dts/exynos5420-peach-pit.dts @@ -11,6 +11,7 @@ #include #include #include +#include #include "exynos5420.dtsi" #include "exynos5420-cpus.dtsi" @@ -86,6 +87,14 @@ samsung,model = "Peach-Pit-I2S-MAX98090"; samsung,i2s-controller = <&i2s0>; samsung,audio-codec = <&max98090>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98090>, <&hdmi>; + }; }; usb300_vbus_reg: regulator-usb300 { @@ -142,6 +151,11 @@ vdd-supply = <&ldo9_reg>; }; +&clock_audss { + assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; + assigned-clock-parents = <&clock CLK_FOUT_EPLL>; +}; + &cpu0 { cpu-supply = <&buck2_reg>; }; @@ -606,6 +620,7 @@ pinctrl-0 = <&max98090_irq>; clocks = <&pmu_system_controller 0>; clock-names = "mclk"; + #sound-dai-cells = <0>; }; light-sensor@44 { @@ -690,6 +705,8 @@ }; &i2s0 { + assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; + assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; status = "okay"; };