]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Thermal: Introduce a step_wise thermal governor
authorDurgadoss R <durgadoss.r@intel.com>
Fri, 21 Sep 2012 06:36:04 +0000 (12:06 +0530)
committerZhang Rui <rui.zhang@intel.com>
Mon, 24 Sep 2012 06:44:39 +0000 (14:44 +0800)
commit9d600e985de2aeec3d5136da62ec421b84e04c6d
tree280bd42b716e4fb37779fcf1cfbebf20d19fe29b
parent549e6d4de69286bd9c29cc9b10ccea1afd07680b
Thermal: Introduce a step_wise thermal governor

This patch adds a simple step_wise governor to the
generic thermal layer. This algorithm throttles the
cooling devices in a linear fashion. If the 'trend'
is heating, it throttles by one step. And if the
thermal trend is cooling it de-throttles by one step.

This actually moves the throttling logic from thermal_sys.c
and puts inside step_wise.c, without any change.

Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/Kconfig
drivers/thermal/Makefile
drivers/thermal/step_wise.c [new file with mode: 0644]