RE: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-25 Thread Hongtao Jia
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")

Re: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-24 Thread Eduardo Valentin
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

Re: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-24 Thread Scott Wood
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

[PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-23 Thread Jia Hongtao
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

Re: [PATCH] cpufreq: qoriq: Register cooling device based on device tree

2015-11-23 Thread Viresh Kumar
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