ts.h 747 B

1234567891011121314151617181920212223242526
  1. /* arch/arm/plat-samsung/include/plat/ts.h
  2. *
  3. * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
  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 Foundation.
  8. */
  9. #ifndef __ASM_ARM_TS_H
  10. #define __ASM_ARM_TS_H
  11. struct s3c2410_ts_mach_info {
  12. int delay;
  13. int presc;
  14. int oversampling_shift;
  15. void (*cfg_gpio)(struct platform_device *dev);
  16. };
  17. extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
  18. /* defined by architecture to configure gpio */
  19. extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
  20. #endif /* __ASM_ARM_TS_H */