Thread (30 messages) 30 messages, 7 authors, 2011-12-22

[PATCH V3 4/7] cpufreq: add generic cpufreq driver

From: Mark Brown <hidden>
Date: 2011-12-20 23:48:45
Also in: linux-devicetree

On Wed, Dec 21, 2011 at 07:27:03AM +0800, Richard Zhao wrote:
On Tue, Dec 20, 2011 at 02:59:04PM +0000, Mark Brown wrote:
quoted
My comments on the previous version of the patch still apply:
quoted
 - The voltage ranges being set need to be specified as ranges.
cpu normally need strict voltages. and only proved operating opints
are allowed to set in dts. If the voltage changes slightly especially
for high frequency, it's easy to cause unstable.
Clearly there will be limits which get more and more restrictive as the
frequencies get higher but there will always be at least some play in
the numbers as one must at a minimum specify tolerance ranges, and at
lower frequencies the ranges specified will typically get compartively
large.

Note also that not all hardware specifies things in terms of a fixed set
of operating points, sometimes only the minimum voltage specification is
varied with frequency or sometimes you see maximum and minimum stepping
independently.

Further note that if all hardware really does have as tight a set of
requirements as you suggest then the regulator support in the driver
needs to be non-optional otherwise a board without software regulator
control might drop the frequency without also dropping the voltage.
quoted
 - Frequencies that can't be supported due to limitations of the
   available supplies shouldn't be exposed to users.
As I said, only proved operation points are allowed.
This statement appears to be unrelated to the comment you're replying
to.
quoted
You also need to define how the core supplies get looked up.
It's pure software. platform uses this driver have to define "cpu" consumer.
You still need to define this in the binding.
quoted
quoted
+	pr_info("Generic CPU frequency driver\n");
quoted
This seems noisy...
Why? Do you think only errors and warnings can print out?
Yes.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help