bu21013.h 741 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (C) ST-Ericsson SA 2010
  3. * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
  4. * License terms:GNU General Public License (GPL) version 2
  5. */
  6. #ifndef _BU21013_H
  7. #define _BU21013_H
  8. /**
  9. * struct bu21013_platform_device - Handle the platform data
  10. * @touch_x_max: touch x max
  11. * @touch_y_max: touch y max
  12. * @cs_pin: chip select pin
  13. * @touch_pin: touch gpio pin
  14. * @ext_clk: external clock flag
  15. * @x_flip: x flip flag
  16. * @y_flip: y flip flag
  17. * @wakeup: wakeup flag
  18. *
  19. * This is used to handle the platform data
  20. */
  21. struct bu21013_platform_device {
  22. int touch_x_max;
  23. int touch_y_max;
  24. unsigned int cs_pin;
  25. unsigned int touch_pin;
  26. bool ext_clk;
  27. bool x_flip;
  28. bool y_flip;
  29. bool wakeup;
  30. };
  31. #endif