diff options
| author | Nick Dyer <nick.dyer@itdev.co.uk> | 2012-08-09 17:32:35 +0100 | 
|---|---|---|
| committer | Nick Dyer <nick.dyer@itdev.co.uk> | 2014-07-04 14:25:51 +0100 | 
| commit | ba10e0677efa4e8d6013b2bdfc29dce39fbb864c (patch) | |
| tree | 8aaaa6ffe4585e5a07aae7659ce52d4466e4550f /include/linux | |
| parent | 495bf888c3ebd008b2383e46059a308448c09019 (diff) | |
| download | olio-linux-3.10-ba10e0677efa4e8d6013b2bdfc29dce39fbb864c.tar.xz olio-linux-3.10-ba10e0677efa4e8d6013b2bdfc29dce39fbb864c.zip  | |
Input: atmel_mxt_ts - implement support for T15 Key Array
There is a key array object in many maXTouch chips which allows some X/Y lines
to be used as a key array. This patch maps them to a series of keys which may
be configured in a platform data array.
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/i2c/atmel_mxt_ts.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h index 02bf6ea3170..b7d20924eb7 100644 --- a/include/linux/i2c/atmel_mxt_ts.h +++ b/include/linux/i2c/atmel_mxt_ts.h @@ -20,6 +20,8 @@ struct mxt_platform_data {  	unsigned long irqflags;  	u8 t19_num_keys;  	const unsigned int *t19_keymap; +	int t15_num_keys; +	const unsigned int *t15_keymap;  };  #endif /* __LINUX_ATMEL_MXT_TS_H */  |