From patchwork Fri Mar 9 17:22:46 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: 10271349 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 D29D06016D for ; Fri, 9 Mar 2018 17:24:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B913229EA0 for ; Fri, 9 Mar 2018 17:24:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD74E29ED1; Fri, 9 Mar 2018 17:24:49 +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 2E9CE29EA0 for ; Fri, 9 Mar 2018 17:24:49 +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=3sj7C8TCX73naD5jjRMJlgw7RVSb/Xn0n8t1ihg7aKk=; b=TQutAxfdGZ9yq+tfnPEvFTdK0K 7KksfPZq7swyVpRCM2hPXfbn01IykaaSXTKmAqH7dXVVZfuneOHdRfxI7JrbyGTlu/VD1XXQ7XL9D 0OMRrcXvrG5kMP0vFYrvhTvUbEOlj3Ix5Gpfoe3BHu0Rprx8R3eL2+wcgVAvT+dtiRw9+XoVWwkGd +nJ4NCOV78DsGxD/2RE7HBJMe54QJvkjsL79sHNohNYDrS/H/EbyPEDhDVg5wTao8nFeQtjfEKqhH 5WRsp6QBCUiJoudDdD08/VGTtI+YLy66/peNrlkE2E2OvCqIOc3kjMq1e7K11jUxGsnuSPMlmvoAP OEsczK1A==; 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 1euLl1-0003ny-C9; Fri, 09 Mar 2018 17:24:39 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1euLkf-0003PV-KH for linux-arm-kernel@lists.infradead.org; Fri, 09 Mar 2018 17:24:24 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180309172406epoutp016664caacaa259efdd014c07c8acb4899~aUGtSRbhN1630016300epoutp01Z; Fri, 9 Mar 2018 17:24:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180309172406epoutp016664caacaa259efdd014c07c8acb4899~aUGtSRbhN1630016300epoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520616246; bh=DIgAZUdnkoT8VA7g7Qfc1OVSJatApWwhRcD/QMY7gM4=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=cWxSE3v+X45y+78qKzryHKbTtoCqdqTrS8bf50tEn+/8A/br0p0tMsWVyxJ9NM7tT Ck1WeYW29SjwHdUEgFHwMcdxKq/uLae323FhrA/K1OrnkzyJOCn/Zb+o9EEg3DU728 Zjpj/L3F8g9hHplXPYQ39J3FCeQEJTGlDF8Zfz9k= Received: from epsmges1p4.samsung.com (unknown [182.195.42.56]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180309172405epcas1p396af900f1fbe27385c4d6a02895dbae1~aUGtBbxF71211912119epcas1p3b; Fri, 9 Mar 2018 17:24:05 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 69.9D.04180.533C2AA5; Sat, 10 Mar 2018 02:24:05 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180309172404epcas1p446cf7033027ccefe2d8cfcfc49edc179~aUGrZR0Ji0583605836epcas1p4O; Fri, 9 Mar 2018 17:24:04 +0000 (GMT) X-AuditID: b6c32a38-adbff70000001054-12-5aa2c33537fd Received: from epmmp2 ( [203.254.227.17]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 71.B5.03826.333C2AA5; Sat, 10 Mar 2018 02:24:03 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P5C003AE2Y56O20@mmp2.samsung.com>; Sat, 10 Mar 2018 02:24:03 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH v3 2/6] ARM: dts: exynos: Add audio clocks configuration for exynos5250-snow Date: Fri, 09 Mar 2018 18:22:46 +0100 Message-id: <20180309172250.23019-2-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180309172250.23019-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrAIsWRmVeSWpSXmKPExsWy7bCmga7p4UVRBvd+qltsnLGe1WL+kXOs FgunLWe06H/8mtni/PkN7BabHl9jtbi8aw6bx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uZwcpYhaY xCTRtPMnWEJYIE6i8/w0FhCbRUBVYsH+5WA2r4C1xKQdJxkh1slLvF9wH8zmFLCRWDLzMFsX IwfQNmuJrccCJjDyLGBkWMUomVpQnJueW2xUYJiXWq5XnJhbXJqXrpecn7uJERhg2w5r9e1g vL8k/hCjAAejEg+vwIxFUUKsiWXFlbmHGCU4mJVEeN/XAIV4UxIrq1KL8uOLSnNSiw8xSnOw KInz3s47FikkkJ5YkpqdmlqQWgSTZeLglGpglLlTLrHiRtLBbgWOB8WBPPt3tbeErpNkVv3/ OP9gmm5R9tH0eJkZ85RcFZOi/+42XhZ+4pjnxG7R478Kp5lH3byVO+/lDR/mhXsn/V9h55+4 Kok59zqbeaxsXMbxvuAf68UVK1tnCaz7JKjkcf0Rt6WvK8NXBa5NkQrvz7nPLY13mD0nPPSw EktxRqKhFnNRcSIAY1FHhiwCAAA= X-CMS-MailID: 20180309172404epcas1p446cf7033027ccefe2d8cfcfc49edc179 X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180309172404epcas1p446cf7033027ccefe2d8cfcfc49edc179 X-RootMTR: 20180309172404epcas1p446cf7033027ccefe2d8cfcfc49edc179 References: <20180309172250.23019-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180309_092418_724844_DA19AB4C X-CRM114-Status: GOOD ( 11.51 ) 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, javierm@redhat.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 Currently the audio subsystem clocks are not configured properly on Snow and sound is not working. The MAX98095 CODEC is not getting its master clock on the MCLK pin connected to the SOC's CLKOUT GPIO. This patch adds CLKOUT and other clocks configuration so HDMI audio can also be supported. Signed-off-by: Sylwester Nawrocki --- Changes since v1: - edited commit summary line. --- arch/arm/boot/dts/exynos5250-snow-common.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos5250-snow-common.dtsi b/arch/arm/boot/dts/exynos5250-snow-common.dtsi index 59cf1b202849..bdf59dd3654b 100644 --- a/arch/arm/boot/dts/exynos5250-snow-common.dtsi +++ b/arch/arm/boot/dts/exynos5250-snow-common.dtsi @@ -225,6 +225,16 @@ }; }; +&clock { + assigned-clocks = <&clock CLK_FOUT_EPLL>; + assigned-clock-rates = <49152000>; +}; + +&clock_audss { + assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>; + assigned-clock-parents = <&clock CLK_FOUT_EPLL>; +}; + &cpu0 { cpu0-supply = <&buck2_reg>; }; @@ -649,6 +659,11 @@ }; }; +&pmu_system_controller { + assigned-clocks = <&pmu_system_controller 0>; + assigned-clock-parents = <&clock CLK_FIN_PLL>; +}; + &rtc { status = "okay"; clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;