android_kernel_motorola_sm6225/drivers/thermal
Amit Daniel Kachhap e6e238c38b thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation
This patch adds support to set the emulated temperature method in
thermal zone (sensor). After setting this feature thermal zone may
report this temperature and not the actual temperature. The emulation
implementation may be based on sensor capability through platform
specific handler or pure software emulation if no platform handler defined.

This is useful in debugging different temperature threshold and its
associated cooling action. Critical threshold's cannot be emulated.
Writing 0 on this node should disable emulation.

Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-02-06 13:45:42 +08:00
..
cpu_cooling.c thermal: cpu cooling: use const parameter while registering 2012-11-22 15:59:47 +08:00
db8500_cpufreq_cooling.c thermal: db8500: Use of_match_ptr() macro in db8500_cpufreq_cooling.c 2013-01-04 15:40:03 +08:00
db8500_thermal.c thermal: db8500: Use of_match_ptr() macro in db8500_thermal.c 2013-01-04 15:39:32 +08:00
exynos_thermal.c thermal: exynos: Miscellaneous fixes to support falling threshold interrupt 2013-02-06 13:45:19 +08:00
fair_share.c thermal: fair_share: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
intel_powerclamp.c PM: intel_powerclamp: off by one in start_power_clamp() 2013-02-06 13:45:39 +08:00
Kconfig thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation 2013-02-06 13:45:42 +08:00
Makefile PM: Introduce Intel PowerClamp Driver 2013-02-06 13:45:00 +08:00
rcar_thermal.c thermal: rcar: add .get_trip_type/temp and .notify support 2013-01-04 15:37:45 +08:00
spear_thermal.c drivers/thermal/spear_thermal.c: use devm_clk_get 2013-01-04 15:38:25 +08:00
step_wise.c step_wise: Unify the code for both throttle and dethrottle 2013-01-04 15:22:37 +08:00
thermal_core.h Thermal: Move thermal_instance to thermal_core.h 2012-11-05 13:56:32 +08:00
thermal_sys.c thermal: sysfs: Add a new sysfs node emul_temp for thermal emulation 2013-02-06 13:45:42 +08:00
user_space.c thermal: user_space: Add missing static storage class specifiers 2012-11-05 14:00:11 +08:00