From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5419C48BE8 for ; Thu, 17 Jun 2021 02:10:35 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D513B61246 for ; Thu, 17 Jun 2021 02:10:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D513B61246 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3A85980772; Thu, 17 Jun 2021 04:10:32 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hZYqhX0b"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7048C80799; Thu, 17 Jun 2021 04:10:30 +0200 (CEST) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 686B980092 for ; Thu, 17 Jun 2021 04:10:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=judge.packham@gmail.com Received: by mail-io1-xd2f.google.com with SMTP id s26so1364956ioe.9 for ; Wed, 16 Jun 2021 19:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Gmr4jxfNwhQUBqHzbX/xyyWUhIm4wEgEMIUoz5G7+8M=; b=hZYqhX0bUSYhq3BmqVGvA4lv5efVn+7UNgY923yPQJ8AskMzUhjldzc3xBugsiFrbH aCFR6azwp0EQ3eZW8I0gD5apyAoW36/ol3uVbPQnTAt8MIxMWyjp+P7IiIodbwA7YF/v zKZS8b47HTAKu/FYHuogjUWnFsaOqQZ0KF/l+kIr3yg1wkyo9lJt/vN44Yb7nD5RNefY v6inCVqQkVz3xsjITKZO7zJDtlzCIUgrv6FC6PuKcD/NzaWuatauzvZnu1bXF2tzXqdE I5VEUiHmno2oC4ItqWxOyWaXAO0x1pt9WRE5TsJaAMVFHQbc1ZGXAWMlzj4q0S+NfgiM XNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Gmr4jxfNwhQUBqHzbX/xyyWUhIm4wEgEMIUoz5G7+8M=; b=MOaaIXJneXFF5Y9ewP2Ld36cisaQb81SPq5tx0Gj8WG1oDTOQUlrHaNO3dIIkv+wyF nejdVy2F4ivyWzhn+74acWjPCv9xM2Nd+cmSTpdiBVPJ3SzFeXCh3iHtHdirDL+31nrK jpS62tvYGvWCCcZRjdBLTBrmnwe6WS7xn2tAFSXFc29bSi4LHM/LsuwhLftlGZrTOPI0 bOfOmup5Y2VafsQZ3h3kb8M2r2u08uiXbgeA3VYCTrgf/WTroUGqEy6IXs/TfH4YW46J 67ZzPzvYictLQlZn7Wx+vWHK5pQmFzJ4yidix2Vv5zRExtToUBKswJRsZfTEgjyQzO3Z 1/LQ== X-Gm-Message-State: AOAM531aoKZwcPBow3IA36k0YnZpdhu4jJnvULIeZSNXx3nbvHjYlOo0 LVhDu3uDMICFa8RPRQIKvkuwdHPzeN9wGiHz6QE= X-Google-Smtp-Source: ABdhPJxTnRUUNGoJpNSmYtCLI78tSchH/X1zaQfOxmH3X1zCJA9EBM/2xrD14RLWPKR/3O7g+mOFeJfInophCkwYugs= X-Received: by 2002:a02:a784:: with SMTP id e4mr2168923jaj.18.1623895825994; Wed, 16 Jun 2021 19:10:25 -0700 (PDT) MIME-Version: 1.0 References: <20210604022536.29195-1-judge.packham@gmail.com> In-Reply-To: <20210604022536.29195-1-judge.packham@gmail.com> From: Chris Packham Date: Thu, 17 Jun 2021 14:10:14 +1200 Message-ID: Subject: Re: [PATCH] arm: iproc: Add higher speed configurations To: Tom Rini Cc: Scott Branden , u-boot Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean On Fri, Jun 4, 2021 at 2:25 PM Chris Packham wrote: > > Add support for 1.3GHz, 1.35GHz and 1.4GHz parts. This is based on > equivalent code in Broadcom's LDK 5.0.6. > > Signed-off-by: Chris Packham > Hi Tom, This seems to have fallen between the cracks. Are you able to take it through one of your trees? > --- > As Broadcom are currently migrating users to the BCM58525BB1KF14G part > I suspect others may want this. In our case because we wanted to still > run at 1.2GHz we also had to set CONFIG_ARMCLK to 1200. > > arch/arm/cpu/armv7/iproc-common/armpll.c | 29 +++++++++++++----------- > 1 file changed, 16 insertions(+), 13 deletions(-) > > diff --git a/arch/arm/cpu/armv7/iproc-common/armpll.c b/arch/arm/cpu/armv7/iproc-common/armpll.c > index efa3d9e5a9bd..8c3a323f0654 100644 > --- a/arch/arm/cpu/armv7/iproc-common/armpll.c > +++ b/arch/arm/cpu/armv7/iproc-common/armpll.c > @@ -19,19 +19,22 @@ struct armpll_parameters { > }; > > struct armpll_parameters armpll_clk_tab[] = { > - { 25, 64, 1, 1, 0}, > - { 100, 64, 1, 1, 2}, > - { 400, 64, 1, 1, 6}, > - { 448, 71, 713050, 1, 6}, > - { 500, 80, 1, 1, 6}, > - { 560, 89, 629145, 1, 6}, > - { 600, 96, 1, 1, 6}, > - { 800, 64, 1, 1, 7}, > - { 896, 71, 713050, 1, 7}, > - { 1000, 80, 1, 1, 7}, > - { 1100, 88, 1, 1, 7}, > - { 1120, 89, 629145, 1, 7}, > - { 1200, 96, 1, 1, 7}, > + { 25, 64, 1, 1, 0}, > + { 100, 64, 1, 1, 2}, > + { 400, 64, 1, 1, 6}, > + { 448, 71, 713050, 1, 6}, > + { 500, 80, 1, 1, 6}, > + { 560, 89, 629145, 1, 6}, > + { 600, 96, 1, 1, 6}, > + { 800, 64, 1, 1, 7}, > + { 896, 71, 713050, 1, 7}, > + { 1000, 80, 1, 1, 7}, > + { 1100, 88, 1, 1, 7}, > + { 1120, 89, 629145, 1, 7}, > + { 1200, 96, 1, 1, 7}, > + { 1300, 104, 1, 1, 7}, > + { 1350, 108, 1, 1, 7}, > + { 1400, 112, 1, 1, 7}, > }; > > uint32_t armpll_config(uint32_t clkmhz) > -- > 2.31.1 >