Merge tag 'v3.10.55' into update
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm / mach-mt8127 / kr076 / touchpanel / goodix_tool.c
CommitLineData
6fa3eb70
S
1/* drivers/input/touchscreen/goodix_tool.c\r
2 *\r
3 * 2010 - 2012 Goodix Technology.\r
4 *\r
5 * This program is free software; you can redistribute it and/or modify\r
6 * it under the terms of the GNU General Public License as published by\r
7 * the Free Software Foundation; either version 2 of the License, or\r
8 * (at your option) any later version.\r
9 *\r
10 * This program is distributed in the hope that it will be a reference \r
11 * to you, when you are integrating the GOODiX's CTP IC into your system,\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU \r
14 * General Public License for more details.\r
15 *\r
16 * V2.2\r
17 * V1.0:2012/05/01,create file. \r
18 * V1.2:2012/10/17,reset_guitar etc. \r
19 * V1.4: 2013/06/08, new proc name\r
20 * V2.2:2014/01/14, compatible with Linux 3.10\r
21 * V2.2.6: \r
22 * Special edition for GT910 flashless\r
23 * 1. firmware check\r
24 * V2.2.7\r
25 * Special edition for GT910 flashless\r
26 * 1. modified to support gesture wakeup module\r
27 */\r
28 \r
29#include "tpd.h"\r
30#include <linux/interrupt.h>\r
31#include <cust_eint.h>\r
32#include <linux/i2c.h>\r
33#include <linux/sched.h>\r
34#include <linux/kthread.h>\r
35#include <linux/rtpm_prio.h>\r
36#include <linux/wait.h>\r
37#include <linux/time.h>\r
38#include <linux/delay.h>\r
39#include "cust_gpio_usage.h"\r
40#include <asm/uaccess.h>\r
41\r
42#include "tpd_custom_gt9xx.h"\r
43extern int gtp_autotool_setting; \r
44 \r
45#pragma pack(1)\r
46typedef struct \r
47{\r
48