import PULS_20180308
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / input / touchscreen / mediatek / GT9110 / goodix_tool.c
CommitLineData
6fa3eb70
S
1/* drivers/input/touchscreen/goodix_tool.c
2 *
3 * 2010 - 2012 Goodix Technology.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be a reference
11 * to you, when you are integrating the GOODiX's CTP IC into your system,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
15 *
16 * Version:1.2
17 * V1.0:2012/05/01,create file.
18 * V1.2:2012/10/17,reset_guitar etc.
19 *
20 */
21
22#include "tpd.h"
23#include <linux/interrupt.h>
24#include <cust_eint.h>
25#include <linux/i2c.h>
26#include <linux/sched.h>
27#include <linux/kthread.h>
28#include <linux/rtpm_prio.h>
29#include <linux/wait.h>
30#include <linux/time.h>
31#include <linux/delay.h>
32#include "cust_gpio_usage.h"
33#include <asm/uaccess.h>
34
35#include "tpd_custom_gt9xx.h"
36
37#include <linux/device.h>
38#include <linux/proc_fs.h> /*proc*/
39
40#pragma pack(1)
41typedef struct
42{
43