summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Makefile
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/Makefile
parent4ccc5743ae70530f758c7d7ec9a0ca58878e584b (diff)
downloadop-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/Makefile')
-rw-r--r--drivers/thermal/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 30540dd..4e53c00 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -8,3 +8,4 @@ obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
obj-$(CONFIG_EXYNOS_THERMAL) += exynos_thermal.o
obj-$(CONFIG_FAIR_SHARE) += fair_share.o
+obj-$(CONFIG_STEP_WISE) += step_wise.o
OpenPOWER on IntegriCloud