From patchwork Mon Jul 9 09:16:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Prchal X-Patchwork-Id: 1171631 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id AEB2B3FC2A for ; Mon, 9 Jul 2012 09:21:16 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SoA59-0002D3-Gn; Mon, 09 Jul 2012 09:16:39 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SoA50-0002CK-17 for linux-arm-kernel@merlin.infradead.org; Mon, 09 Jul 2012 09:16:30 +0000 Received: from router.aksignal.cz ([188.175.113.102]) by casper.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SoA4v-00072B-TI for linux-arm-kernel@lists.infradead.org; Mon, 09 Jul 2012 09:16:27 +0000 Received: from localhost (localhost [127.0.0.1]) by router.aksignal.cz (Postfix) with ESMTP id D92A354C001; Mon, 9 Jul 2012 11:16:20 +0200 (CEST) X-Virus-Scanned: by amavisd-new at aksignal.cz Received: from router.aksignal.cz ([127.0.0.1]) by localhost (router.aksignal.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KhIDELPn6FCY; Mon, 9 Jul 2012 11:16:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by router.aksignal.cz (Postfix) with ESMTP id 4A75554C002; Mon, 9 Jul 2012 11:16:19 +0200 (CEST) Received: from prchal.aksignal (unknown [10.0.1.101]) by router.aksignal.cz (Postfix) with ESMTP id 19C0D54C001; Mon, 9 Jul 2012 11:16:18 +0200 (CEST) From: Jiri Prchal To: linux-arm-kernel@lists.infradead.org, nicolas.ferre@atmel.com, plagnioj@jcrosoft.com, linux@maxim.org.za Subject: [PATCH 2/2] ARM: at91: clock: fix PLLA overclocked warning Date: Mon, 9 Jul 2012 11:16:15 +0200 Message-Id: <1341825375-9143-1-git-send-email-jiri.prchal@aksignal.cz> X-Mailer: git-send-email 1.7.7 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20120709_101626_164466_34EB393B X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on casper.infradead.org summary: Content analysis details: (-1.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Jiri Prchal X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch fix false warning "PLLA overclocked". Maximum frequency for sam9260 is 210MHz as stated in atmel's datasheet. Originally there was plus 4.5%, so I add this 4.5% to new value too. Signed-off-by: Jiri Prchal --- arch/arm/mach-at91/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index de2ec6b..e004308 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -707,7 +707,7 @@ static int __init at91_pmc_init(unsigned long main_clock) if (plla.rate_hz > 800000000) pll_overclock = true; } else { - if (plla.rate_hz > 209000000) + if (plla.rate_hz > 219000000) pll_overclock = true; } if (pll_overclock)