From patchwork Mon Jan 18 01:55:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 8051331 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-renesas-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 736C59F6FA for ; Mon, 18 Jan 2016 01:55:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C51FE20220 for ; Mon, 18 Jan 2016 01:55:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 107D020211 for ; Mon, 18 Jan 2016 01:55:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753441AbcARBzG (ORCPT ); Sun, 17 Jan 2016 20:55:06 -0500 Received: from kirsty.vergenet.net ([202.4.237.240]:53352 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753305AbcARBzF (ORCPT ); Sun, 17 Jan 2016 20:55:05 -0500 Received: from reginn.isobedori.kobe.vergenet.net (p4139-ipbfp1501kobeminato.hyogo.ocn.ne.jp [114.153.215.139]) by kirsty.vergenet.net (Postfix) with ESMTPA id DB47325B766; Mon, 18 Jan 2016 12:55:03 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1453082104; bh=WKYx3FW/iv7gdpR3LU+Hp8SGN6KbsTBvPu1EQSdtNek=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ie1hoMdPALlXl92Ezx/V/VeAC6GUTjzNwvYlsHyfare+Vp2j3vLo+zHOvQ9j041zU Jw0O9o13m4ebNC8r90iUsa+sczk/8FZSb3Dn2y/kEF29m1umyP0Fn6+FHYoGqaOJT8 ohQbzXZhLT1TZrO2i3KmfvxW+W1l1MOndj70iQco= Received: by reginn.isobedori.kobe.vergenet.net (Postfix, from userid 7100) id 42A2E94048C; Mon, 18 Jan 2016 10:55:03 +0900 (JST) Date: Mon, 18 Jan 2016 10:55:03 +0900 From: Simon Horman To: Geert Uytterhoeven Cc: Magnus Damm , Geert Uytterhoeven , linux-renesas-soc@vger.kernel.org, Linux-sh list Subject: Re: [PATCH] ARM: shmobile: armadillo800eva dts: Correct extal1 frequency to 24 MHz Message-ID: <20160118015502.GG1905@verge.net.au> References: <1450435896-6026-1-git-send-email-geert+renesas@glider.be> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organisation: Horms Solutions Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,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 On Tue, Jan 05, 2016 at 02:37:07PM +0100, Geert Uytterhoeven wrote: > On Fri, Dec 18, 2015 at 11:51 AM, Geert Uytterhoeven > wrote: > > On r8a7740/armadillo, actual clock rates are ca. 4% lower than reported > > by /sys/kernel/debug/clk/clk_summary. Correct the extal1 frequency from > > 25 MHz to 24 MHz to fix this. > > > > This matches the Armadillo-800 EVA Product Manual, which claims the main > > crystal runs at 24 MHz, and the old legacy/reference board code. > > Ping? I think we want this applied to -stable and -ltsi, too. Sorry for letting this slip through the cracks. I have queued up the following as a fix for v4.5. From: Geert Uytterhoeven Subject: [PATCH] ARM: dts: armadillo800eva Correct extal1 frequency to 24 MHz On r8a7740/armadillo, actual clock rates are ca. 4% lower than reported by /sys/kernel/debug/clk/clk_summary. Correct the extal1 frequency from 25 MHz to 24 MHz to fix this. This matches the Armadillo-800 EVA Product Manual, which claims the main crystal runs at 24 MHz, and the old legacy/reference board code. Fixes: 25aa7ba3fdfb ("ARM: shmobile: armadillo800eva: Sync DTS") Signed-off-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts index 105d9c95de4a..5c76dcc89df5 100644 --- a/arch/arm/boot/dts/r8a7740-armadillo800eva.dts +++ b/arch/arm/boot/dts/r8a7740-armadillo800eva.dts @@ -180,7 +180,7 @@ }; &extal1_clk { - clock-frequency = <25000000>; + clock-frequency = <24000000>; }; &extal2_clk { clock-frequency = <48000000>;