summaryrefslogtreecommitdiff
path: root/include/linux/input
diff options
context:
space:
mode:
authorMao Li <maol@codeaurora.org>2014-05-15 17:36:00 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-21 21:12:40 -0700
commit19cda0c39a6eb40af171c58bc42ff9beea3d0d0a (patch)
treec3f156bc3089d284becd1b4d67e75d4aa0bfa7f8 /include/linux/input
parenta80c7960f1e098e5de43eae1a420a5576cd7a73a (diff)
input: ft5x06_ts: add support for firmware update for CTP FT6X36
The firmware image format is changed in CTP FT6436. Also vendor id and version id are read from fw image from a different offset as compared to previous controllers. The driver is updated to support the new image format. This patch is propagated from msm-3.18 kernel 'commit 6146c68f81b4 ("input: ft5x06_ts: add support for firmware update for CTP FT6X36")' Change-Id: I465fdfa73e56e8fc4bbfdde980c558e4715d6d08 Signed-off-by: Mao Li <maol@codeaurora.org> Signed-off-by: Sudhakar Manapati <smanap@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 1340737070f7..5242f96707ac 100644
--- a/include/linux/input/ft5x06_ts.h
+++ b/include/linux/input/ft5x06_ts.h
@@ -22,6 +22,7 @@
#define FT5X16_ID 0x0A
#define FT5X36_ID 0x14
#define FT6X06_ID 0x06
+#define FT6X36_ID 0x36
struct fw_upgrade_info {
bool auto_cal;