2014-02-14 00:57:37 -07:00
|
|
|
/*
|
2009-12-23 12:25:05 -07:00
|
|
|
* Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2014-02-14 00:57:37 -07:00
|
|
|
#ifndef __TOUCHSCREEN_S3C2410_H
|
|
|
|
#define __TOUCHSCREEN_S3C2410_H
|
2009-12-23 12:25:05 -07:00
|
|
|
|
|
|
|
struct s3c2410_ts_mach_info {
|
2014-02-14 00:57:37 -07:00
|
|
|
int delay;
|
|
|
|
int presc;
|
|
|
|
int oversampling_shift;
|
|
|
|
void (*cfg_gpio)(struct platform_device *dev);
|
2009-12-23 12:25:05 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
|
2015-03-02 01:47:23 -07:00
|
|
|
extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
|
2009-12-23 12:25:05 -07:00
|
|
|
|
2010-05-18 05:44:27 -06:00
|
|
|
/* defined by architecture to configure gpio */
|
|
|
|
extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
|
|
|
|
|
2014-02-14 00:57:37 -07:00
|
|
|
#endif /*__TOUCHSCREEN_S3C2410_H */
|