From patchwork Wed Sep 10 14:43:43 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: 4878411 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D47E9F32E for ; Wed, 10 Sep 2014 14:43:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1FD042017A for ; Wed, 10 Sep 2014 14:43:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D8CD20145 for ; Wed, 10 Sep 2014 14:43:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752403AbaIJOnz (ORCPT ); Wed, 10 Sep 2014 10:43:55 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:37244 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752040AbaIJOny (ORCPT ); Wed, 10 Sep 2014 10:43:54 -0400 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 <0NBO00B2CWX5XR00@mailout3.samsung.com> for linux-samsung-soc@vger.kernel.org; Wed, 10 Sep 2014 23:43:53 +0900 (KST) X-AuditID: cbfee61b-f79f86d00000144c-9e-541063a9ba05 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 73.A0.05196.9A360145; Wed, 10 Sep 2014 23:43:53 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBO00DJYWWXKI50@mmp2.samsung.com>; Wed, 10 Sep 2014 23:43:53 +0900 (KST) From: Sylwester Nawrocki To: kgene.kim@samsung.com Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, m.szyprowski@samsung.com, Sylwester Nawrocki Subject: [PATCH] ARM: dts: Specify Odroid X2/U3 audio clock parents and rates Date: Wed, 10 Sep 2014 16:43:43 +0200 Message-id: <1410360223-18363-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKJMWRmVeSWpSXmKPExsVy+t9jQd2VyQIhBh3XjC16F1xls9j0+Bqr xYzz+5gs1h65y25x+E07qwOrx+Yl9R59W1YxenzeJBfAHMVlk5Kak1mWWqRvl8CV8WfPT5aC j5wVnQd+sDYwzuPoYuTkkBAwkfh2fj8LhC0mceHeejYQW0hgOqPEnbXuEHYHk8TH8/ogNpuA oUTv0T5GEFtEQFKiqeEPcxcjFwezwBRGiWdHz7KDJIQFfCWm31zADGKzCKhKvLvxGWwBr4Cb xOw574BqOICWKUjMmWQzgZF7ASPDKkbR1ILkguKk9FwjveLE3OLSvHS95PzcTYxgzz+T3sG4 qsHiEKMAB6MSD69ALX+IEGtiWXFl7iFGCQ5mJRHeJgeBECHelMTKqtSi/Pii0pzU4kOM0hws SuK8B1utA4UE0hNLUrNTUwtSi2CyTBycUg2MyckbvV7+6WGua4h4Jj4p7Nay3G+niplXs/r+ eL3QucJpsl+uI/fNIx63uY+cfqTtNGOPllJdV/1PEdOmT1V3NLza7myfcmvnlqzJ36r5o5lc /mRXPT0t6KHkq9hvP2eBe1xazDHNb9uXl/3qvxu+z/bSP1fngoYmhjSzBfEaGx/VW4foTlJQ YinOSDTUYi4qTgQAEYTV0PgBAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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. arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 1.7.9.5 -- 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/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index adadaf9..b40f766 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -45,6 +45,16 @@ 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 {