diff options
author | Amit Daniel Kachhap <amit.daniel@samsung.com> | 2013-02-10 22:54:23 -0500 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-04-02 09:29:54 -0400 |
commit | bffd1f8ac87a798515a8aed5f64047b182e049f5 (patch) | |
tree | 9cbec975b4a18d12d686c95f57c0ecf4f56c11f9 /drivers/thermal/Kconfig | |
parent | 51d45d25948bdf7422958b92a2d91dc703b1a4cc (diff) |
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>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r-- | drivers/thermal/Kconfig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 9eddf744c94f..2a19120c32bd 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -117,15 +117,6 @@ config EXYNOS_THERMAL | |||
117 | If you say yes here you get support for TMU (Thermal Management | 117 | If you say yes here you get support for TMU (Thermal Management |
118 | Unit) on SAMSUNG EXYNOS series of SoC. | 118 | Unit) on SAMSUNG EXYNOS series of SoC. |
119 | 119 | ||
120 | config EXYNOS_THERMAL_EMUL | ||
121 | bool "EXYNOS TMU emulation mode support" | ||
122 | depends on EXYNOS_THERMAL | ||
123 | help | ||
124 | Exynos 4412 and 4414 and 5 series has emulation mode on TMU. | ||
125 | Enable this option will be make sysfs node in exynos thermal platform | ||
126 | device directory to support emulation mode. With emulation mode sysfs | ||
127 | node, you can manually input temperature to TMU for simulation purpose. | ||
128 | |||
129 | config DOVE_THERMAL | 120 | config DOVE_THERMAL |
130 | tristate "Temperature sensor on Marvell Dove SoCs" | 121 | tristate "Temperature sensor on Marvell Dove SoCs" |
131 | depends on ARCH_DOVE | 122 | depends on ARCH_DOVE |