aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2011-05-17 12:32:29 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-05-17 12:38:53 -0400
commit891e376b1e864519bf7e49fa741f473078318530 (patch)
tree8b7876c61ab3191e68a82e5c531864dc98a6a9e6 /include/linux/i2c
parent1af38eac8cdb70dbad3086b4f1bf7296eb1b09b1 (diff)
Input: tsc2007 - add X, Y and Z fuzz factors to platform data
These new platform-specific values can be used to set the fuzz parameter passed to the input_set_abs_params() function for the ABS_X, ABS_Y and ABS_PRESSURE axes. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/i2c/tsc2007.h b/include/linux/i2c/tsc2007.h
index a51dac081aca..591427a63b06 100644
--- a/include/linux/i2c/tsc2007.h
+++ b/include/linux/i2c/tsc2007.h
@@ -10,6 +10,9 @@ struct tsc2007_platform_data {
10 unsigned long poll_delay; /* delay (in ms) after pen-down event 10 unsigned long poll_delay; /* delay (in ms) after pen-down event
11 before polling starts */ 11 before polling starts */
12 unsigned long poll_period; /* time (in ms) between samples */ 12 unsigned long poll_period; /* time (in ms) between samples */
13 int fuzzx; /* fuzz factor for X, Y and pressure axes */
14 int fuzzy;
15 int fuzzz;
13 16
14 int (*get_pendown_state)(void); 17 int (*get_pendown_state)(void);
15 void (*clear_penirq)(void); /* If needed, clear 2nd level 18 void (*clear_penirq)(void); /* If needed, clear 2nd level