aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAmit Daniel Kachhap <amit.daniel@samsung.com>2013-02-10 22:54:23 -0500
committerZhang Rui <rui.zhang@intel.com>2013-04-02 09:29:54 -0400
commitbffd1f8ac87a798515a8aed5f64047b182e049f5 (patch)
tree9cbec975b4a18d12d686c95f57c0ecf4f56c11f9 /Documentation
parent51d45d25948bdf7422958b92a2d91dc703b1a4cc (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 'Documentation')
-rw-r--r--Documentation/thermal/exynos_thermal_emulation8
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/thermal/exynos_thermal_emulation b/Documentation/thermal/exynos_thermal_emulation
index b73bbfb697bb..36a3e79c1203 100644
--- a/Documentation/thermal/exynos_thermal_emulation
+++ b/Documentation/thermal/exynos_thermal_emulation
@@ -13,11 +13,11 @@ Thermal emulation mode supports software debug for TMU's operation. User can set
13manually with software code and TMU will read current temperature from user value not from 13manually with software code and TMU will read current temperature from user value not from
14sensor's value. 14sensor's value.
15 15
16Enabling CONFIG_EXYNOS_THERMAL_EMUL option will make this support in available. 16Enabling CONFIG_THERMAL_EMULATION option will make this support available.
17When it's enabled, sysfs node will be created under 17When it's enabled, sysfs node will be created as
18/sys/bus/platform/devices/'exynos device name'/ with name of 'emulation'. 18/sys/devices/virtual/thermal/thermal_zone'zone id'/emul_temp.
19 19
20The sysfs node, 'emulation', will contain value 0 for the initial state. When you input any 20The sysfs node, 'emul_node', will contain value 0 for the initial state. When you input any
21temperature you want to update to sysfs node, it automatically enable emulation mode and 21temperature you want to update to sysfs node, it automatically enable emulation mode and
22current temperature will be changed into it. 22current temperature will be changed into it.
23(Exynos also supports user changable delay time which would be used to delay of 23(Exynos also supports user changable delay time which would be used to delay of