linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 12/13] clk: mvebu: add support for 1866MHz variants
       [not found] <20170521124903.11050-1-ralph.sennhauser@gmail.com>
@ 2017-05-21 12:49 ` Ralph Sennhauser
  2017-05-23 12:15   ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: Ralph Sennhauser @ 2017-05-21 12:49 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Gregory Clement, Imre Kaloz, Jason Cooper, Andrew Lunn,
	Sebastian Hesselbarth, Rob Herring, Mark Rutland, Russell King,
	devicetree, linux-kernel, Ralph Sennhauser, Michael Turquette,
	Stephen Boyd, linux-clk

The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to
the list of supported CPU frequencies.

Noticed by the following warning:
[    0.000000] Selected CPU frequency (16) unsupported

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
---
 drivers/clk/mvebu/armada-38x.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/clk/mvebu/armada-38x.c b/drivers/clk/mvebu/armada-38x.c
index 8bccf4e..6a92eb6 100644
--- a/drivers/clk/mvebu/armada-38x.c
+++ b/drivers/clk/mvebu/armada-38x.c
@@ -49,7 +49,8 @@ static const u32 armada_38x_cpu_frequencies[] __initconst = {
 	0, 0, 0, 0,
 	1066 * 1000 * 1000, 0, 0, 0,
 	1332 * 1000 * 1000, 0, 0, 0,
-	1600 * 1000 * 1000,
+	1600 * 1000 * 1000, 0, 0, 0,
+	1866 * 1000 * 1000
 };
 
 static u32 __init armada_38x_get_cpu_freq(void __iomem *sar)
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 12/13] clk: mvebu: add support for 1866MHz variants
  2017-05-21 12:49 ` [PATCH 12/13] clk: mvebu: add support for 1866MHz variants Ralph Sennhauser
@ 2017-05-23 12:15   ` Andrew Lunn
  2017-05-23 19:55     ` Ralph Sennhauser
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Lunn @ 2017-05-23 12:15 UTC (permalink / raw)
  To: Ralph Sennhauser
  Cc: linux-arm-kernel, Gregory Clement, Imre Kaloz, Jason Cooper,
	Sebastian Hesselbarth, Rob Herring, Mark Rutland, Russell King,
	devicetree, linux-kernel, Michael Turquette, Stephen Boyd,
	linux-clk

On Sun, May 21, 2017 at 02:49:01PM +0200, Ralph Sennhauser wrote:
> The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to
> the list of supported CPU frequencies.
> 
> Noticed by the following warning:
> [    0.000000] Selected CPU frequency (16) unsupported

Are the L2 and DDR clocks using sensible values?

    Andrew

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 12/13] clk: mvebu: add support for 1866MHz variants
  2017-05-23 12:15   ` Andrew Lunn
@ 2017-05-23 19:55     ` Ralph Sennhauser
  0 siblings, 0 replies; 3+ messages in thread
From: Ralph Sennhauser @ 2017-05-23 19:55 UTC (permalink / raw)
  To: Andrew Lunn
  Cc: linux-arm-kernel, Gregory Clement, Imre Kaloz, Jason Cooper,
	Sebastian Hesselbarth, Rob Herring, Mark Rutland, Russell King,
	devicetree, linux-kernel, Michael Turquette, Stephen Boyd,
	linux-clk

On Tue, 23 May 2017 14:15:14 +0200
Andrew Lunn <andrew@lunn.ch> wrote:

> On Sun, May 21, 2017 at 02:49:01PM +0200, Ralph Sennhauser wrote:
> > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to
> > the list of supported CPU frequencies.
> > 
> > Noticed by the following warning:
> > [    0.000000] Selected CPU frequency (16) unsupported  
> 
> Are the L2 and DDR clocks using sensible values?
>

Hi Andrew

As you expected more changes are needed to fully support the new
CPU frequency. Will send out a V2 later.

Thanks for catching this.
Ralph

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-23 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20170521124903.11050-1-ralph.sennhauser@gmail.com>
2017-05-21 12:49 ` [PATCH 12/13] clk: mvebu: add support for 1866MHz variants Ralph Sennhauser
2017-05-23 12:15   ` Andrew Lunn
2017-05-23 19:55     ` Ralph Sennhauser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).