atmel_mxt_ts.h 870 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Atmel maXTouch Touchscreen driver
  3. *
  4. * Copyright (C) 2010 Samsung Electronics Co.Ltd
  5. * Author: Joonyoung Shim <jy0922.shim@samsung.com>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. #ifndef __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H
  13. #define __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H
  14. #include <linux/types.h>
  15. enum mxt_suspend_mode {
  16. MXT_SUSPEND_DEEP_SLEEP = 0,
  17. MXT_SUSPEND_T9_CTRL = 1,
  18. };
  19. /* The platform data for the Atmel maXTouch touchscreen driver */
  20. struct mxt_platform_data {
  21. unsigned long irqflags;
  22. u8 t19_num_keys;
  23. const unsigned int *t19_keymap;
  24. enum mxt_suspend_mode suspend_mode;
  25. };
  26. #endif /* __LINUX_PLATFORM_DATA_ATMEL_MXT_TS_H */