ti_am335x_tsc.h 578 B

1234567891011121314151617181920212223
  1. #ifndef __LINUX_TI_AM335X_TSC_H
  2. #define __LINUX_TI_AM335X_TSC_H
  3. /**
  4. * struct tsc_data Touchscreen wire configuration
  5. * @wires: Wires refer to application modes
  6. * i.e. 4/5/8 wire touchscreen support
  7. * on the platform.
  8. * @x_plate_resistance: X plate resistance.
  9. * @steps_to_configure: The sequencer supports a total of
  10. * 16 programmable steps.
  11. * A step configured to read a single
  12. * co-ordinate value, can be applied
  13. * more number of times for better results.
  14. */
  15. struct tsc_data {
  16. int wires;
  17. int x_plate_resistance;
  18. int steps_to_configure;
  19. };
  20. #endif