Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
0004 */
0005 
0006 #ifndef __TOUCHSCREEN_S3C2410_H
0007 #define __TOUCHSCREEN_S3C2410_H
0008 
0009 struct s3c2410_ts_mach_info {
0010     int delay;
0011     int presc;
0012     int oversampling_shift;
0013     void (*cfg_gpio)(struct platform_device *dev);
0014 };
0015 
0016 extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
0017 extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
0018 
0019 /* defined by architecture to configure gpio */
0020 extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
0021 
0022 #endif /*__TOUCHSCREEN_S3C2410_H */