Commit | Line | Data |
---|---|---|
50b6f1f4 KL |
1 | #ifndef __LINUX_I2C_TSC2007_H |
2 | #define __LINUX_I2C_TSC2007_H | |
3 | ||
4 | /* linux/i2c/tsc2007.h */ | |
5 | ||
6 | struct tsc2007_platform_data { | |
7 | u16 model; /* 2007. */ | |
341deefe | 8 | u16 x_plate_ohms; /* must be non-zero value */ |
84005eb5 | 9 | u16 max_rt; /* max. resistance above which samples are ignored */ |
1af38eac | 10 | unsigned long poll_period; /* time (in ms) between samples */ |
891e376b TR |
11 | int fuzzx; /* fuzz factor for X, Y and pressure axes */ |
12 | int fuzzy; | |
13 | int fuzzz; | |
50b6f1f4 | 14 | |
07f9e5cf DC |
15 | int (*get_pendown_state)(struct device *); |
16 | /* If needed, clear 2nd level interrupt source */ | |
17 | void (*clear_penirq)(void); | |
50b6f1f4 KL |
18 | int (*init_platform_hw)(void); |
19 | void (*exit_platform_hw)(void); | |
20 | }; | |
21 | ||
22 | #endif |