summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorDurgadoss R <durgadoss.r@intel.com>2012-09-21 12:06:04 +0530
committerZhang Rui <rui.zhang@intel.com>2012-11-05 14:00:07 +0800
commite151a202a084f9f4310d1aa4398325c56ca95fda (patch)
tree200f8dcd62f7702e5bda755253d99ec98f5d0fa4 /drivers/thermal/Kconfig
parent4ccc5743ae70530f758c7d7ec9a0ca58878e584b (diff)
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 84b0f0382e5..7e1b6de6856 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -61,3 +61,9 @@ config FAIR_SHARE
depends on THERMAL
help
Enable this to manage platform thermals using fair-share governor.
+
+config STEP_WISE
+ bool "Step_wise thermal governor"
+ depends on THERMAL
+ help
+ Enable this to manage platform thermals using a simple linear