summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorzhaoyuan <yzhao@codeaurora.org>2015-11-10 13:17:46 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-05 22:01:46 -0700
commit5c6da5653ecc1fcd09ec0ae7c0f925929d5a6303 (patch)
tree0b301fd457753eefd7dee1c2ce8cd51dbe56c0ab /include/linux/input
parent11d6060fffff4b7e87d1cadb5f65dfc7f74332cc (diff)
input: ft5x06: defer touch resume to workqueue
During device resume, the touch resume function is called after display's resume. In this case, the ft5x06's resume function needs to wait for 200ms because of reset requirement. Defer the touch resume to a workqueue to reduce the total device resume time. For this an optional DT property is added to enable this on targets that need this feature. Change-Id: Ib0677ca792aea83ece1caf8a0afff341302747fb Signed-off-by: Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
Diffstat (limited to 'include/linux/input')
-rw-r--r--include/linux/input/ft5x06_ts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/input/ft5x06_ts.h b/include/linux/input/ft5x06_ts.h
index 3825f9d1e68c..ad95957d9189 100644
--- a/include/linux/input/ft5x06_ts.h
+++ b/include/linux/input/ft5x06_ts.h
@@ -69,6 +69,7 @@ struct ft5x06_ts_platform_data {
bool i2c_pull_up;
bool ignore_id_check;
bool gesture_support;
+ bool resume_in_workqueue;
int (*power_init)(bool);
int (*power_on)(bool);
};