diff options
Diffstat (limited to 'include/linux/input')
| -rw-r--r-- | include/linux/input/tps6507x-ts.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/input/tps6507x-ts.h b/include/linux/input/tps6507x-ts.h new file mode 100644 index 000000000000..ab1440313924 --- /dev/null +++ b/include/linux/input/tps6507x-ts.h | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* linux/i2c/tps6507x-ts.h | ||
| 2 | * | ||
| 3 | * Functions to access TPS65070 touch screen chip. | ||
| 4 | * | ||
| 5 | * Copyright (c) 2009 RidgeRun (todd.fischer@ridgerun.com) | ||
| 6 | * | ||
| 7 | * | ||
| 8 | * For licencing details see kernel-base/COPYING | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef __LINUX_I2C_TPS6507X_TS_H | ||
| 12 | #define __LINUX_I2C_TPS6507X_TS_H | ||
| 13 | |||
| 14 | /* Board specific touch screen initial values */ | ||
| 15 | struct touchscreen_init_data { | ||
| 16 | int poll_period; /* ms */ | ||
| 17 | int vref; /* non-zero to leave vref on */ | ||
| 18 | __u16 min_pressure; /* min reading to be treated as a touch */ | ||
| 19 | __u16 vendor; | ||
| 20 | __u16 product; | ||
| 21 | __u16 version; | ||
| 22 | }; | ||
| 23 | |||
| 24 | #endif /* __LINUX_I2C_TPS6507X_TS_H */ | ||
