aboutsummaryrefslogtreecommitdiff
path: root/include/linux/spi/ads7846.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/spi/ads7846.h')
-rw-r--r--include/linux/spi/ads7846.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index a44fa7a02bd..334d3141162 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -24,6 +24,12 @@ struct ads7846_platform_data {
*/
u16 settle_delay_usecs;
+ /* If set to non-zero, after samples are taken this delay is applied
+ * and penirq is rechecked, to help avoid false events. This value
+ * is affected by the material used to build the touch layer.
+ */
+ u16 penirq_recheck_delay_usecs;
+
u16 x_plate_ohms;
u16 y_plate_ohms;