Sachin Kamat | 1560a83 | 2014-02-13 23:57:37 -0800 | [diff] [blame] | 1 | /* |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 2 | * 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 Kamat | 1560a83 | 2014-02-13 23:57:37 -0800 | [diff] [blame] | 9 | #ifndef __TOUCHSCREEN_S3C2410_H |
| 10 | #define __TOUCHSCREEN_S3C2410_H |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 11 | |
| 12 | struct s3c2410_ts_mach_info { |
Sachin Kamat | 1560a83 | 2014-02-13 23:57:37 -0800 | [diff] [blame] | 13 | int delay; |
| 14 | int presc; |
| 15 | int oversampling_shift; |
| 16 | void (*cfg_gpio)(struct platform_device *dev); |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 17 | }; |
| 18 | |
| 19 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); |
| 20 | |
Naveen Krishna | 5bfdca1 | 2010-05-18 20:44:27 +0900 | [diff] [blame] | 21 | /* defined by architecture to configure gpio */ |
| 22 | extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); |
| 23 | |
Sachin Kamat | 1560a83 | 2014-02-13 23:57:37 -0800 | [diff] [blame] | 24 | #endif /*__TOUCHSCREEN_S3C2410_H */ |