Maurus Cuelenaere | 73e59b1 | 2010-05-04 13:12:41 +0200 | [diff] [blame] | 1 | /* arch/arm/plat-samsung/include/plat/ts.h |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 2 | * |
| 3 | * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License version 2 as |
| 7 | * published by the Free Software Foundation. |
| 8 | */ |
| 9 | |
| 10 | #ifndef __ASM_ARM_TS_H |
| 11 | #define __ASM_ARM_TS_H |
| 12 | |
| 13 | struct s3c2410_ts_mach_info { |
| 14 | int delay; |
| 15 | int presc; |
| 16 | int oversampling_shift; |
Naveen Krishna | 5bfdca1 | 2010-05-18 20:44:27 +0900 | [diff] [blame] | 17 | void (*cfg_gpio)(struct platform_device *dev); |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); |
| 21 | |
Naveen Krishna | 5bfdca1 | 2010-05-18 20:44:27 +0900 | [diff] [blame] | 22 | /* defined by architecture to configure gpio */ |
| 23 | extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); |
| 24 | |
Arnaud Patard | ce8877b | 2009-12-23 19:25:05 +0000 | [diff] [blame] | 25 | #endif /* __ASM_ARM_TS_H */ |