]> git.karo-electronics.de Git - linux-beck.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, 5 Nov 2012 06:00:07 +0000 (14:00 +0800)
commite151a202a084f9f4310d1aa4398325c56ca95fda
tree200f8dcd62f7702e5bda755253d99ec98f5d0fa4
parent4ccc5743ae70530f758c7d7ec9a0ca58878e584b
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]