On Tue, Mar 13, 2012 at 3:30 PM, Amit Kucheria amit.kucheria@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.
Cheers!