Thermal: Introduce fair_share thermal governor
authorDurgadoss R <durgadoss.r@intel.com>
Tue, 18 Sep 2012 05:35:01 +0000 (11:05 +0530)
committerZhang Rui <rui.zhang@intel.com>
Mon, 5 Nov 2012 06:00:07 +0000 (14:00 +0800)
commit4ccc5743ae70530f758c7d7ec9a0ca58878e584b
treebee1e566ee3cb7b80324a73e34087c06d5e4e66c
parentdc76548269ca2c44e5ddc29db5c36188bc4f2234
Thermal: Introduce fair_share thermal governor

This patch introduces a simple 'weight' based
governor named fair_share governor. Whenever the
thermal framework gets notified of the trip point
violation, this governor (if configured), throttles
the cooling devices associated with a thermal zone.

This mapping between a thermal zone and a cooling device
and the effectiveness of cooling are provided in the
platform layer.

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/fair_share.c [new file with mode: 0644]