From patchwork Fri Aug 3 10:55:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 143406 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp334769ljj; Fri, 3 Aug 2018 03:55:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfCZ8MwW3mD4zC9CMUb1dZzCMCvsUFPcpO0ov/J5TTSbGHNMWuTskqI2mFUVID5YyEAOimq X-Received: by 2002:a63:fc44:: with SMTP id r4-v6mr3242394pgk.169.1533293744312; Fri, 03 Aug 2018 03:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533293744; cv=none; d=google.com; s=arc-20160816; b=pplccpqryaRI0RQWq2skrwWgBKLEPg++lUM46lAn8DgFiGt4F2KVSyRAq5+lrJxXHh e7XypTCnt/KTPHTAjJ0Sr2HcWp3/QQjsNeuyyoZkc4Qb/xSjsLdqv/Rkyr01U7te0she cNdl1q+OEVRPJM6OyfUHJzPFiZ4sxKSkgWe1zJsxJZ+uERYAC6Kj+IlPNrTZ8Cy8d0BF wMNESrXZP/5BNlBd2E5zh+D7to5uv9z8csB2NYQQ1VgaMtsAm1CcSffwzGKs+R/KrY5S pzlWB+8+fOKUnZjIpL5vg8+bisWYDgYZY9lb2qRq+Zh6yrdcZyXd0y++CQ+oHrkg/apY sH4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=uhGQhSJ3jPybPin0lX97iI59a6bxfl+pMp1xRnpcezs=; b=uNuhHfTr6jtjNK3US0pI0b+d3Eh3QqgT/x5A9TQtGo8tf1VpiBEUbpzB1AEhYowlFr VUPmasfCBpEXIqBffol3APll5rRtKVR37eq16pThPke87KLkvIYjUKTcuilgUIixImMK K28FK9ZPl5tnrlkhP2Mkybr/bqWV8hYg03lmcrF5UOYyN5YyVdNbLFMEswOESuF74pIw l0H5jOlKyEdlq9KQiIOV6CDwlf+FEAuiqw68w/9iS87IrZ+W9Z1Zh2bZbCPoRiwJcb0Z iKIsSXprlKMegfCPsnNiwZ381/NSmvbnAfRh2G0SSpOPOKwFNTY72Je/OxW24iVZFwJv 8dCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b="D6/wuyAw"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b34-v6si3522899plc.170.2018.08.03.03.55.44; Fri, 03 Aug 2018 03:55:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b="D6/wuyAw"; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726472AbeHCMv3 (ORCPT + 3 others); Fri, 3 Aug 2018 08:51:29 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:56942 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbeHCMv3 (ORCPT ); Fri, 3 Aug 2018 08:51:29 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180803105542euoutp02397efabfec4a8edd47df7eaf0e2e64dc~HWojhCKHN1601316013euoutp02c for ; Fri, 3 Aug 2018 10:55:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180803105542euoutp02397efabfec4a8edd47df7eaf0e2e64dc~HWojhCKHN1601316013euoutp02c DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1533293742; bh=AaLQOOdcDWUeOXA8TcjGeqO00wW+fOgAV5/m1ZSsyp4=; h=From:To:Cc:Subject:Date:References:From; b=D6/wuyAwgW0zHI6hzdKSyhJXFO9xiqdPGP4noqvm0m5ciNaOGvsnnCik2jQ9eI5kW oyAsKrI1fO5snuplXaT/s98Eb2UVbtFEkdjUi39HptengFW7LI+J2o1PvoNY2/FCYX /o7s6ttyuwR1vS4d90nXMP+hXI32QvbDlGI/fbz8= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180803105541eucas1p247ed9611a22c0bf6662003cf7401d835~HWojCHz8o2886828868eucas1p2S; Fri, 3 Aug 2018 10:55:41 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id E4.C8.61560.DA4346B5; Fri, 3 Aug 2018 11:55:41 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20180803105540eucas1p17fd1e4ec4b4062498af392a91fc62665~HWoiDgG7K2563025630eucas1p1o; Fri, 3 Aug 2018 10:55:40 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20180803105540eusmtrp1f5f81d15e229956d24ae2ddc95d2566f~HWohxPRWc2103421034eusmtrp1v; Fri, 3 Aug 2018 10:55:40 +0000 (GMT) X-AuditID: cbfec7f5-207ff7000002f078-0e-5b6434ad1e15 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 89.F0.04183.CA4346B5; Fri, 3 Aug 2018 11:55:40 +0100 (BST) Received: from AMDC2765.digital.local (unknown [106.116.147.25]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20180803105539eusmtip2634b0fed13ba957811539e34d8219f38~HWohgTCHp1559715597eusmtip2b; Fri, 3 Aug 2018 10:55:39 +0000 (GMT) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Krzysztof Kozlowski , Sylwester Nawrocki Subject: [PATCH] ARM: dts: exynos: Fix sound in Snow-rev5 Chromebook Date: Fri, 3 Aug 2018 12:55:32 +0200 X-Mailer: git-send-email 2.17.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOIsWRmVeSWpSXmKPExsWy7djP87prTVKiDR6dFbQ4f34Du8WM8/uY LNYeuctu0f70JbMDi8emVZ1sHn1bVjF6fN4kF8AcxWWTkpqTWZZapG+XwJUxff8v9oIZXBU3 rx1mbWCcz9HFyMkhIWAisfncatYuRi4OIYEVjBJ7f15ghHC+MEp8/fGEBaRKSOAzo8TByXkw HQu7JrBBFC1nlLhz7A5U+1dGiZ6rp1lBqtgEDCW63naxgdgiAqoSn9sWsIMUMQs0M0rc/bYe LCEs4CLRs/A2I4jNAlTUsvATI8QKeYnVGw4wgzRICKxhk5iw9hjYVF6BMomrW06yQRS5SGw9 /BzKFpZ4dXwLO4QtI3F6cg8LRDPQtvYZs9ghnB5Gia1zdkB1WEscPn4RaCoH0E2aEut36UOE HSVWnZ/NAhKWEOCTuPFWECTMDGRO2jadGSLMK9HRJgRRrSYx6/g6uLUHL1xihrA9JA4/msEI CbpYid0z7rFOYJSbhbBrASPjKkbx1NLi3PTUYuO81HK94sTc4tK8dL3k/NxNjMDoPv3v+Ncd jPv+JB1iFOBgVOLhvaCaHC3EmlhWXJl7iFG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20180803105540eucas1p17fd1e4ec4b4062498af392a91fc62665~HWoiDgG7K2563025630eucas1p1o@eucas1p1.samsung.com> X-CMS-MailID: 20180803105540eucas1p17fd1e4ec4b4062498af392a91fc62665 X-Msg-Generator: CA X-RootMTR: 20180803105540eucas1p17fd1e4ec4b4062498af392a91fc62665 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180803105540eucas1p17fd1e4ec4b4062498af392a91fc62665 References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org 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 commits: e9eefc3f8ce0 ("ARM: dts: exynos: Add missing clock and DAI properties to the max98095 node in Snow Chromebook") and 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 --- arch/arm/boot/dts/exynos5250-snow-rev5.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.17.1 -- 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-rev5.dts b/arch/arm/boot/dts/exynos5250-snow-rev5.dts index 0348b1c49a69..6589760d80ee 100644 --- a/arch/arm/boot/dts/exynos5250-snow-rev5.dts +++ b/arch/arm/boot/dts/exynos5250-snow-rev5.dts @@ -20,6 +20,14 @@ samsung,model = "Snow-I2S-MAX98090"; samsung,audio-codec = <&max98090>; + + cpu { + sound-dai = <&i2s0 0>; + }; + + codec { + sound-dai = <&max98095 0>, <&hdmi>; + }; }; }; @@ -31,6 +39,9 @@ interrupt-parent = <&gpx0>; pinctrl-names = "default"; pinctrl-0 = <&max98090_irq>; + clocks = <&pmu_system_controller 0>; + clock-names = "mclk"; + #sound-dai-cells = <1>; }; };