summaryrefslogtreecommitdiff
path: root/ft3658/focaltech_core.h
diff options
context:
space:
mode:
authorMason Wang <masonwang@google.com>2021-11-04 09:25:29 +0800
committerMason Wang <masonwang@google.com>2021-11-11 12:27:37 +0800
commit39c5d4e0d52c98a689e7435696148fc862bee79d (patch)
tree25af5c6387f2d5e5a1a85342c6be347d264820c0 /ft3658/focaltech_core.h
parentf8c205a9d5ff40fd6ea8a19777169ea29d7ec433 (diff)
downloadfocaltech_touch-39c5d4e0d52c98a689e7435696148fc862bee79d.tar.gz
touch/focaltech: support touch bus negotiation(TBN).
To support to change the bus control between ACPU and AOC when display is on / off. Bug: 198649976 Test: Verify by checking TBN setting is correct when display is on / off. Change-Id: I6f7541065e77da3578560e3a0fe47725cb9d3ab3
Diffstat (limited to 'ft3658/focaltech_core.h')
-rw-r--r--ft3658/focaltech_core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ft3658/focaltech_core.h b/ft3658/focaltech_core.h
index 06760b3..0829c8d 100644
--- a/ft3658/focaltech_core.h
+++ b/ft3658/focaltech_core.h
@@ -240,6 +240,9 @@ struct fts_ts_data {
bool is_panel_lp_mode;
int display_refresh_rate;
#endif
+#if IS_ENABLED(CONFIG_TOUCHSCREEN_TBN)
+ u32 tbn_register_mask;
+#endif
};
enum FTS_BUS_TYPE {