From patchwork Wed Mar 7 17:27:09 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: 10264599 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 CA5EF6016D for ; Wed, 7 Mar 2018 17:35:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1CC62948C for ; Wed, 7 Mar 2018 17:35:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A25FE295FE; Wed, 7 Mar 2018 17:35:09 +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 7F8072948C for ; Wed, 7 Mar 2018 17:35:08 +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=w/o9DClBYaJ2vpI/t1qed+wxUZPPT9jc2gr3UWuZxoM=; b=RxZeCDVysCvGcECmBO2hF+wSaG MeteXHlrMDeGq6jNLM/zM04NlrY4QeAx0+3NTMAJ+Vsx0sn0PWw1L9mlXcJhXEcQ8e5I7INao1oBc Yc7jaN13TBxESK7+56Xsyhz1sOu/8dZpbzjmbWjAottTQtAR0AKaF+VoUrAA4pvCUCD+W7MA+uu16 /Zbb6EgZq6Tbv+EMXAVqPd0ZgRkqeSku1RbE7Xb5I8+FWQK0UsY2M/yWxX5QFhIrMyW4/6J0+qPYk 1CVFciaqGc28x3Kf/0NqH0r0SffRV9mtY6/XRQA7d1x4u7HaChyGGDSNINYg/FJO8sSMW3rLZGYrG U6hkia3A==; 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 1etcxy-0005UQ-Lj; Wed, 07 Mar 2018 17:35:02 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1etcqy-0002NY-7Y for linux-arm-kernel@lists.infradead.org; Wed, 07 Mar 2018 17:27:58 +0000 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20180307172735epoutp03aac53e0bdc18a5563b1ec8d0b9d261b2~Zs3L6J4P22132321323epoutp03e; Wed, 7 Mar 2018 17:27:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20180307172735epoutp03aac53e0bdc18a5563b1ec8d0b9d261b2~Zs3L6J4P22132321323epoutp03e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1520443655; bh=Qgrb7//L8A4eVHnsF6Y5+BKeu43t8DFCDRrxedmw9Hw=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=cygMxnfgmm/MDEEGk5KNlFNKaTMmhqT/LfEytRHjaS41uRAfRiJl21vOWzyM3O/Fr M/qzEw40N8m6Lg6ZgbbRNEXWs0d3pEs7SriSw85osOXnxYh/9RdojmNt3tPbMlNR9n fHf8uvZ43jbd8pcRBUXYRwY227A1stO18w1xMqjU= Received: from epsmges1p2.samsung.com (unknown [182.195.42.54]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180307172734epcas1p450bdc494ccb8b1024027ebafa89e9d52~Zs3K-Bw8g2241922419epcas1p4K; Wed, 7 Mar 2018 17:27:34 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 72.37.04136.60120AA5; Thu, 8 Mar 2018 02:27:34 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20180307172734epcas1p49c88df114f4e3b32999fbfb6159773ed~Zs3KrJTby1375513755epcas1p4a; Wed, 7 Mar 2018 17:27:34 +0000 (GMT) X-AuditID: b6c32a36-ca9ff70000001028-ea-5aa02106bbc3 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 49.EE.03826.60120AA5; Thu, 8 Mar 2018 02:27:34 +0900 (KST) Received: from AMDC3061.digital.local ([106.116.147.40]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P58003GXDTDRG50@mmp1.samsung.com>; Thu, 08 Mar 2018 02:27:34 +0900 (KST) From: Sylwester Nawrocki To: krzk@kernel.org Subject: [PATCH 2/4] ARM: dts: Add audio clocks configuration for exynos5250-snow Date: Wed, 07 Mar 2018 18:27:09 +0100 Message-id: <20180307172711.15697-2-s.nawrocki@samsung.com> X-Mailer: git-send-email 2.14.2 In-reply-to: <20180307172711.15697-1-s.nawrocki@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrOIsWRmVeSWpSXmKPExsWy7bCmgS6b4oIog/etihYbZ6xntZh/5Byr Rf/j18wW589vYLfY9Pgaq8XlX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WGLagylgNouAqsShT4/BmnkFrCUW9f5ihNgmL/F+wX0wm1PARmLhneksEJutJd7saWKfwMiz gJFhFaNkakFxbnpusVGBYV5quV5xYm5xaV66XnJ+7iZGYDhtO6zVt4Px/pL4Q4wCHIxKPLwS f+ZHCbEmlhVX5h5ilOBgVhLhNZJfECXEm5JYWZValB9fVJqTWnyIUZqDRUmc93besUghgfTE ktTs1NSC1CKYLBMHp1QDY3PzAo6JK5azL1WrYnyervxBhPlUav/VKpHAopXHt+x8/bz05ivb Xy/vvNVMf1e3XSPqB2t2yWXWet+WFVZlSuHbFbeXfX4Tpbe03pspZGn118/nl3XzGt06c26j dbdCgsgru+LiiTP3mM6uzo+UyrXZtZXFiqHzh0WijfWdR2UF7DV7fdaUKLEUZyQaajEXFScC AHrZ+ZgjAgAA X-CMS-MailID: 20180307172734epcas1p49c88df114f4e3b32999fbfb6159773ed X-Msg-Generator: CA CMS-TYPE: 101P X-CMS-RootMailID: 20180307172734epcas1p49c88df114f4e3b32999fbfb6159773ed X-RootMTR: 20180307172734epcas1p49c88df114f4e3b32999fbfb6159773ed References: <20180307172711.15697-1-s.nawrocki@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180307_092749_677235_77D1F9E8 X-CRM114-Status: GOOD ( 10.63 ) 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, 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 --- 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>;