From patchwork Sun Jun 15 23:39:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anssi Hannula X-Patchwork-Id: 4355571 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 016A7BEEAA for ; Sun, 15 Jun 2014 23:42:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3D9B020221 for ; Sun, 15 Jun 2014 23:42:58 +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 6E94D2020E for ; Sun, 15 Jun 2014 23:42:57 +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 1WwK2f-0001jX-Jj; Sun, 15 Jun 2014 23:40:53 +0000 Received: from mail3.ippnet.fi ([62.197.168.3]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WwK2T-0001KJ-Ml for linux-arm-kernel@lists.infradead.org; Sun, 15 Jun 2014 23:40:42 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail3.ippnet.fi (Postfix) with ESMTP id DB18F5D790; Mon, 16 Jun 2014 02:41:46 +0300 (EEST) X-Virus-Scanned: amavisd-new at kemia.fi Received: from mail3.ippnet.fi ([127.0.0.1]) by localhost (kone16815.ippnet.fi [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id T2Xn6IfqCIJW; Mon, 16 Jun 2014 02:41:42 +0300 (EEST) Received: from webmail.tpnet.fi (webmail.tpnet.fi [62.106.63.33]) by mail3.ippnet.fi (Postfix) with ESMTP id C1E645D630; Mon, 16 Jun 2014 02:41:39 +0300 (EEST) Received: from mail.onse.fi (host-109-204-178-176.tp-fne.tampereenpuhelin.net [109.204.178.176]) by webmail.tpnet.fi (Postfix) with ESMTP id DAF5C2073F; Mon, 16 Jun 2014 02:39:58 +0300 (EEST) Received: by mail.onse.fi (Postfix, from userid 501) id 93CED40524; Mon, 16 Jun 2014 02:39:58 +0300 (EEST) From: Anssi Hannula To: Shawn Guo Subject: [PATCH 1/2] ARM: dts: imx6: remove wrong spdif rxtx2 clock Date: Mon, 16 Jun 2014 02:39:44 +0300 Message-Id: <1402875585-29025-1-git-send-email-anssi.hannula@iki.fi> X-Mailer: git-send-email 1.8.4.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140615_164042_001576_05F3454A X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: alsa-devel@alsa-project.org, Mark Brown , linux-arm-kernel@lists.infradead.org, Nicolin Chen 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=-2.5 required=5.0 tests=BAYES_00,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 The rxtx2 clock of i.MX6 S/PDIF is currently set to "asrc" clock. However, according to SoC documentation, rxtx2 is connected to ASRC_EXT_CLK, a different external clock. Testing on Cubox-i system seems to confirm that: when fsl_spdif is forced to select rxtx2 as input clock, audio playback fails with an I/O error. Set rxtx2 to the dummy clock by default to prevent fsl_spdif from selecting it. Signed-off-by: Anssi Hannula Cc: Nicolin Chen Cc: Mark Brown --- This one seems clear enough. arch/arm/boot/dts/imx6qdl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index ce0599134a69..3aef9a2f5fda 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -181,7 +181,7 @@ <&sdma 15 18 0>; dma-names = "rx", "tx"; clocks = <&clks 197>, <&clks 3>, - <&clks 197>, <&clks 107>, + <&clks 197>, <&clks 0>, <&clks 0>, <&clks 118>, <&clks 0>, <&clks 139>, <&clks 0>;