S3C: Backported the s3c2410 touchscreen from openmoko
[linux-2.6/mini2440.git] / arch / arm / mach-s3c2410 / include / mach / ts.h
blob1b451ea162484a28471646ce17f40286348fe51e
1 /* arch/arm/mach-s3c2410/include/mach/ts.h
3 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
11 * Changelog:
12 * 24-Mar-2005 RTP Created file
13 * 03-Aug-2005 RTP Renamed to ts.h
16 #ifndef __ASM_ARM_TS_H
17 #define __ASM_ARM_TS_H
19 #include <../drivers/input/touchscreen/ts_filter.h>
21 struct s3c2410_ts_mach_info {
22 int delay;
23 int presc;
24 /* array of pointers to filter APIs we want to use, in order
25 * ends on first NULL, all NULL is OK
27 struct ts_filter_api *filter_sequence[MAX_TS_FILTER_CHAIN];
28 /* array of configuration ints, one for each filter above */
29 void *filter_config[MAX_TS_FILTER_CHAIN];
32 void set_s3c2410ts_info(struct s3c2410_ts_mach_info *hard_s3c2410ts_info);
34 #endif /* __ASM_ARM_TS_H */