From patchwork Thu Mar 8 16:25:59 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: 10268383 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 9122D6037E for ; Thu, 8 Mar 2018 16:26:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 828D4283BD for ; Thu, 8 Mar 2018 16:26:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7661329848; Thu, 8 Mar 2018 16:26:17 +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 7D016283BD for ; Thu, 8 Mar 2018 16:26:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933626AbeCHQ0P (ORCPT ); Thu, 8 Mar 2018 11:26:15 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:28856 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933513AbeCHQ0N (ORCPT ); Thu, 8 Mar 2018 11:26:13 -0500 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180308162611epoutp01a3d1e6375ea20cb9debb9558857ee8c0~Z-q2xlt2F0108101081epoutp01V; Thu, 8 Mar 2018 16:26:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180308162611epoutp01a3d1e6375ea20cb9debb9558857ee8c0~Z-q2xlt2F0108101081epoutp01V DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520526371; bh=Pt2M717gCqqg9ZztYdV8kgPS7iXAM5YD35GUqpHJVYg=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=T4+/y63NMJYWO8wK3ov4brKFKOgWZKqL5sHug4+7YmyVOiQzM4Ta81JgucR2RXDfn 1sXriKLQrZwfPPAoCXNhCcJ8hy68niQ95KVSSmrXN1zT38N9DBG7guZd8j6pfiLgtB /VS03cexZF+EAI5zAuCkuLlIbd4nU0J19we+yyk8= Received: from epsmges1p5.samsung.com (unknown [182.195.42.57]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20180308162610epcas1p2eae522927259d2ba31b6b13862fc1feb~Z-q16sTO92566325663epcas1p2r; Thu, 8 Mar 2018 16:26:10 +0000 (GMT) Received: from epcas1p3.samsung.com ( [182.195.41.47]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 2C.04.04037.22461AA5; Fri, 9 Mar 2018 01:26:10 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180308162609epcas1p45458c1671c38b389e047f17804690eb9~Z-q1mpkA-2442324423epcas1p40; Thu, 8 Mar 2018 16:26:09 +0000 (GMT) X-AuditID: b6c32a39-47fff70000000fc5-b5-5aa164220bb5 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id C9.CF.03826.12461AA5; Fri, 9 Mar 2018 01:26:09 +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 <0P5A00MJM5NDS580@mmp1.samsung.com>; Fri, 09 Mar 2018 01:26:09 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Cc: kgene@kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, b.zolnierkie@samsung.com, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH v2 4/4] ARM: dts: Enable HDMI audio on Snow Chromebook Date: Thu, 08 Mar 2018 17:25:59 +0100 Message-id: <20180308162559.391-1-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180307172711.15697-4-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsWy7bCmvq5SysIog933uC02zljPajH/yDlW i/7Hr5ktzp/fwG6x6fE1VovLu+awWcw4v4/JYu2Ru+wWh9+0szpwemxa1cnmsXlJvUffllWM Hp83yQWwRHHZpKTmZJalFunbJXBlbGjezViwnLfi6vxutgbGKdxdjJwcEgImEtuWn2HsYuTi EBLYwShx8/wvKOc7o8SdX43MMFXfD/WwQiR2M0r0XD3ABOH8YpS4vK2NDaSKTcBQovdoHyOI LSIgLHFv6XJ2kCJmgX+MEsdvTQMbJSzgJjHxQAM7iM0ioCrR2vkNrJlXwFJi+ZczjBDr5CXe L7gPZHNwcArYSEy/KAcyR0JgApvExHWNLBA1LhJzjvxggrCFJV4d38IOUi8hIC1x6agtRLha orOtix2it4VR4s+0S2wQCWuJw8cvsoLYzAJ8Eu++grwG0ssr0dEmBGF6SExYbAJR7Shxb9Mn Noh/+xkl3s9awTiBUWoBI8MqRrHUguLc9NRiwwJTveLE3OLSvHS95PzcTYzg6NSy3MF47JzP IUYBDkYlHt4HjgujhFgTy4orcw8xSnAwK4nwBugDhXhTEiurUovy44tKc1KLDzFKc7AoifMG BLhECQmkJ5akZqemFqQWwWSZODilGhg5Za2ZSo5PuXXUvV7V5cmyyY9N7Pu1AipE/3+xZ3/9 6e7zM+vSLuz+JJVdZ/5+/8WEVXkvrx4UEsw4wa67Si30uvKtXp/WNrkHhgdfXf7zPSZ3ZlXu 33nJV67N9Jp33SfuweNzEYFGjsxx6Y/OMkzwX7Zl0e78uKbTZ3ldshfXhFlePzo9je2NEktx RqKhFnNRcSIA3KXJBsoCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjluLIzCtJLcpLzFFi42I5/e+xgK5iysIog1fnDC02zljPajH/yDlW i/7Hr5ktzp/fwG6x6fE1VovLu+awWcw4v4/JYu2Ru+wWh9+0szpwemxa1cnmsXlJvUffllWM Hp83yQWwRHHZpKTmZJalFunbJXBlbGjezViwnLfi6vxutgbGKdxdjJwcEgImEt8P9bB2MXJx CAnsZJQ439fKDJIQEvjFKDHnqw6IzSZgKNF7tI8RxBYREJa4t3Q5O4jNLPCPUeLDVn0QW1jA TWLigQawOIuAqkRr5zc2EJtXwFJi+ZczjBDL5CXeL7gPZHNwcArYSEy/KAexylri0+vP7BMY eRYwMqxilEwtKM5Nzy02KjDMSy3XK07MLS7NS9dLzs/dxAgMpW2Htfp2MN5fEn+IUYCDUYmH 18JlYZQQa2JZcWXuIUYJDmYlEd4AfaAQb0piZVVqUX58UWlOavEhRmkOFiVx3tt5xyKFBNIT S1KzU1MLUotgskwcnFINjO58EtcyPUR1lYRfzWc836Pa6CaVWW2ScHTlPMOAK9UZwo9k3B+t fDHxRpVbQueO9xNTVlesnv7zl4rBAzsHxxtrDJ7rFbdN7Q1jDlHzPyG21+Ci9xrVlgXhrwUW m38I2S+rembxbw7jQu+oG4d5v+qyXCpKU7q89ecuC9a19eGdOS43P892VGIpzkg01GIuKk4E AJXaSa0hAgAA X-CMS-MailID: 20180308162609epcas1p45458c1671c38b389e047f17804690eb9 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180308162609epcas1p45458c1671c38b389e047f17804690eb9 X-RootMTR: 20180308162609epcas1p45458c1671c38b389e047f17804690eb9 References: <20180307172711.15697-4-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" 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 v2: - changed order of codec phandles in codec/cpu-dai property to match the DT bindings documentation. --- 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..75fdc5e6d423 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 = <&max98095 0>, <&hdmi>; + }; }; };