2019-06-04 16:11:33 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2014-02-14 15:57:37 +08:00
|
|
|
/*
|
2009-12-24 03:25:05 +08:00
|
|
|
* Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
|
|
|
|
*/
|
|
|
|
|
2014-02-14 15:57:37 +08:00
|
|
|
#ifndef __TOUCHSCREEN_S3C2410_H
|
|
|
|
#define __TOUCHSCREEN_S3C2410_H
|
2009-12-24 03:25:05 +08:00
|
|
|
|
|
|
|
struct s3c2410_ts_mach_info {
|
2014-02-14 15:57:37 +08:00
|
|
|
int delay;
|
|
|
|
int presc;
|
|
|
|
int oversampling_shift;
|
|
|
|
void (*cfg_gpio)(struct platform_device *dev);
|
2009-12-24 03:25:05 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
|
2015-03-02 16:47:23 +08:00
|
|
|
extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
|
2009-12-24 03:25:05 +08:00
|
|
|
|
2010-05-18 19:44:27 +08:00
|
|
|
/* defined by architecture to configure gpio */
|
|
|
|
extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
|
|
|
|
|
2014-02-14 15:57:37 +08:00
|
|
|
#endif /*__TOUCHSCREEN_S3C2410_H */
|