mirror of https://gitee.com/openkylin/linux.git
0e70f466fb
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
st_thermal.c | ||
st_thermal.h | ||
st_thermal_memmap.c | ||
st_thermal_syscfg.c |