thermal: ti-soc-thermal: remove external heat while extrapolating hotspot
authorEduardo Valentin <eduardo.valentin@ti.com>
Wed, 29 May 2013 15:07:41 +0000 (15:07 +0000)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:45:09 +0000 (11:45 +0900)
commit5cb700167b30d57d9f360a83ad1f833a1d597487
tree911fa99633683b7723d9572614923caeaaaec2c6
parent619b9b570d479ad9753f510a42b7bda37f49a164
thermal: ti-soc-thermal: remove external heat while extrapolating hotspot

For boards that provide a PCB sensor close to SoC junction
temperature, it is possible to remove the cumulative heat
reported by the SoC temperature sensor.

This patch changes the extrapolation computation to consider
an external sensor in the extrapolation equations.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/ti-soc-thermal/ti-thermal-common.c