summaryrefslogtreecommitdiff
path: root/driver/touchpad_st.h
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-10-02 17:36:55 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-10-03 06:51:03 -0700
commitc0b793daf846f326edfbc099378efdfb1f271244 (patch)
tree14f4ebc0ce2c496758b5324ca300ad46bc81b3d9 /driver/touchpad_st.h
parent641bb517ea8f9cd6fef960f1ce3dd0c4a322e1a6 (diff)
downloadchrome-ec-c0b793daf846f326edfbc099378efdfb1f271244.tar.gz
touchpad_st: show status report from ST
BRANCH=nocturne BUG=b:113315759 TEST=manual on whiskers Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: Ie1547d5cadcb6876b6e6ea25504aabd84d21b0c9 Reviewed-on: https://chromium-review.googlesource.com/1256304 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'driver/touchpad_st.h')
-rw-r--r--driver/touchpad_st.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver/touchpad_st.h b/driver/touchpad_st.h
index 1d642eb48e..e8662a52fd 100644
--- a/driver/touchpad_st.h
+++ b/driver/touchpad_st.h
@@ -223,7 +223,10 @@ struct st_tp_event_t {
} __packed finger;
struct {
-#define ST_TP_STATUS_CMD_ECHO 0x1
+#define ST_TP_STATUS_CMD_ECHO 0x1
+#define ST_TP_STATUS_FRAME_DROP 0x3
+#define ST_TP_STATUS_FCAL 0x5
+#define ST_TP_STATUS_BEACON 0x9
uint8_t report_type;
uint8_t info[4];
uint8_t reserved;