diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2011-05-17 12:31:33 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-05-17 12:38:43 -0400 |
commit | 2d137c7ed25f9754f52495af570897ad993e4fe7 (patch) | |
tree | 0d5a131c68022d5b3b24867e65731bf7e85d831c /include/linux/i2c | |
parent | 84005eb5ea2939d448047fcf6924b3b9b6ed974d (diff) |
Input: tsc2007 - add poll_delay parameter to platform data
Depending on the quality of the touch panel, the time for the X-, X+, Y-
and Y+ inputs to settle may vary. The poll_delay parameter can be used
to override the default of 1 millisecond.
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Kwangwoo Lee <kwangwoo.lee@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/tsc2007.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h index d95f11347314..342b130a0a98 100644 --- a/include/linux/i2c/tsc2007.h +++ b/include/linux/i2c/tsc2007.h | |||
@@ -7,6 +7,8 @@ struct tsc2007_platform_data { | |||
7 | u16 model; /* 2007. */ | 7 | u16 model; /* 2007. */ |
8 | u16 x_plate_ohms; | 8 | u16 x_plate_ohms; |
9 | u16 max_rt; /* max. resistance above which samples are ignored */ | 9 | u16 max_rt; /* max. resistance above which samples are ignored */ |
10 | unsigned long poll_delay; /* delay (in ms) after pen-down event | ||
11 | before polling starts */ | ||
10 | 12 | ||
11 | int (*get_pendown_state)(void); | 13 | int (*get_pendown_state)(void); |
12 | void (*clear_penirq)(void); /* If needed, clear 2nd level | 14 | void (*clear_penirq)(void); /* If needed, clear 2nd level |