From patchwork Fri Mar 9 17:22:49 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: 10271379 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 E62EC6016D for ; Fri, 9 Mar 2018 17:35:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C0F9629D2B for ; Fri, 9 Mar 2018 17:35:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B2A4229E1D; Fri, 9 Mar 2018 17:35:52 +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 5C38A29D2B for ; Fri, 9 Mar 2018 17:35:52 +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: In-reply-to: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:List-Owner; bh=JmXtH8dp8CibnUSxcwd/byrReuIPqJV1g2XqK+n4tHs=; b=JJGZGpuUxg/P73dMWXFiJZmPAM HXkpiREHTcMmIq9Dic6jH3lfVt+dLRRSTiXlAjvGMmOpLNWz8amd0VuuHe/IGg03PYyepGK5aVgbd AOYpcWUKSMYg00KBH6QC6zc0DCU9GvFloLVPiG0M0OnAkDe6XCN40aieEtkR46MnGW7yf84pDXTH1 uN4XXUxlvDjEdwCZ3kJ7LA8w1Jwd3T+BKVu9/bSYYvOUsdmZSnJ43WPhdG4fV0gq/dBacvcG2Mblc G3KNQVgceqKYT//2u0ylW7avx5RhJAYRtKSCn4Elj7UWGB8ypsZKmFnuYqPHIsfuUTh0g04sSyDbM gkJRF3Ng==; 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 1euLvp-0002BD-4x; Fri, 09 Mar 2018 17:35:49 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euLlI-0003ru-AX for linux-arm-kernel@lists.infradead.org; Fri, 09 Mar 2018 17:25:23 +0000 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180309172443epoutp034a7895e797e1fa3aba06d8d31079332c~aUHQavm1u1152511525epoutp03Y; Fri, 9 Mar 2018 17:24:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180309172443epoutp034a7895e797e1fa3aba06d8d31079332c~aUHQavm1u1152511525epoutp03Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520616283; bh=nueU2+u6XcA7A/VuUilGXvnQy5rFzxK/Sf7mse7tpTk=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=YejFTVO3QHKG7XTJBCILP4ZbLrq9Ax1/nXMp3qBOCNJIQ70+84l5tB4+8cQd0bvz7 gk/Xt4DO3xdwB3CrmpDvBJNDblFGLOcO+CjPjgIoU8Xc9ZR4D8aX9oN1fiJwAmpLn8 oNVoYxYST73kku9k54vGKyRxd2MUPmPoHtHFyZto= Received: from epsmges2p1.samsung.com (unknown [182.195.42.69]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20180309172443epcas2p1ed10efa5a457c0e0cb051e9f53500a6c~aUHQMKKUC0501505015epcas2p1X; Fri, 9 Mar 2018 17:24:43 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id DB.54.04131.B53C2AA5; Sat, 10 Mar 2018 02:24:43 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p1.samsung.com (KnoxPortal) with ESMTP id 20180309172442epcas2p16d82d119fea8471383ccacee501c539a~aUHPLNU1Y0986109861epcas2p17; Fri, 9 Mar 2018 17:24:42 +0000 (GMT) X-AuditID: b6c32a45-3ebff70000001023-8a-5aa2c35bd7a2 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id B3.7D.03890.A53C2AA5; Sat, 10 Mar 2018 02:24:42 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5C003AE2Y56O20@mmp2.samsung.com>; Sat, 10 Mar 2018 02:24:42 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH v3 5/6] ARM: dts: exynos: Enable HDMI audio support on exynos5420-peach-pit Date: Fri, 09 Mar 2018 18:22:49 +0100 Message-id: <20180309172250.23019-5-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180309172250.23019-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsWy7bCmuW704UVRBne/S1hsnLGe1WL+kXOs FgunLWe06H/8mtni/PkN7BabHl9jt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LFFBIQl7i1dzg5SxCww iUmiaedPsISwQKzEop2rmEBsFgFViSW9i4GKODh4Bawl+ttjIbbJS7xfcB+snFPARmLJzMNs ICVCQCVbjwVMYORZwMiwilEytaA4Nz232KjAKC+1XK84Mbe4NC9dLzk/dxMjMMC2Hdbq38H4 eEn8IUYBDkYlHl6BGYuihFgTy4orcw8xSnAwK4nwvq8BCvGmJFZWpRblxxeV5qQWH2KU5mBR Euflzz8WKSSQnliSmp2aWpBaBJNl4uCUamDsj47YP+vQcktpb8F0dvWwxrvS77QW2T5a8cpc P7tl+6WUQ2uzXylKnjyidXT65aUaDgL7avfeU9b03qYQ92DhEtOsrFmiTvu+6K0V0rnnXML5 +nhnK9/Jw6uV2JfO5vj2sEDmZ0mRtazkJa2b399OSj5bed/ow8OIrtitnCv3pTUqXL2evcpX iaU4I9FQi7moOBEAD6BMLCwCAAA= X-CMS-MailID: 20180309172442epcas2p16d82d119fea8471383ccacee501c539a X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180309172442epcas2p16d82d119fea8471383ccacee501c539a X-RootMTR: 20180309172442epcas2p16d82d119fea8471383ccacee501c539a References: <20180309172250.23019-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_092457_415890_29A924C5 X-CRM114-Status: GOOD ( 12.93 ) 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, javierm@redhat.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 --- Changes since v1: - edited commit summary line. --- 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"; };