touchscreen-s3c2410.h 595 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2005 Arnaud Patard <[email protected]>
  4. */
  5. #ifndef __TOUCHSCREEN_S3C2410_H
  6. #define __TOUCHSCREEN_S3C2410_H
  7. struct s3c2410_ts_mach_info {
  8. int delay;
  9. int presc;
  10. int oversampling_shift;
  11. void (*cfg_gpio)(struct platform_device *dev);
  12. };
  13. extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
  14. extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
  15. /* defined by architecture to configure gpio */
  16. extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
  17. #endif /*__TOUCHSCREEN_S3C2410_H */