From patchwork Wed Sep 10 15:09:39 2014 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: 4878551 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E1326C0338 for ; Wed, 10 Sep 2014 15:12:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A18BB2018E for ; Wed, 10 Sep 2014 15:12:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ACDEA20172 for ; Wed, 10 Sep 2014 15:12:17 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRjXG-0000Za-Og; Wed, 10 Sep 2014 15:10:18 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XRjXD-0007eW-Tw for linux-arm-kernel@lists.infradead.org; Wed, 10 Sep 2014 15:10:17 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBO00NYMY4G2WC0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 11 Sep 2014 00:09:52 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-e0-541069c09f6f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A7.44.05196.0C960145; Thu, 11 Sep 2014 00:09:52 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBO0031GY46MI10@mmp1.samsung.com>; Thu, 11 Sep 2014 00:09:52 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Subject: [PATCH v2] ARM: dts: Specify Odroid X2/U3 audio clock parents and rates Date: Wed, 10 Sep 2014 17:09:39 +0200 Message-id: <1410361779-28017-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrGJMWRmVeSWpSXmKPExsVy+t9jAd0DmQIhBut/CVv0LrjKZrHp8TVW ixnn9zFZrD1yl93i8Jt2VgdWj81L6j36tqxi9Pi8SS6AOYrLJiU1J7MstUjfLoEr4/q/tSwF U3gqGpadZGtgbObqYuTkkBAwkXh5dS8LhC0mceHeejYQW0hgEaNE4+GgLkYuILuDSWLixmfs IAk2AUOJ3qN9jCC2iICkRFPDH2aQImaBKYwSz46eBSsSFgiQ+DCzC8xmEVCV2PNtBtgGXgE3 icnfbgJt4ADapiAxZ5LNBEbuBYwMqxhFUwuSC4qT0nON9IoTc4tL89L1kvNzNzGCff9Megfj qgaLQ4wCHIxKPLwCtfwhQqyJZcWVuYcYJTiYlUR4mxwEQoR4UxIrq1KL8uOLSnNSiw8xSnOw KInzHmy1DhQSSE8sSc1OTS1ILYLJMnFwSjUwch3/FRaytL5f5dndb++cTH+7lupIbBef5DrR YzXj4pPnnI3j1dtTOBjLGJoWbVeb89AsrGzx3YeLzrzn2SnK9F9+b/mxPVvKrj9J5wjJibZT LTk7WYPXzNXv8KtU5awYuf0HFL6vXV1q/X5GhFpH6Y8tRRP9M38Lq6w84fCcb6pX3m/XoOsW SizFGYmGWsxFxYkABi7xr/kBAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140910_081016_122597_49C62FA4 X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.5 (-------) Cc: linux-samsung-soc@vger.kernel.org, Sylwester Nawrocki , linux-arm-kernel@lists.infradead.org, m.szyprowski@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This ensures the core and the audio subsystem clocks are configured properly, as expected by the sound machine driver. These bits are missing to obtain proper audio sample rates in kernel v3.17, where audio support for Odroid X2/U3 was first added. Signed-off-by: Sylwester Nawrocki --- It would be good to have it applied as a fix for v3.17. First version of this patch was missing settings for EPLL, now it all should be complete. arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 1.7.9.5 diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index adadaf9..4fd7e0e 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -41,10 +41,25 @@ clock-names = "iis", "i2s_opclk0"; }; + clock-controller@10030000 { + assigned-clocks = <&clock CLK_FOUT_EPLL>; + assigned-clock-rates = <192000000>; + }; + sound: sound { compatible = "samsung,odroidx2-audio"; samsung,i2s-controller = <&i2s0>; samsung,audio-codec = <&max98090>; + assigned-clocks = <&clock_audss EXYNOS_MOUT_AUDSS>, + <&clock_audss EXYNOS_MOUT_I2S>, + <&clock_audss EXYNOS_DOUT_SRP>, + <&clock_audss EXYNOS_DOUT_AUD_BUS>; + assigned-clock-parents = <&clock CLK_FOUT_EPLL>, + <&clock_audss EXYNOS_MOUT_AUDSS>; + assigned-clock-rates = <0>, + <0>, + <192000000>, + <19200000>; }; mmc@12550000 {