thermal: exynos: Adapt to temperature emulation core thermal framework
authorAmit Daniel Kachhap <amit.daniel@samsung.com>
Mon, 11 Feb 2013 03:54:23 +0000 (03:54 +0000)
committerZhang Rui <rui.zhang@intel.com>
Tue, 2 Apr 2013 13:29:54 +0000 (21:29 +0800)
commitbffd1f8ac87a798515a8aed5f64047b182e049f5
tree9cbec975b4a18d12d686c95f57c0ecf4f56c11f9
parent51d45d25948bdf7422958b92a2d91dc703b1a4cc
thermal: exynos: Adapt to temperature emulation core thermal framework

This removes the driver specific sysfs support of the temperature
emulation and uses the newly added core thermal framework for thermal
emulation. An exynos platform specific handler is added to support this.

In this patch, the exynos senor(tmu) related code and exynos framework
related (thermal zone, cooling devices) code are intentionally kept separate.
So an emulated function pointer is passed from sensor to framework. This is
beneficial in adding more sensor support using the same framework code
which is an ongoing work. The goal is to finally split them totally. Even
the existing read_temperature also follows the same execution method.

Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Documentation/thermal/exynos_thermal_emulation
drivers/thermal/Kconfig
drivers/thermal/exynos_thermal.c