From patchwork Wed Mar 7 17:27:11 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: 10264593 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 86688602BD for ; Wed, 7 Mar 2018 17:30:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7397B2965C for ; Wed, 7 Mar 2018 17:30:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6842429660; Wed, 7 Mar 2018 17:30: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=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 E55A92965C for ; Wed, 7 Mar 2018 17:30:19 +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=/qWcK9XpufI/tnJTZVnJINvEP0ZQtd6nHmHdjl5apyg=; b=E09goieTksoayziqS7K/kXbFtw DEJbdpPGyO0arU/Sww2Excd8gBNv4IItDyRJBpC1KjSsFu010odMl+jhJuOejaUC7OUFord8sqjxB oWMSm0K6nFI3Uxr824OY6Do1SKG2JhoCj66OhpxGZMS1DA6GwdRDJLPJb075SNChR1lEzW2Dp0Nwm K6rP96T7Qt80hZWv+2mac+CYuXhEzRmhsg71TQg/bHMoQxRgNteYtwXa0qEEUAncIM2jThoDbDaVF qZqJwK7m7hsbB03wceRyXVbOxv/C/hmigd3IV/clEHL8S2P3Lak7EvMDDpytwQz5L/xIeJF2peUxq y0rfRMHQ==; 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 1etctC-0003UQ-9g; Wed, 07 Mar 2018 17:30:06 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etcr6-0002RI-8d for linux-arm-kernel@lists.infradead.org; Wed, 07 Mar 2018 17:28:08 +0000 Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180307172743epoutp016d90b771c7dbfb3c557b9c8b5cf0cd57~Zs3TguGct2424424244epoutp01I; Wed, 7 Mar 2018 17:27:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180307172743epoutp016d90b771c7dbfb3c557b9c8b5cf0cd57~Zs3TguGct2424424244epoutp01I DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520443663; bh=UGy/aLMwqhHmQNc+N8m022td3/Zo4WpqFSFc0UHiAkw=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=jAnCh9g0sbH4Uoh/ZjVfgRtYgLfiG8+l1sCK/i6sM28JFciXaLT+0bpWAV8+PtEvs IrinfhVJdf3bjXK/rZoSZwK+aiHNEuQuS9+7drW+z+F6C2jDVNM5iHxpHjeTt63azT gvQ0k6FmnGbhDxnyGzOiHvCt9wXqHx288TbQrQqw= Received: from epsmges2p2.samsung.com (unknown [182.195.42.70]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20180307172743epcas2p2815405421f4dbd889228b78ba70343a4~Zs3TKrhyh2591425914epcas2p2i; Wed, 7 Mar 2018 17:27:43 +0000 (GMT) Received: from epcas2p2.samsung.com ( [182.195.41.54]) by epsmges2p2.samsung.com (Symantec Messaging Gateway) with SMTP id CB.D5.04137.F0120AA5; Thu, 8 Mar 2018 02:27:43 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20180307172742epcas2p2c0ef2394412da71b6d0ee172c47c3420~Zs3SDndTi0193301933epcas2p2H; Wed, 7 Mar 2018 17:27:42 +0000 (GMT) X-AuditID: b6c32a46-3a9ff70000001029-35-5aa0210f9777 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 25.C7.03890.E0120AA5; Thu, 8 Mar 2018 02:27:42 +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 <0P58003GXDTDRG50@mmp1.samsung.com>; Thu, 08 Mar 2018 02:27:42 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH 4/4] ARM: dts: Enable HDMI audio on Snow Chromebook Date: Wed, 07 Mar 2018 18:27:11 +0100 Message-id: <20180307172711.15697-4-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180307172711.15697-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrFIsWRmVeSWpSXmKPExsWy7bCmmS6/4oIogx0vRS02zljPajH/yDlW i/7Hr5ktzp/fwG6x6fE1VovLu+awWcw4v4/JYu2Ru+wWh9+0szpwemxa1cnm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C1hL/Hk5ng1gnL/F+wX2wQZwCNhIL70wHqxcCqnmzp4l9 AiPPAkaGVYySqQXFuem5xUYFRnmp5XrFibnFpXnpesn5uZsYgQG17bBW/w7Gx0viDzEKcDAq 8fBK/JkfJcSaWFZcmXuIUYKDWUmE10h+QZQQb0piZVVqUX58UWlOavEhRmkOFiVxXv78Y5FC AumJJanZqakFqUUwWSYOTqkGRifPr5vMJmW+spx5K/XpJtG/FbaJCuHm1fnlbRb98d3M8ZrH pyWfiU39Ih4ZFeH+2HhGmJKz6Twxxzze/R5MBnOU3z9kcVu880Tlcq7C2ObwuXOa9SZYz5vn a5l+O+MO7+IzTt/MXlsmL/hY+zR9+87vUtkbdinPmGwjd7f7wtVs1uO9GY/eKLEUZyQaajEX FScCACHTuhAkAgAA X-CMS-MailID: 20180307172742epcas2p2c0ef2394412da71b6d0ee172c47c3420 X-Msg-Generator: CA CMS-TYPE: 102P X-CMS-RootMailID: 20180307172742epcas2p2c0ef2394412da71b6d0ee172c47c3420 X-RootMTR: 20180307172742epcas2p2c0ef2394412da71b6d0ee172c47c3420 References: <20180307172711.15697-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180307_092757_593030_81AC4E68 X-CRM114-Status: GOOD ( 11.27 ) 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-max98095" 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/exynos5250-snow-common.dtsi | 4 ++++ arch/arm/boot/dts/exynos5250-snow.dts | 8 ++++++++ 2 files changed, 12 insertions(+) -- 2.14.2 diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index bdf59dd3654b..932a00cfd716 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include #include "exynos5250.dtsi" / { @@ -523,6 +524,9 @@ }; &i2s0 { + assigned-clocks = <&i2s0 CLK_I2S_RCLK_SRC>; + assigned-clock-parents = <&clock_audss EXYNOS_I2S_BUS>; + #clock-cells = <1>; status = "okay"; }; diff --git a/arch/arm/boot/dts/exynos5250-snow.dts b/arch/arm/boot/dts/exynos5250-snow.dts index 16e37c337a3f..8c3f1573a994 100644 --- a/arch/arm/boot/dts/exynos5250-snow.dts +++ b/arch/arm/boot/dts/exynos5250-snow.dts @@ -18,6 +18,14 @@ samsung,model = "Snow-I2S-MAX98095"; samsung,audio-codec = <&max98095>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&hdmi>, <&max98095 0>; + }; }; };