xref: /linux/include/linux/platform_data/touchscreen-s3c2410.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
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 */
23