aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c/mxt1664s.h
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /include/linux/i2c/mxt1664s.h
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
Diffstat (limited to 'include/linux/i2c/mxt1664s.h')
-rw-r--r--include/linux/i2c/mxt1664s.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/i2c/mxt1664s.h b/include/linux/i2c/mxt1664s.h
index e8795af..4211787 100644
--- a/include/linux/i2c/mxt1664s.h
+++ b/include/linux/i2c/mxt1664s.h
@@ -88,6 +88,10 @@ enum { RESERVED_T0 = 0,
RESERVED_T255 = 255,
};
+struct mxt_callbacks {
+ void (*inform_charger)(struct mxt_callbacks *, bool);
+};
+
struct mxt_platform_data {
int max_finger_touches;
int gpio_read_done;
@@ -102,7 +106,10 @@ struct mxt_platform_data {
int max_w;
int (*power_on) (void);
int (*power_off) (void);
+ int (*power_reset) (void);
+ u8 *(*register_cb)(struct mxt_callbacks *);
u8 boot_address;
+ const char *config_version;
};
#endif /* */