From patchwork Tue Nov 19 05:17:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 179686 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp165465ilf; Mon, 18 Nov 2019 21:45:44 -0800 (PST) X-Google-Smtp-Source: APXvYqxg+cK8q65NR3QPzFTy9ZjIl+pEhftdx6KZ2r5cR1I/ihrobzkFeo8iyvJ+FTkuOUJ5VjOQ X-Received: by 2002:a17:906:c2d6:: with SMTP id ch22mr33100228ejb.262.1574142344042; Mon, 18 Nov 2019 21:45:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574142344; cv=none; d=google.com; s=arc-20160816; b=APvZBe8DjCHEAy32zpSE8ntmHD1xVV0tgupRjlHsnJVuUjSJU6fj8O04l3K3Wo5d3M mNTYPQmf1n/v+sj3kH6KoEB1c34VDC+IaCiiUI+yIHeGEchRfGKF4QlfoYxvynS629VG 30qG7RFdch8bSXmWWOfWfDyWc89ImjGGwv5Cv8zkz4egI697WG3rdC1IlVnPUQwn4/bN FM2x/e8SatpW3PUCPLDC9lvw7rNsDGFDIq3ZSvdUx2W+6oRDqGazgWrgUgkCy3attmHm 3vi0xHSWKFtBKVI0rGrcPlIWI7rDB2O+v2RpU0dsOIKGO0NHAjaayidX9sFD52C68d6Q T7fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2ykKu4jd6YO/+mPVVkzcpPTdfUE1XxFiKeXX2V/qenY=; b=Cfhp7OjcEcLza2rYVlL2HQGrr5uT+SrkVMWueLxJqqzbGgCDp0a1VuitdySWm+wgR0 lHpknSGSrtDyQMnpTqg4JsoVFb6gTD/b/tZSEmhBuOivn0PWD7ZBS4nimrOsv9XElXc7 nccKsgAGc1/t55roeWMY6g5J+6GWSzmRX71tXmTnt5twrG0XjyX3MDab1M4KLav7mnkQ 4bxfMqoFh0mK1FuqDbXKk/GHzNmn2DhPIcIqmGdeI4Wk8kc74iTKANygIWWYbA9Ypxl5 51Vw5pG5PvsWi2GGf0gobAQwtmZdyWwc55nqEmmjXifNHUDt9dRmtpk48/NXX9Q3ty4c OBkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xaujtmYx; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si13852185ejc.104.2019.11.18.21.45.43; Mon, 18 Nov 2019 21:45:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xaujtmYx; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729316AbfKSFpm (ORCPT + 15 others); Tue, 19 Nov 2019 00:45:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:41390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730501AbfKSFpi (ORCPT ); Tue, 19 Nov 2019 00:45:38 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A7539222A4; Tue, 19 Nov 2019 05:45:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574142338; bh=aluBxgyG66rH0miEhxbojvxTsEkxqtA5iSpzk78LF4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xaujtmYxCHDOS6LtxC4H0PfgEdq02lCe3+vGT/54/fhhGxEZgwWD/AFlfXNQM45u7 tXjlWadTh5TfhwUQRU+npHCAZjSTtcJZTPJkeSGyfio3uuoE/TIxU9ZyS//YIc+Tke YpRAHhu4QoEQFljhbgrMVTGCcALrJxfCq3CZUrR8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Marek Szyprowski , Krzysztof Kozlowski , Sasha Levin Subject: [PATCH 4.14 048/239] ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook Date: Tue, 19 Nov 2019 06:17:28 +0100 Message-Id: <20191119051306.840109440@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191119051255.850204959@linuxfoundation.org> References: <20191119051255.850204959@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Marek Szyprowski [ Upstream commit 64858773d78e820003a94e5a7179d368213655d6 ] This patch adds missing properties to the CODEC and sound nodes, so the audio will work also on Snow rev5 Chromebook. This patch is an extension to the commit e9eefc3f8ce0 ("ARM: dts: exynos: Add missing clock and DAI properties to the max98095 node in Snow Chromebook") and commit 6ab569936d60 ("ARM: dts: exynos: Enable HDMI audio on Snow Chromebook"). It has been reported that such changes work fine on the rev5 board too. Signed-off-by: Marek Szyprowski [krzk: Fixed typo in phandle to &max98090] Signed-off-by: Krzysztof Kozlowski Signed-off-by: Sasha Levin --- arch/arm/boot/dts/exynos5250-snow-rev5.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.20.1 diff --git a/arch/arm/boot/dts/exynos5250-snow-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts index 90560c316f644..cb986175b69b4 100644 --- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts +++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts @@ -23,6 +23,14 @@ samsung,model = "Snow-I2S-MAX98090"; samsung,audio-codec = <&max98090>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98090 0>, <&hdmi>; + }; }; }; @@ -34,6 +42,9 @@ interrupt-parent = <&gpx0>; pinctrl-names = "default"; pinctrl-0 = <&max98090_irq>; + clocks = <&pmu_system_controller 0>; + clock-names = "mclk"; + #sound-dai-cells = <1>; }; };