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: 10268385 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 5308F602C8 for ; Thu, 8 Mar 2018 16:26:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43B93283BD for ; Thu, 8 Mar 2018 16:26:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37D9329795; Thu, 8 Mar 2018 16:26:45 +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 E0FB7283BD for ; Thu, 8 Mar 2018 16:26:43 +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=hmVZBhjw350W2qk1J0PR7tkPoISqJjGSWWXqL5frcfw=; b=iytLnHJcZLCgLJ9dtbsUmHDDut cJd54p0DFnl65A//TUIa6wgL6RUJAo48qdnpbxLBCNprKsdghEuaeaWPVFx+3tedEHKMZP2cS29q0 Ts3xx4zPnxfvPf4Lr054OLxbZe3YKgaxbR/UTOmeQtimCFiZwYowackY6bFhHyOHc1unRJD9QhZTj 1FQCo0Cz/6SE0bcBn2+9PWF+1Yjv8LMKD/6Fx9U4B5ZDKrtiaGyEJhcNWoovG1fvW/nP5VegPxMn/ cGFWTCkP5eR+8BG1/MfL04ZiIkHA0tnFAOHJnXN8IkpUj7xJCI24KRyCh9y0ASY11zljQNTSljlCV YsMhvPSQ==; 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 1etyNF-0002Sd-4q; Thu, 08 Mar 2018 16:26:33 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etyN9-0002N6-UF for linux-arm-kernel@lists.infradead.org; Thu, 08 Mar 2018 16:26:30 +0000 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 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+0sz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r5zc2EJtXwFJi+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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180308_082628_411342_50B91E2C X-CRM114-Status: GOOD ( 12.06 ) 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" 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 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>; + }; }; };