aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2011-03-15 00:41:40 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-03-15 00:42:46 -0400
commit4c75de32eb9fcaa14925e2e444748f8b71e4f6fc (patch)
tree3031d5f9315f5dcad79f275af30e7902f5f4fd9d
parent979a72dad9c6649486e35a84324af8e81936af03 (diff)
Input: atmel_mxt_ts - add objects of mXT1386 chip
Atmel mXT1386 chip is operated by atmel_mxt_ts driver and it has some different objects. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--drivers/input/touchscreen/atmel_mxt_ts.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c
index 0986fa46e9df..4012436633b1 100644
--- a/drivers/input/touchscreen/atmel_mxt_ts.c
+++ b/drivers/input/touchscreen/atmel_mxt_ts.c
@@ -60,11 +60,15 @@
60#define MXT_PROCG_NOISE 22 60#define MXT_PROCG_NOISE 22
61#define MXT_PROCI_ONETOUCH 24 61#define MXT_PROCI_ONETOUCH 24
62#define MXT_PROCI_TWOTOUCH 27 62#define MXT_PROCI_TWOTOUCH 27
63#define MXT_PROCI_GRIP 40
64#define MXT_PROCI_PALM 41
63#define MXT_SPT_COMMSCONFIG 18 65#define MXT_SPT_COMMSCONFIG 18
64#define MXT_SPT_GPIOPWM 19 66#define MXT_SPT_GPIOPWM 19
65#define MXT_SPT_SELFTEST 25 67#define MXT_SPT_SELFTEST 25
66#define MXT_SPT_CTECONFIG 28 68#define MXT_SPT_CTECONFIG 28
67#define MXT_SPT_USERDATA 38 69#define MXT_SPT_USERDATA 38
70#define MXT_SPT_DIGITIZER 43
71#define MXT_SPT_MESSAGECOUNT 44
68 72
69/* MXT_GEN_COMMAND field */ 73/* MXT_GEN_COMMAND field */
70#define MXT_COMMAND_RESET 0 74#define MXT_COMMAND_RESET 0
@@ -258,6 +262,8 @@ static bool mxt_object_readable(unsigned int type)
258 case MXT_PROCG_NOISE: 262 case MXT_PROCG_NOISE:
259 case MXT_PROCI_ONETOUCH: 263 case MXT_PROCI_ONETOUCH:
260 case MXT_PROCI_TWOTOUCH: 264 case MXT_PROCI_TWOTOUCH:
265 case MXT_PROCI_GRIP:
266 case MXT_PROCI_PALM:
261 case MXT_SPT_COMMSCONFIG: 267 case MXT_SPT_COMMSCONFIG:
262 case MXT_SPT_GPIOPWM: 268 case MXT_SPT_GPIOPWM:
263 case MXT_SPT_SELFTEST: 269 case MXT_SPT_SELFTEST:
@@ -282,6 +288,8 @@ static bool mxt_object_writable(unsigned int type)
282 case MXT_PROCG_NOISE: 288 case MXT_PROCG_NOISE:
283 case MXT_PROCI_ONETOUCH: 289 case MXT_PROCI_ONETOUCH:
284 case MXT_PROCI_TWOTOUCH: 290 case MXT_PROCI_TWOTOUCH:
291 case MXT_PROCI_GRIP:
292 case MXT_PROCI_PALM:
285 case MXT_SPT_GPIOPWM: 293 case MXT_SPT_GPIOPWM:
286 case MXT_SPT_SELFTEST: 294 case MXT_SPT_SELFTEST:
287 case MXT_SPT_CTECONFIG: 295 case MXT_SPT_CTECONFIG: