From patchwork Fri Nov 22 10:26:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 179976 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp26315ilf; Fri, 22 Nov 2019 02:43:58 -0800 (PST) X-Google-Smtp-Source: APXvYqzz1afNA7kgy82L0phyShpXjA6D8rwiQMfm239XjugPOGCQxXHeDhFKSuWEwOA8GgGL3iiP X-Received: by 2002:a17:906:411:: with SMTP id d17mr21124910eja.299.1574419326401; Fri, 22 Nov 2019 02:42:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574419326; cv=none; d=google.com; s=arc-20160816; b=P4pyWfy+5YWAHFF6uNZ7s+O6/0WgHK7mc1BvHQXFYbjCW537tSA55eTWcY08yRLHto 0nRe/v6DjfrJ315Zt3orThkRsbAERh1KpW7nzxG5W2Xshu/bPsMGmZTMB99LIytCxsBP m/mPSfYTDyTCcSHI0O2lUB6O/UrXW0t1+qwDmB2ri8G6A8sQHtq2w/EPAPRL/RFQaSfZ Vvs3NXIoBwkeI/3FsyUIEtiXQUTgiuMhk+Ag4b01wkV+FiEOheGj8q6kGlFUtZoeQCHT HHPoTGVYuRVSmMYNlmLXFpNqrdyPpazesddPLwQZs6k9GObXWpQRhowWwb9d5SIXUBcO 8fng== 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=jC37QR0tqEBT1iLqkmpwekOZdxDVidpoIhlpr58fbNwSTVyEnl222sk7RZ5OFN+LST CPJhqBv0VcCH+2fJbq4vvUpa0isH8JfyONyCI8m+ufFnKUycwVpxSu1VaAdOdNQkGTEC oMWdLzTvPgIAnmKEc6D9rH3dkDs6e0u9hTt31cKTpe3ve8tTsvZpfihQjj4JdTGzyM4u /V0R170qcYXlPkhBEQzSPFQ3b+kFlwzULYEbZx8ZU8WMxu6p4Y+nwrfkvl9ozKO6I+I1 4iBwSyuoyPaM85EFG3XQRvcEL/hz0+h+Ay8y3sDp+1EujJVt/zOkJMXP+iqc+2CAk25Z XVQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VwAdwVAr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 f2si4366927eda.339.2019.11.22.02.42.06; Fri, 22 Nov 2019 02:42:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=VwAdwVAr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729082AbfKVKmE (ORCPT + 26 others); Fri, 22 Nov 2019 05:42:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:46886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729073AbfKVKmB (ORCPT ); Fri, 22 Nov 2019 05:42:01 -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 8696820718; Fri, 22 Nov 2019 10:42:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574419321; bh=aluBxgyG66rH0miEhxbojvxTsEkxqtA5iSpzk78LF4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VwAdwVAr6pI/SnY/obOXlZcdd/pVlKfDeRpyCuhXdSAsqbeGr6XVP77ariYkjG4TP 6j5Bf+vAF7umKVyxwDiR/yWT1/zv6uol2QoAdYqYfOplk9RHEgEDS8K19rrMLDS77K T4ulnvU4fSo+qleE5+7LXg0wwtFTIDq2rRoJ9GdY= 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.9 027/222] ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook Date: Fri, 22 Nov 2019 11:26:07 +0100 Message-Id: <20191122100840.453330640@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100830.874290814@linuxfoundation.org> References: <20191122100830.874290814@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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>; }; };