blob: 58dc7c5ae63b610f8092c0d21d6548a4ba7598bc [file] [log] [blame]
Sachin Kamat1560a832014-02-13 23:57:37 -08001/*
Arnaud Patardce8877b2009-12-23 19:25:05 +00002 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7*/
8
Sachin Kamat1560a832014-02-13 23:57:37 -08009#ifndef __TOUCHSCREEN_S3C2410_H
10#define __TOUCHSCREEN_S3C2410_H
Arnaud Patardce8877b2009-12-23 19:25:05 +000011
12struct s3c2410_ts_mach_info {
Sachin Kamat1560a832014-02-13 23:57:37 -080013 int delay;
14 int presc;
15 int oversampling_shift;
16 void (*cfg_gpio)(struct platform_device *dev);
Arnaud Patardce8877b2009-12-23 19:25:05 +000017};
18
19extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
20
Naveen Krishna5bfdca12010-05-18 20:44:27 +090021/* defined by architecture to configure gpio */
22extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
23
Sachin Kamat1560a832014-02-13 23:57:37 -080024#endif /*__TOUCHSCREEN_S3C2410_H */