summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/elog.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/elog.h b/src/include/elog.h
index ecda87d696..c960186c03 100644
--- a/src/include/elog.h
+++ b/src/include/elog.h
@@ -73,7 +73,7 @@
#define EC_EVENT_BATTERY_CRITICAL 0x07
#define EC_EVENT_BATTERY 0x08
#define EC_EVENT_THERMAL_THRESHOLD 0x09
-#define EC_EVENT_THERMAL_OVERLOAD 0x0a
+#define EC_EVENT_DEVICE_EVENT 0x0a
#define EC_EVENT_THERMAL 0x0b
#define EC_EVENT_USB_CHARGER 0x0c
#define EC_EVENT_KEY_PRESSED 0x0d
@@ -206,6 +206,12 @@ struct elog_event_mem_cache_update {
/* Deep Sx wake variant */
#define ELOG_TYPE_ACPI_DEEP_WAKE 0xad
+/* EC Device Event */
+#define ELOG_TYPE_EC_DEVICE_EVENT 0xae
+#define ELOG_EC_DEVICE_EVENT_TRACKPAD 0x01
+#define ELOG_EC_DEVICE_EVENT_DSP 0x02
+#define ELOG_EC_DEVICE_EVENT_WIFI 0x03
+
#if CONFIG_ELOG
/* Eventlog backing storage must be initialized before calling elog_init(). */
extern int elog_init(void);