summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Collins <rcollins@nvidia.com>2013-07-17 21:48:21 -0700
committerGabby Lee <galee@nvidia.com>2013-07-21 17:48:26 -0700
commit62f6c47cbb70746b5e365fb69a4a7c5b725710db (patch)
tree5ac70712aa386beb635a33eb39bd882fef6571c6 /include
parentd74ee0eddaee2dc1868bffe758c43ac817e1d483 (diff)
input: touch: maxim_sti: Update to version 1.2.0, v16
Description: Reduce number of SPI interrupts while touch is present. Reduces from 5000 interrupts per second to 800-1200 interrupts per second when a touch is present. Bug 1308711 Change-Id: I1d88a062d0538526fa24374c5d38d52813857a33 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/250534 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Kim <bok@nvidia.com> Tested-by: Bo Kim <bok@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/maxim_sti.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/maxim_sti.h b/include/linux/maxim_sti.h
index 659e6056f08b..220d57bf117f 100644
--- a/include/linux/maxim_sti.h
+++ b/include/linux/maxim_sti.h
@@ -154,6 +154,7 @@ enum {
DR_DECONFIG,
DR_INPUT,
DR_LEGACY_FWDL,
+ DR_LEGACY_ACCELERATION,
};
struct __attribute__ ((__packed__)) dr_add_mc_group {
@@ -215,6 +216,10 @@ struct __attribute__ ((__packed__)) dr_input {
__u8 events;
};
+struct __attribute__ ((__packed__)) dr_legacy_acceleration {
+ __u8 enable;
+};
+
enum {
FU_ECHO_RESPONSE,
FU_CHIP_READ_RESULT,