Thread (13 messages) 13 messages, 5 authors, 2012-11-27

Re: [PATCH] cpufreq: SPEAr: Add CPUFreq driver

From: Shawn Guo <hidden>
Date: 2012-11-27 05:16:52
Also in: linux-arm-kernel

On Tue, Nov 27, 2012 at 09:28:01AM +0530, Viresh Kumar wrote:
quoted
quoted
+     if (of_machine_is_compatible("st,spear1340")) {
+             /*
+              * SPEAr1340 is special in the sense that due to the possibility
+              * of multiple clock sources for cpu clk's parent we can have
+              * different clock source for different frequency of cpu clk.
+              * Hence we need to choose one from amongst these possible clock
+              * sources.
+              */
+             srcclk = spear1340_cpu_get_possible_parent(newfreq);
From what I can see, if spear1340 clock driver can handle such special
setup of clk, the driver will be nothing SPEAr specific and can probably
be saved by just using cpufreq-cpu0.
There are few more patches we have for this driver, which are depending
on some mach stuff to be pushed first. We need to program system controller
too for make cpu clock transitions more stable.
Shouldn't it also be handled by cpu clock provider?

Shawn
They should come after some
time.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help