From e151a202a084f9f4310d1aa4398325c56ca95fda Mon Sep 17 00:00:00 2001 From: Durgadoss R Date: Fri, 21 Sep 2012 12:06:04 +0530 Subject: 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 Signed-off-by: Zhang Rui --- drivers/thermal/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/thermal/Makefile') 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 -- cgit v1.1