edt-ft5x06.h 533 B

123456789101112131415161718192021222324
  1. #ifndef _EDT_FT5X06_H
  2. #define _EDT_FT5X06_H
  3. /*
  4. * Copyright (c) 2012 Simon Budig, <simon.budig@kernelconcepts.de>
  5. *
  6. * This program is free software; you can redistribute it and/or modify it
  7. * under the terms of the GNU General Public License version 2 as published by
  8. * the Free Software Foundation.
  9. */
  10. struct edt_ft5x06_platform_data {
  11. int irq_pin;
  12. int reset_pin;
  13. /* startup defaults for operational parameters */
  14. bool use_parameters;
  15. u8 gain;
  16. u8 threshold;
  17. u8 offset;
  18. u8 report_rate;
  19. };
  20. #endif /* _EDT_FT5X06_H */