From patchwork Sat Sep 7 13:23:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" X-Patchwork-Id: 2856331 Return-Path: X-Original-To: patchwork-linux-arm@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 90A189F4D4 for ; Sat, 7 Sep 2013 13:28:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B512720395 for ; Sat, 7 Sep 2013 13:28:11 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 404072029B for ; Sat, 7 Sep 2013 13:28:10 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VIIYY-0006Yp-Vc; Sat, 07 Sep 2013 13:28:07 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VIIYW-00082Z-Rq; Sat, 07 Sep 2013 13:28:04 +0000 Received: from [2a01:e0b:1:135:62eb:69ff:fe08:4532] (helo=lebrac.rtp-net.org) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VIIYS-00081s-N7 for linux-arm-kernel@lists.infradead.org; Sat, 07 Sep 2013 13:28:02 +0000 Received: by lebrac.rtp-net.org (Postfix, from userid 1000) id C22CE2926E; Sat, 7 Sep 2013 15:25:36 +0200 (CEST) Message-Id: <20130907132507.353801753@rtp-net.org> User-Agent: quilt/0.60-1 Date: Sat, 07 Sep 2013 15:23:14 +0200 From: Arnaud Patard (Rtp) To: linux-arm-kernel@lists.infradead.org Subject: [patch 1/1] imx51.dtsi: fix PATA device clock Content-Disposition: inline; filename=imx51-fix-pata-clock.patch X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130907_092801_020894_58E85EE1 X-CRM114-Status: UNSURE ( 8.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.1 (-) Cc: Steve Klimaszewski , Sascha Hauer , Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-6.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Commit 718a35006f3fa48540d69bd649ff76ea4cdc1ef2 adds pata support to the imx51.dtsi file and is using clock 161. The problem is that the right clock is 172, according to 5d530bb0ad84d403d1aac79a8a8acf2c2b0a8dd7. Using the clock 172 makes things work again (and kills a nasty system freeze) Tested-by: Steve Klimaszewski Signed-off-by: Arnaud Patard Tested-by: Steev Klimaszewski Signed-off-by: Arnaud Patard Signed-off-by: Shawn Guo Index: linux-next/arch/arm/boot/dts/imx51.dtsi =================================================================== --- linux-next.orig/arch/arm/boot/dts/imx51.dtsi 2013-09-07 15:08:05.042280170 +0200 +++ linux-next/arch/arm/boot/dts/imx51.dtsi 2013-09-07 15:08:37.338278750 +0200 @@ -490,7 +490,7 @@ compatible = "fsl,imx51-pata", "fsl,imx27-pata"; reg = <0x83fe0000 0x4000>; interrupts = <70>; - clocks = <&clks 161>; + clocks = <&clks 172>; status = "disabled"; };