diff options
| author | Shawn Joo <sjoo@nvidia.com> | 2017-06-16 02:49:05 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-19 07:35:31 -0400 |
| commit | 7ef85a767298425ab7ca7ffee19647124f16671a (patch) | |
| tree | 4ee85d2248a030e9a7228a00eae20befaed6df4d /include/linux/platform_data | |
| parent | 971a54f1f09423d616b8573d2a4182d91169040d (diff) | |
nvidia: input: add atmel touch driver
this atmel touchscreen driver is from k4.4
in order to apply touch drv regardless of kernel version,
move to linux-nvidia with new kernel config
TOUCHSCREEN_NVIDIA_ATMEL_MXT.
Bug 200309618
EASS-1856
Change-Id: I7365a061fedb6c554679258b0d8121ae1f397ec5
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/1503659
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/atmel_mxt_ts_nv.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/include/linux/platform_data/atmel_mxt_ts_nv.h b/include/linux/platform_data/atmel_mxt_ts_nv.h new file mode 100644 index 000000000..6d59eebcb --- /dev/null +++ b/include/linux/platform_data/atmel_mxt_ts_nv.h | |||
| @@ -0,0 +1,33 @@ | |||
| 1 | /* | ||
| 2 | * Atmel maXTouch Touchscreen driver | ||
| 3 | * | ||
| 4 | * Copyright (C) 2010 Samsung Electronics Co.Ltd | ||
| 5 | * Copyright (C) 2011-2017, NVIDIA CORPORATION. All rights reserved. | ||
| 6 | * Author: Joonyoung Shim <jy0922.shim@samsung.com> | ||
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify it | ||
| 9 | * under the terms of the GNU General Public License as published by the | ||
| 10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
| 11 | * option) any later version. | ||
| 12 | */ | ||
| 13 | |||
| 14 | #ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H | ||
| 15 | #define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H | ||
| 16 | |||
| 17 | #include <linux/types.h> | ||
| 18 | #include <dt-bindings/input/atmel_mxt_ts_nv.h> | ||
| 19 | |||
| 20 | /* The platform data for the Atmel maXTouch touchscreen driver */ | ||
| 21 | struct mxt_platform_data { | ||
| 22 | unsigned long irqflags; | ||
| 23 | u8 t19_num_keys; | ||
| 24 | const unsigned int *t19_keymap; | ||
| 25 | int suspend_mode; | ||
| 26 | int t15_num_keys; | ||
| 27 | const unsigned int *t15_keymap; | ||
| 28 | unsigned long gpio_reset; | ||
| 29 | const char *cfg_name; | ||
| 30 | const char *input_name; | ||
| 31 | }; | ||
| 32 | |||
| 33 | #endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */ | ||
