1 #ifndef _LINUX_SPI_TSC2005_H
2 #define _LINUX_SPI_TSC2005_H
4 #include <linux/types.h>
6 struct tsc2005_platform_data {
11 u32 ts_stab_time; /* voltage settling time */
12 u8 ts_hw_avg; /* HW assiseted averaging. Can be
13 0, 4, 8, 16 samples per reading */
14 u32 ts_touch_pressure; /* Pressure limit until we report a
15 touch event. After that we switch
16 to ts_max_pressure. */
17 u32 ts_pressure_max;/* Samples with bigger pressure value will
18 be ignored, since the corresponding X, Y
19 values are unreliable */
20 u32 ts_pressure_fudge;
26 unsigned ts_ignore_last : 1;