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