tsc2007.h 364 B

1234567891011121314151617
  1. #ifndef __LINUX_I2C_TSC2007_H
  2. #define __LINUX_I2C_TSC2007_H
  3. /* linux/i2c/tsc2007.h */
  4. struct tsc2007_platform_data {
  5. u16 model; /* 2007. */
  6. u16 x_plate_ohms;
  7. int (*get_pendown_state)(void);
  8. void (*clear_penirq)(void); /* If needed, clear 2nd level
  9. interrupt source */
  10. int (*init_platform_hw)(void);
  11. void (*exit_platform_hw)(void);
  12. };
  13. #endif