aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2410/include/mach
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:06 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:06 +0000
commitd082ca932a9d03105fe26881ee860e7ff7025a9d (patch)
tree04253fc0920a760167d873d1c850bdbe0863bbb2 /arch/arm/mach-s3c2410/include/mach
parent4c1c1b07611390857b93f515a284dae2de3115d7 (diff)
test-touchscreen-median.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach')
-rw-r--r--arch/arm/mach-s3c2410/include/mach/ts.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/ts.h b/arch/arm/mach-s3c2410/include/mach/ts.h
index 6fa75f6c0ab..ab4433f10bd 100644
--- a/arch/arm/mach-s3c2410/include/mach/ts.h
+++ b/arch/arm/mach-s3c2410/include/mach/ts.h
@@ -16,12 +16,17 @@
#ifndef __ASM_ARM_TS_H
#define __ASM_ARM_TS_H
+#include <linux/ts_filter.h>
+
struct s3c2410_ts_mach_info {
- int delay;
- int presc;
- int oversampling_shift;
- int excursion_filter_len_bits;
- int reject_threshold_vs_avg;
+ int delay;
+ int presc;
+ /* array of pointers to filter APIs we want to use, in order
+ * ends on first NULL, all NULL is OK
+ */
+ struct ts_filter_api *filter_sequence[MAX_TS_FILTER_CHAIN];
+ /* array of configuration ints, one for each filter above */
+ void *filter_config[MAX_TS_FILTER_CHAIN];
};
void set_s3c2410ts_info(struct s3c2410_ts_mach_info *hard_s3c2410ts_info);