diff options
author | Wendly Li <wendlyli@google.com> | 2022-05-16 12:43:15 +0000 |
---|---|---|
committer | Wendly Li <wendlyli@google.com> | 2022-05-24 13:08:48 +0000 |
commit | 0a2c9717c36396bf882e2d8ac48b72309f20a458 (patch) | |
tree | 03dbf1167daaa46f41524edcbe746394616e30f8 /goodix_ts_core.h | |
parent | aac08b5bc1260df075c1e5e177b5ea41d406ea6b (diff) | |
download | goodix_touch-0a2c9717c36396bf882e2d8ac48b72309f20a458.tar.gz |
goodix: Enable GTI
Bug: 214118837
Test: Check offload and v4l are working
Change-Id: I67142e75581658df125d549759501353f06462ac
Signed-off-by: Wendly Li <wendlyli@google.com>
Diffstat (limited to 'goodix_ts_core.h')
-rw-r--r-- | goodix_ts_core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/goodix_ts_core.h b/goodix_ts_core.h index a7dddff..bbd85b9 100644 --- a/goodix_ts_core.h +++ b/goodix_ts_core.h @@ -46,6 +46,9 @@ #if IS_ENABLED(CONFIG_TOUCHSCREEN_MOTION_FILTER) #include "touch_mf_mode.h" #endif +#if IS_ENABLED(CONFIG_GOOG_TOUCH_INTERFACE) +#include <goog_touch_interface.h> +#endif #define GOODIX_CORE_DRIVER_NAME "goodix_ts" #define GOODIX_PEN_DRIVER_NAME "goodix_ts,pen" @@ -625,6 +628,9 @@ struct goodix_ts_core { #if IS_ENABLED(CONFIG_TOUCHSCREEN_MOTION_FILTER) struct touch_mf tmf; #endif +#if IS_ENABLED(CONFIG_GOOG_TOUCH_INTERFACE) + struct goog_touch_interface *gti; +#endif /* Time that the event was first received from the touch IC, * acquired during hard interrupt, in CLOCK_MONOTONIC. |