fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / linux / spi / ads7846.h
index 72261e0..adb3daf 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);
 };