From patchwork Fri Mar 9 17:22:50 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: 10271381 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 E8B7660236 for ; Fri, 9 Mar 2018 17:36:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D096529D2B for ; Fri, 9 Mar 2018 17:36:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C516629E1D; Fri, 9 Mar 2018 17:36:20 +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=unavailable 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 374C329D2B for ; Fri, 9 Mar 2018 17:36:20 +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=7HDumI46ZOGZ1OmFloq8V0AXZl7mTmrbytITzm7+eqk=; b=V0IHEbwJCPZvbEzYbozDaPfSw+ 5uCSanJEoR/TrGkOAf8GrqL75e5Pv02J42f8rw55sLebeLSFEQ0shjRRrzlGX2tevXPtnTkw+5I+7 cAYGvQz03WDV8hNN6L4r81WtK1MquSdmC1dwysvCELoHzm7EOWxl+1zoK1dzhLOgwvINw2JtpCevc PJZ4sbdVXALixUGl+nbjMN4wXA83j5G4DEtDdi7FS6uJVJTYzYtocKcV4mOP4sxJTf3KyFm/Za37c 7wwkGzlzogF1mmlBbMYnKz5ec4pgyWSuEWYmTBnBL7klx5bjn5HHOPkTL6Svu/0qXokAlY728qIK6 LsCvi99w==; 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 1euLwH-0002Tr-2L; Fri, 09 Mar 2018 17:36:17 +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-0003wQ-AW for linux-arm-kernel@lists.infradead.org; Fri, 09 Mar 2018 17:25:24 +0000 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180309172451epoutp033f79cc6f20f2fae54a5d9235c55475cb~aUHX2S-ky1152511525epoutp03Z; Fri, 9 Mar 2018 17:24:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180309172451epoutp033f79cc6f20f2fae54a5d9235c55475cb~aUHX2S-ky1152511525epoutp03Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520616291; bh=RQb2a8g5gE+xdPhK5EHmsvBNx6Pg2F7aAw39kkh+eiA=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=KEVNH+9JGmTJx4Rr46FHgGSXKHzWAyw6c3w/9MHl6k9lvXfH1DMbEK0WOQK08l/NJ Jh3cB455KFL12WF/cPKaUfvXWjRadu6H5xefK3AhaqmNBCaReqMoySXLCvzAK9LmcO KRt7MYFwcHfhby2Ka2rZhygBM4wXWPzNOlyu9L7w= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20180309172451epcas1p13842461895699b7aa8a16886fef0e9bc~aUHXg_wg-1119811198epcas1p1p; Fri, 9 Mar 2018 17:24:51 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id D1.02.04136.363C2AA5; Sat, 10 Mar 2018 02:24:51 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180309172450epcas1p2b845a521afbadc81da991330bdbc588c~aUHWtCcXa2784027840epcas1p2k; Fri, 9 Mar 2018 17:24:50 +0000 (GMT) X-AuditID: b6c32a36-ca9ff70000001028-09-5aa2c3638da4 Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 15.B5.03826.263C2AA5; Sat, 10 Mar 2018 02:24:50 +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:50 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH v3 6/6] ARM: dts: exynos: Enable HDMI audio support on exynos5800-peach-pi Date: Fri, 09 Mar 2018 18:22:50 +0100 Message-id: <20180309172250.23019-6-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+NgFtrPIsWRmVeSWpSXmKPExsWy7bCmgW7y4UVRBvcmCFlsnLGe1WL+kXOs FgunLWe06H/8mtni/PkN7BabHl9jtbi8aw6bxYzz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Xc4OUsQs MIlJomnnT7CEsECMxJopG9m6GDk4WARUJX7fLQIJ8wpYS3y/8YAJYpu8xPsF98HKOQVsJJbM PAxWLgRUs/VYwARGngWMDKsYJVMLinPTc4uNCgzzUsv1ihNzi0vz0vWS83M3MQIDbNthrb4d jPeXxB9iFOBgVOLhFZixKEqINbGsuDL3EKMEB7OSCO/7GqAQb0piZVVqUX58UWlOavEhRmkO FiVx3tt5xyKFBNITS1KzU1MLUotgskwcnFINjGFlh59mBb/NCTxzqFKN453iv5TdCikPHj9b tXd2I4ueBkOT2s+2s+Ipre0XHz9IiLrjrLX8ms2N8BVlf9b9cnR6svWLbcQBTRvnpbEefjmX BN4fZKh41mo14SnLvJPCLxZbvN7Knr3k+aRLs0MqM/ZY8x5/JLD+t0CIpOW9e6wVi3bInlgQ YKDEUpyRaKjFXFScCACvan/7LAIAAA== X-CMS-MailID: 20180309172450epcas1p2b845a521afbadc81da991330bdbc588c X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180309172450epcas1p2b845a521afbadc81da991330bdbc588c X-RootMTR: 20180309172450epcas1p2b845a521afbadc81da991330bdbc588c 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_684797_F159605C X-CRM114-Status: GOOD ( 13.10 ) 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-max98091" DT bindings and the I2S clock tree configuration so sound on the HDMI interface can be also supported. Signed-off-by: Sylwester Nawrocki --- NOTE: I couldn't test this patch as I have no access to Peach-pi Chromebook. I think it shouldn't be applied unless someone actually tests it. Changes since v1: - edited commit summary line. --- arch/arm/boot/dts/exynos5800-peach-pi.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/exynos5800-peach-pi.dts b/arch/arm/boot/dts/exynos5800-peach-pi.dts index 0029ec27819c..0a4766e0484e 100644 --- a/arch/arm/boot/dts/exynos5800-peach-pi.dts +++ b/arch/arm/boot/dts/exynos5800-peach-pi.dts @@ -14,6 +14,7 @@ #include #include #include +#include #include "exynos5800.dtsi" #include "exynos5420-cpus.dtsi" @@ -89,6 +90,14 @@ samsung,model = "Peach-Pi-I2S-MAX98091"; samsung,i2s-controller = <&i2s0>; samsung,audio-codec = <&max98091>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98091>, <&hdmi>; + }; }; usb300_vbus_reg: regulator-usb300 { @@ -145,6 +154,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>; }; @@ -609,6 +623,7 @@ pinctrl-0 = <&max98091_irq>; clocks = <&pmu_system_controller 0>; clock-names = "mclk"; + #sound-dai-cells = <0>; }; light-sensor@44 { @@ -661,6 +676,8 @@ }; &i2s0 { + assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; + assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; status = "okay"; };