summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/spi/ads7846.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index d8823e237e0b..adb3dafd33e9 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -15,9 +15,11 @@ struct ads7846_platform_data {
u16 y_min, y_max;
u16 pressure_min, pressure_max;
- u16 debounce_max; /* max number of readings per sample */
+ u16 debounce_max; /* max number of additional readings
+ * per sample */
u16 debounce_tol; /* tolerance used for filtering */
-
+ u16 debounce_rep; /* additional consecutive good readings
+ * required after the first two */
int (*get_pendown_state)(void);
};