* [PATCH] arm: iproc: Add higher speed configurations
@ 2021-06-04 2:25 Chris Packham
2021-06-17 2:10 ` Chris Packham
2021-07-06 22:50 ` Tom Rini
0 siblings, 2 replies; 5+ messages in thread
From: Chris Packham @ 2021-06-04 2:25 UTC (permalink / raw)
To: u-boot; +Cc: Steve Rae, Scott Branden, Chris Packham, Tom Rini
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: iproc: Add higher speed configurations
2021-06-04 2:25 [PATCH] arm: iproc: Add higher speed configurations Chris Packham
@ 2021-06-17 2:10 ` Chris Packham
2021-06-17 12:48 ` Tom Rini
2021-07-06 22:50 ` Tom Rini
1 sibling, 1 reply; 5+ messages in thread
From: Chris Packham @ 2021-06-17 2:10 UTC (permalink / raw)
To: Tom Rini; +Cc: Scott Branden, u-boot
On Fri, Jun 4, 2021 at 2:25 PM Chris Packham <judge.packham@gmail.com> 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 <judge.packham@gmail.com>
>
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: iproc: Add higher speed configurations
2021-06-17 2:10 ` Chris Packham
@ 2021-06-17 12:48 ` Tom Rini
2021-06-18 3:26 ` Chris Packham
0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2021-06-17 12:48 UTC (permalink / raw)
To: Chris Packham; +Cc: Scott Branden, u-boot
[-- Attachment #1: Type: text/plain, Size: 520 bytes --]
On Thu, Jun 17, 2021 at 02:10:14PM +1200, Chris Packham wrote:
> On Fri, Jun 4, 2021 at 2:25 PM Chris Packham <judge.packham@gmail.com> 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 <judge.packham@gmail.com>
>
> Hi Tom,
>
> This seems to have fallen between the cracks. Are you able to take it
> through one of your trees?
I can, is this needed for the v2021.07 release?
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: iproc: Add higher speed configurations
2021-06-17 12:48 ` Tom Rini
@ 2021-06-18 3:26 ` Chris Packham
0 siblings, 0 replies; 5+ messages in thread
From: Chris Packham @ 2021-06-18 3:26 UTC (permalink / raw)
To: Tom Rini; +Cc: Scott Branden, u-boot
On Fri, Jun 18, 2021 at 12:48 AM Tom Rini <trini@konsulko.com> wrote:
>
> On Thu, Jun 17, 2021 at 02:10:14PM +1200, Chris Packham wrote:
>
> > On Fri, Jun 4, 2021 at 2:25 PM Chris Packham <judge.packham@gmail.com> 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 <judge.packham@gmail.com>
> >
> > Hi Tom,
> >
> > This seems to have fallen between the cracks. Are you able to take it
> > through one of your trees?
>
> I can, is this needed for the v2021.07 release?
>
Personally I'd like to see it in v2021.07 but I understand that we're
well past the merge window and this is not strictly a fix.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] arm: iproc: Add higher speed configurations
2021-06-04 2:25 [PATCH] arm: iproc: Add higher speed configurations Chris Packham
2021-06-17 2:10 ` Chris Packham
@ 2021-07-06 22:50 ` Tom Rini
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2021-07-06 22:50 UTC (permalink / raw)
To: Chris Packham; +Cc: u-boot, Steve Rae, Scott Branden
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
On Fri, Jun 04, 2021 at 02:25:36PM +1200, 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 <judge.packham@gmail.com>
Applied to u-boot/master, thanks!
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-07-06 22:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 2:25 [PATCH] arm: iproc: Add higher speed configurations Chris Packham
2021-06-17 2:10 ` Chris Packham
2021-06-17 12:48 ` Tom Rini
2021-06-18 3:26 ` Chris Packham
2021-07-06 22:50 ` Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.