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: 10264573 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 EFEDC602BD for ; Wed, 7 Mar 2018 17:27:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DE2BE28AC6 for ; Wed, 7 Mar 2018 17:27:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D29C528BD5; Wed, 7 Mar 2018 17:27: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 1A43228AC6 for ; Wed, 7 Mar 2018 17:27:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933795AbeCGR1v (ORCPT ); Wed, 7 Mar 2018 12:27:51 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:32198 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933733AbeCGR1p (ORCPT ); Wed, 7 Mar 2018 12:27:45 -0500 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 Cc: kgene@kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki 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+0szpwemxa1cnmsXlJvUffllWM Hp83yQWwRHHZpKTmZJalFunbJXBl/PqxlLFgEU/FxRtzWBoYV3N1MXJySAiYSJw5Pou5i5GL Q0hgB6PE5d072CCc74wSF5afZISperztMSNEYjejxJpZX9khnF+MEvt+bWQHqWITMJToPdoH 1iEiICxxb+lysCJmgX+MEutW7mUDSQgLOEs0HTjJAmKzCKhKzD72kBnE5hWwlvj3cDobxDp5 ifcL7oMN4hSwkVh4ZzoLyCAJgSlsEosu7WGFKHKR2P11NzuELSzx6vgWKFta4tmqjVB3V0t0 tnWxQzS3MEr8mXYJaoO1xOHjF8EGMQvwSXQc/gtUxAEU55XoaBOCKPGQ+LD3LNQuR4mLx/ZC /d/PKPHr0hqWCYxSCxgZVjGKpRYU56anFhsVGOkVJ+YWl+al6yXn525iBMeoltsOxiXnfA4x CnAwKvHwSvyZHyXEmlhWXJl7iFGCg1lJhNdIfkGUEG9KYmVValF+fFFpTmrxIUZpDhYlcd7W AJcoIYH0xJLU7NTUgtQimCwTB6dUA+PReyvPnNJa1vnptPxjDrHM6tPh6z45i1x+tUPtjf1s yRSDFZa3WyxU9u5XFYy8uSehb0b9ooe+jgq37R/2zfitInhdUZuf5egFJ9eSRd9v8lpJr/i7 /sVxoXl3nteua7K97h6cU6r19fTUdxMEpY0nPw5peftqs66K/4yKi3/Orn5bc/forrRCJZbi jERDLeai4kQA92srfM0CAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprILMWRmVeSWpSXmKPExsVy+t9jAV0+xQVRBmv6eCw2zljPajH/yDlW i/7Hr5ktzp/fwG6x6fE1VovLu+awWcw4v4/JYu2Ru+wWh9+0szpwemxa1cnmsXlJvUffllWM Hp83yQWwRHHZpKTmZJalFunbJXBl/PqxlLFgEU/FxRtzWBoYV3N1MXJySAiYSDze9pixi5GL Q0hgJ6PEwn3tzBDOL0aJi4+PsoJUsQkYSvQe7WMEsUUEhCXuLV3ODlLELPCPUeLZ9MdsIAlh AWeJpgMnWUBsFgFVidnHHjKD2LwC1hL/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> 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 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 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + }; }; };