touchscreen-s3c2410.h 673 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef __TOUCHSCREEN_S3C2410_H
  9. #define __TOUCHSCREEN_S3C2410_H
  10. struct s3c2410_ts_mach_info {
  11. int delay;
  12. int presc;
  13. int oversampling_shift;
  14. void (*cfg_gpio)(struct platform_device *dev);
  15. };
  16. extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
  17. /* defined by architecture to configure gpio */
  18. extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
  19. #endif /*__TOUCHSCREEN_S3C2410_H */