Thread (36 messages) flat view 36 messages, 6 authors, 2013-08-09

[PATCH 5/6] ARM: Tegra: start using cpufreq-cpu0 driver

From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2013-08-08 02:48:39
Also in: linux-pm, lkml

On 8 August 2013 00:21, Stephen Warren [off-list ref] wrote:
On 08/07/2013 11:59 AM, Viresh Kumar wrote:
quoted
On 7 August 2013 23:23, Stephen Warren [off-list ref] wrote:
quoted
That link only describes why we shouldn't have a dedicated compatible
value for cpufreq. I certainly agree with that. However, I think it's
reasonable that whatever code binds to:

        compatible = "arm,cortex-a9";

... should instantiate any virtual devices that relate to the CPU.
But how would we know here if platform really wants us to probe
cpufreq-cpu0 driver? On multiplatform kernel there can be multiple
cpufreq drivers available and there has to be some sort of code
in DT or platform code that reflects which driver we want to use.
Presumably the code would look at the top-level DT node's compatible
value (e.g. "nvidia,tegra20").
So you are actually asking us to get a compatibility list inside
cpufreq-cpu0 driver which will list all the platforms for which this driver
would work?

Honestly speaking I wasn't in favor of getting a platform-device
registered for cpufreq-cpu0 earlier and had few discussion on the
thread I passed to you.

The problem with the new solution you just proposed is, for every
new platform that comes in we need to update this file.. And that's
it probably..

Don't know how others would see it...
@Rafael/Rob/Shawn: Any suggestions here?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help