tps6507x-ts.h 535 B

123456789101112131415161718192021222324
  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. #ifndef __LINUX_I2C_TPS6507X_TS_H
  11. #define __LINUX_I2C_TPS6507X_TS_H
  12. /* Board specific touch screen initial values */
  13. struct touchscreen_init_data {
  14. int poll_period; /* ms */
  15. __u16 min_pressure; /* min reading to be treated as a touch */
  16. __u16 vendor;
  17. __u16 product;
  18. __u16 version;
  19. };
  20. #endif /* __LINUX_I2C_TPS6507X_TS_H */