diff options
author | Heiko Stübner <heiko@sntech.de> | 2013-10-31 01:25:32 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-10-31 08:46:08 -0700 |
commit | c6d81bd7237b5785080087bcf796ce456ef69557 (patch) | |
tree | 66ce40f74cedd9b0531b6dfccd8f164226fbdc37 /include/linux/platform_data/zforce_ts.h | |
parent | e4a42f655fdbfadc41f8b2f95dca5e5d395015f5 (diff) | |
download | op-kernel-dev-c6d81bd7237b5785080087bcf796ce456ef69557.zip op-kernel-dev-c6d81bd7237b5785080087bcf796ce456ef69557.tar.gz |
Input: add driver for Neonode zForce based touchscreens
This adds a driver for touchscreens using the zforce infrared
technology from Neonode connected via i2c to the host system.
It supports multitouch with up to two fingers and tracking of the
contacts in hardware.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data/zforce_ts.h')
-rw-r--r-- | include/linux/platform_data/zforce_ts.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/linux/platform_data/zforce_ts.h b/include/linux/platform_data/zforce_ts.h new file mode 100644 index 0000000..0472ab2 --- /dev/null +++ b/include/linux/platform_data/zforce_ts.h @@ -0,0 +1,26 @@ +/* drivers/input/touchscreen/zforce.c + * + * Copyright (C) 2012-2013 MundoReader S.L. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef _LINUX_INPUT_ZFORCE_TS_H +#define _LINUX_INPUT_ZFORCE_TS_H + +struct zforce_ts_platdata { + int gpio_int; + int gpio_rst; + + unsigned int x_max; + unsigned int y_max; +}; + +#endif /* _LINUX_INPUT_ZFORCE_TS_H */ |