diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2015-08-30 22:06:56 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-09-18 19:21:12 -0700 |
commit | 13a7ae7b6fe5c67446adeb95256271547a0c777b (patch) | |
tree | 6bae454b4c76222d87f40b9ef23da02e49ffc4d7 /include | |
parent | 5254d5687c8db81d81c530ae46db6bc12d2af900 (diff) | |
download | chrome-ec-13a7ae7b6fe5c67446adeb95256271547a0c777b.tar.gz |
motion: Add wake up sensor support.
Add a flag in the FIFO event to tell that the sensor
want to wake up the AP.
Use this flag in the EC and let it reach the AP
for debugging.
Move fifo_flush as well, use only when FIFO present.
BRANCH=smaug
TEST=compile.
BUG=b:23570481
Change-Id: I5ff567b0f9f1e37a3dae16bfa7859c341f1a9b17
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/296212
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index f33b2bf16a..e5520102c3 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -1777,6 +1777,7 @@ struct ec_response_motion_sense_fifo_data { */ #define MOTIONSENSE_SENSOR_FLAG_FLUSH (1<<0) #define MOTIONSENSE_SENSOR_FLAG_TIMESTAMP (1<<1) +#define MOTIONSENSE_SENSOR_FLAG_WAKEUP (1<<2) /* * Send this value for the data element to only perform a read. If you |