t-B07421
> Subject: Re: [PATCH] cpufreq: qoriq: Register cooling device based on
> device tree
>
> On 24-11-15, 14:55, Jia Hongtao wrote:
> > + /* Register CPU cooling device for QorIQ platform */
> > + for_each_node_with_property(cpu_np, "#cooling-cells")
On Tue, Nov 24, 2015 at 08:18:17AM -0600, Scott Wood wrote:
> On Tue, 2015-11-24 at 14:55 +0800, Jia Hongtao wrote:
> > Register the qoriq cpufreq driver as a cooling device, based on the
> > thermal device tree framework. When temperature crosses the passive trip
> > point cpufreq is used to throt
On Tue, 2015-11-24 at 14:55 +0800, Jia Hongtao wrote:
> Register the qoriq cpufreq driver as a cooling device, based on the
> thermal device tree framework. When temperature crosses the passive trip
> point cpufreq is used to throttle CPUs.
>
> Signed-off-by: Jia Hongtao
> Reviewed-by: Scott Wood
Register the qoriq cpufreq driver as a cooling device, based on the
thermal device tree framework. When temperature crosses the passive trip
point cpufreq is used to throttle CPUs.
Signed-off-by: Jia Hongtao
Reviewed-by: Scott Wood
---
This patch depends on following patches from Scott Wood:
htt
On 24-11-15, 14:55, Jia Hongtao wrote:
> + /* Register CPU cooling device for QorIQ platform */
> + for_each_node_with_property(cpu_np, "#cooling-cells") {
> + of_property_read_u32(cpu_np, "reg", &cpu_id);
> + cpufreq_get_policy(&cpu_policy, cpu_id);
That's not the