From: Chris Packham <judge.packham@gmail.com>
To: u-boot@lists.denx.de
Cc: Steve Rae <srae@broadcom.com>,
Scott Branden <sbranden@broadcom.com>,
Chris Packham <judge.packham@gmail.com>,
Tom Rini <trini@konsulko.com>
Subject: [PATCH] arm: iproc: Add higher speed configurations
Date: Fri, 4 Jun 2021 14:25:36 +1200 [thread overview]
Message-ID: <20210604022536.29195-1-judge.packham@gmail.com> (raw)
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 <judge.packham@gmail.com>
---
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
next reply other threads:[~2021-06-04 2:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-04 2:25 Chris Packham [this message]
2021-06-17 2:10 ` [PATCH] arm: iproc: Add higher speed configurations Chris Packham
2021-06-17 12:48 ` Tom Rini
2021-06-18 3:26 ` Chris Packham
2021-07-06 22:50 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210604022536.29195-1-judge.packham@gmail.com \
--to=judge.packham@gmail.com \
--cc=sbranden@broadcom.com \
--cc=srae@broadcom.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox