]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/spi/ads7846.h
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mfashe...
[linux-2.6-omap-h63xx.git] / include / linux / spi / ads7846.h
index 72261e0f2ac19f29932ef36a154ae273a680eca2..adb3dafd33e96a6d12c122fc62101b6c7a5c0947 100644 (file)
@@ -14,5 +14,12 @@ struct ads7846_platform_data {
        u16     x_min, x_max;
        u16     y_min, y_max;
        u16     pressure_min, pressure_max;
+
+       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);
 };