summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/atmel_mxt_ts.c
diff options
context:
space:
mode:
authorNick Dyer <nick.dyer@itdev.co.uk>2012-09-03 15:46:22 +0100
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:37:52 -0700
commit067d588a8084525d5b75a94cc50abed6b560c6ae (patch)
treeb1f52f5f741f8def512e3ba54d89da8e73a43033 /drivers/input/touchscreen/atmel_mxt_ts.c
parentea2d0270bb563b856947254997ff0d66391e06ea (diff)
Input: atmel_mxt_ts - Bootloader addresses for mXT1664/mXT1188S
The mXT1664S family chips use different mappings for bootloader addresses. Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Rebase-Id: Rfda1caffd03ef66e537cd8585dcf63063211074e
Diffstat (limited to 'drivers/input/touchscreen/atmel_mxt_ts.c')
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 4eea8b0b311d..cb3a7a388384 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -339,12 +339,17 @@ struct mxt_i2c_address_pair {
};
static const struct mxt_i2c_address_pair mxt_i2c_addresses[] = {
+#ifdef BOOTLOADER_1664_1188
+ { 0x26, 0x4a },
+ { 0x27, 0x4b },
+#else
{ 0x24, 0x4a },
{ 0x25, 0x4b },
{ 0x26, 0x4c },
{ 0x27, 0x4d },
{ 0x34, 0x5a },
{ 0x35, 0x5b },
+#endif
};
static int mxt_bootloader_read(struct mxt_data *data, u8 *val, unsigned int count)