synaptics_i2c_rmi4.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. *
  3. * Synaptics Register Mapped Interface (RMI4) I2C Physical Layer Driver.
  4. * Copyright (c) 2007-2010, Synaptics Incorporated
  5. *
  6. * Author: Js HA <js.ha@stericsson.com> for ST-Ericsson
  7. * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson
  8. * Copyright 2010 (c) ST-Ericsson AB
  9. */
  10. /*
  11. * This file is licensed under the GPL2 license.
  12. *
  13. *#############################################################################
  14. * GPL
  15. *
  16. * This program is free software; you can redistribute it and/or modify it
  17. * under the terms of the GNU General Public License version 2 as published
  18. * by the Free Software Foundation.
  19. *
  20. * This program is distributed in the hope that it will be useful, but
  21. * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  22. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  23. * for more details.
  24. *
  25. *#############################################################################
  26. */
  27. #ifndef _SYNAPTICS_RMI4_H_INCLUDED_
  28. #define _SYNAPTICS_RMI4_H_INCLUDED_
  29. /**
  30. * struct synaptics_rmi4_platform_data - contains the rmi4 platform data
  31. * @irq_number: irq number
  32. * @irq_type: irq type
  33. * @x flip: x flip flag
  34. * @y flip: y flip flag
  35. *
  36. * This structure gives platform data for rmi4.
  37. */
  38. struct synaptics_rmi4_platform_data {
  39. int irq_type;
  40. bool x_flip;
  41. bool y_flip;
  42. };
  43. #endif