diff options
author | Nick Dyer <nick.dyer@itdev.co.uk> | 2014-07-23 15:38:48 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-07-23 17:42:07 -0400 |
commit | 50a77c658b80e7e3303e3bcec195b30e2b62d513 (patch) | |
tree | 51681b9187e29a1f616b4a3dcb5ca5496d4f31f0 /include | |
parent | 78188be3e5dd59cc2f67bf4cf573e579da186d39 (diff) |
Input: atmel_mxt_ts - download device config using firmware loader
The existing implementation which encodes the configuration as a binary
blob in platform data is unsatisfactory since it requires a kernel
recompile for the configuration to be changed, and it doesn't deal well
with firmware changes that move values around on the chip.
Atmel define an ASCII format for the configuration which can be exported
from their tools. This patch implements a parser for that format which
loads the configuration via the firmware loader and sends it to the MXT
chip.
Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk>
Acked-by: Benson Leung <bleung@chromium.org>
Acked-by: Yufeng Shen <miletus@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/i2c/atmel_mxt_ts.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/i2c/atmel_mxt_ts.h b/include/linux/i2c/atmel_mxt_ts.h index 3891dc1de21c..02bf6ea31701 100644 --- a/include/linux/i2c/atmel_mxt_ts.h +++ b/include/linux/i2c/atmel_mxt_ts.h | |||
@@ -17,9 +17,6 @@ | |||
17 | 17 | ||
18 | /* The platform data for the Atmel maXTouch touchscreen driver */ | 18 | /* The platform data for the Atmel maXTouch touchscreen driver */ |
19 | struct mxt_platform_data { | 19 | struct mxt_platform_data { |
20 | const u8 *config; | ||
21 | size_t config_length; | ||
22 | u32 config_crc; | ||
23 | unsigned long irqflags; | 20 | unsigned long irqflags; |
24 | u8 t19_num_keys; | 21 | u8 t19_num_keys; |
25 | const unsigned int *t19_keymap; | 22 | const unsigned int *t19_keymap; |