]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - include/linux/spi/tsc2005.h
Merge branch 'omap-fixes'
[linux-2.6-omap-h63xx.git] / include / linux / spi / tsc2005.h
1 #ifndef _LINUX_SPI_TSC2005_H
2 #define _LINUX_SPI_TSC2005_H
3
4 #include <linux/types.h>
5
6 struct tsc2005_platform_data {
7         s16     reset_gpio;
8         s16     dav_gpio;
9         s16     pen_int_gpio;
10         u16     ts_x_plate_ohm;
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;
21         u32     ts_x_max;
22         u32     ts_x_fudge;
23         u32     ts_y_max;
24         u32     ts_y_fudge;
25
26         unsigned ts_ignore_last : 1;
27 };
28
29 #endif