[linux-pm] [PATCH 2/4] thermal: Add generic cpufreq cooling implementation

Amit Kachhap amit.kachhap at linaro.org
Tue Mar 13 10:52:09 UTC 2012

On 13 March 2012 15:44, Sundar <sunder.svit at gmail.com> wrote:
> On Tue, Mar 13, 2012 at 3:30 PM, Amit Kucheria <amit.kucheria at linaro.org> wrote:
>> Sundar,
> Hi Amit,
>> At the moment it doesn't. But there was some discussion around
>> creating something that will work with devfreq. This would allow
>> peripheral drivers to be plugged in as well. Amit is investigating
>> that at present.
> What if we work towards a generic constraint framework which models
> thermals as a performance constraint.
> Drivers can register to this constraint; platform code can then decide
> to issue restrictions either to the CPU or other power-hungry
> peripherals based on the platform conditions.
> That also allows to model CPU frequency as a generic constraint but
> via an actual consumer, say the thermal driver.

Yes that should be helpful. Even the things your are suggesting are
somewhat same with some patches submitted which sets cpufreq min/max

> Cheers!
> --
> ---------
> The views expressed in this email are personal and do not necessarily
> echo my employers.

More information about the linaro-dev mailing list