OpenCloudOS-Kernel/drivers/thermal/st
Srinivas Pandruvada 0e70f466fb thermal: Enhance thermal_zone_device_update for events
Added one additional parameter to thermal_zone_device_update() to provide
caller with an optional capability to specify reason.
Currently this event is used by user space governor to trigger different
processing based on event code. Also it saves an additional call to read
temperature when the event is received.
The following events are cuurently defined:
- Unspecified event
- New temperature sample
- Trip point violated
- Trip point changed
- thermal device up and down
- thermal device power capability changed

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2016-09-27 14:35:21 +08:00
..
Kconfig thermal: sti: Add support for ST's Memory Mapped based Thermal controller 2014-07-15 22:06:57 +08:00
Makefile thermal: sti: Add support for ST's Memory Mapped based Thermal controller 2014-07-15 22:06:57 +08:00
st_thermal.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2015-09-11 16:13:47 -07:00
st_thermal.h
st_thermal_memmap.c thermal: Enhance thermal_zone_device_update for events 2016-09-27 14:35:21 +08:00
st_thermal_syscfg.c drivers: thermal: st: remove several sparse warnings 2015-04-07 13:43:28 -07:00