mms114.h 580 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics Co.Ltd
  3. * Author: Joonyoung Shim <jy0922.shim@samsung.com>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundationr
  8. */
  9. #ifndef __LINUX_MMS114_H
  10. #define __LINUX_MMS114_H
  11. struct mms114_platform_data {
  12. unsigned int x_size;
  13. unsigned int y_size;
  14. unsigned int contact_threshold;
  15. unsigned int moving_threshold;
  16. bool x_invert;
  17. bool y_invert;
  18. void (*cfg_pin)(bool);
  19. };
  20. #endif /* __LINUX_MMS114_H */