From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753998AbbGBULR (ORCPT ); Thu, 2 Jul 2015 16:11:17 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:33236 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754086AbbGBULK (ORCPT ); Thu, 2 Jul 2015 16:11:10 -0400 Date: Thu, 2 Jul 2015 22:04:59 +0200 From: Andrew Lunn To: Gregory CLEMENT Cc: Mike Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jason Cooper , Sebastian Hesselbarth , Thomas Petazzoni , Ezequiel Garcia , linux-arm-kernel@lists.infradead.org, Maxime Ripard , Boris BREZILLON , Lior Amsalem , Tawfik Bayouk , Nadav Haklai Subject: Re: [PATCH] clk: mvebu: update cpu clock frequency Message-ID: <20150702200459.GF13481@lunn.ch> References: <1435866158-910-1-git-send-email-gregory.clement@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435866158-910-1-git-send-email-gregory.clement@free-electrons.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 02, 2015 at 09:42:38PM +0200, Gregory CLEMENT wrote: > Since u-boot 2015_T1.0p6 there are new requency settings available. Hi Gregory Missing f in f_requency. Also, what has u-boot got to do with this? I would expect this is a property of the hardware. What happens is an older u-boot is used? Thanks Andrew > > Based on a patch from Nadav Haklai > > Signed-off-by: Gregory CLEMENT > --- > drivers/clk/mvebu/armada-38x.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/drivers/clk/mvebu/armada-38x.c b/drivers/clk/mvebu/armada-38x.c > index 8bccf4ecdab6..c64037e2e89f 100644 > --- a/drivers/clk/mvebu/armada-38x.c > +++ b/drivers/clk/mvebu/armada-38x.c > @@ -46,10 +46,11 @@ static u32 __init armada_38x_get_tclk_freq(void __iomem *sar) > } > > static const u32 armada_38x_cpu_frequencies[] __initconst = { > - 0, 0, 0, 0, > - 1066 * 1000 * 1000, 0, 0, 0, > + 666 * 1000 * 1000, 0, 800 * 1000 * 1000, 0, > + 1066 * 1000 * 1000, 0, 1200 * 1000 * 1000, 0, > 1332 * 1000 * 1000, 0, 0, 0, > - 1600 * 1000 * 1000, > + 1600 * 1000 * 1000, 0, 0, 0, > + 1866 * 1000 * 1000, 0, 0, 2000 * 1000 * 1000, > }; > > static u32 __init armada_38x_get_cpu_freq(void __iomem *sar) > -- > 2.1.0 >