Skip to content

Commit 8805231

Browse files
spandruvadadlezcano
authored andcommitted
thermal: core: Add new event for sending keep alive notifications
This event is sent by the platform firmware to confirm that user space thermal solution is alive. The response to this event from the user space thermal solution is platform specific. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20200915223650.406046-3-srinivas.pandruvada@linux.intel.com
1 parent 3955803 commit 8805231

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

include/linux/thermal.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ enum thermal_notify_event {
5555
THERMAL_DEVICE_UP, /* Thermal device is up after a down event */
5656
THERMAL_DEVICE_POWER_CAPABILITY_CHANGED, /* power capability changed */
5757
THERMAL_TABLE_CHANGED, /* Thermal table(s) changed */
58+
THERMAL_EVENT_KEEP_ALIVE, /* Request for user space handler to respond */
5859
};
5960

6061
struct thermal_zone_device_ops {

0 commit comments

Comments
 (0)