diff options
author | Durgadoss R <durgadoss.r@intel.com> | 2012-09-21 12:06:04 +0530 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2012-11-05 14:00:07 +0800 |
commit | e151a202a084f9f4310d1aa4398325c56ca95fda (patch) | |
tree | 200f8dcd62f7702e5bda755253d99ec98f5d0fa4 /drivers/thermal/Kconfig | |
parent | 4ccc5743ae70530f758c7d7ec9a0ca58878e584b (diff) | |
download | op-kernel-dev-e151a202a084f9f4310d1aa4398325c56ca95fda.zip op-kernel-dev-e151a202a084f9f4310d1aa4398325c56ca95fda.tar.gz |
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/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 84b0f03..7e1b6de 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 |