From patchwork Fri Nov 22 10:26:50 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: 179958 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp12273ilf; Fri, 22 Nov 2019 02:31:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzRPg+87RO9VSX4RMvtzaUsaFgWTN1DAhZn3fDIkE7uzUQLtKN+VrJAbHjFdVrYxeiwbX+V X-Received: by 2002:aa7:dc0c:: with SMTP id b12mr171954edu.186.1574418699306; Fri, 22 Nov 2019 02:31:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574418699; cv=none; d=google.com; s=arc-20160816; b=wHuuf7sAZMeAfhsMcW6diGbmm4yAG2BpxHJMfp2nF3UeS0ngipC+jLntBi2qk31dM7 2WjMU/NvWJw9XtZv/cMfLB5Ks1rI5+jJGFL1o/fdp/Jo2NNgFZ1fni/BCjr6J2fzkLRW N1jcHud8PpLs7P6jYuzZaLiOUbBVLznKu5NDtvTw4ykfaiSgHfEsErs/i++mxtqSVxhV 7xIauaop7i1vAj2WCFEM5KJVK2Yol+TdE8/coiOMQkcQ3RqIbPHhybDlSivpaLjp0o+R 0EJJcL7RlPl+1RM8sKi1DN/bypVpN1E+mpwftQA6iAvSNPRXpSQfEAX790ir9rBx6UWh kwJw== 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=7Wo0+fFwq7rABuuXi5KtFPf0qvwBfMRVThS00FaESXA=; b=YSTS+tgs+6gn9sI4dH6jf+ABAOkmnY1Kl1JcrWF/fB6qv5EmnYjVCX2Z9qA3SxHmjh 1Hwl1ftl48ir5pnIS8HqZT1EqUMxcM48rlZAE8tR3ZCLypmGwkcxVwTSK93g8t9Ne9k7 xD2YCGEBzeXaK7rzYSGprT3ngF9T3vyGorEul1kFHBD7K3LtdjmLPC9fk4T9PJLlABOX 7pbUE2XcJtlV5q5D1rEWafzL/Vu97YUaUkwVR8YB9h4D3mKIUXDwfUHc+/sUOF1US1P/ 7rbzC4LphiWGNc0iX2NWUCEhkOijpl9mL80hvY5W1Urv+qul4Dhf+F7DUD555Kkpjj9M qA2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oo6qjxn5; 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 b15si2490714eju.362.2019.11.22.02.31.39; Fri, 22 Nov 2019 02:31:39 -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=oo6qjxn5; 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 S1727374AbfKVKbg (ORCPT + 26 others); Fri, 22 Nov 2019 05:31:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:51720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727316AbfKVKb3 (ORCPT ); Fri, 22 Nov 2019 05:31:29 -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 A807220731; Fri, 22 Nov 2019 10:31:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574418689; bh=yb2jTU2J1Pcb1tIvnOIHJBWKHeSbxjsNa/OwZZEyHl0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oo6qjxn58J23CCOWvWeEIfkalwtj2WO/jEjoi7H1f6V+i6A5/8bI+WDGd1jL7e3Dv HRMvpTmFS9rk9K8plTaxamjydVr0ABykvTvqIodTfV5v9UFPOsQUZcxb1nDE9UOVEy BjgPb51I453K8L+kDJ68FmWgye35pFRnfF76fO1Q= 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.4 019/159] ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook Date: Fri, 22 Nov 2019 11:26:50 +0100 Message-Id: <20191122100720.731102034@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191122100704.194776704@linuxfoundation.org> References: <20191122100704.194776704@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 f811dc8006605..0d46f754070e4 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>; }; };