[ar71xx] preliminary support for the Ubiquiti RouterStation Pro
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1224-commit-5f42e24d361cd83178fe8da9d68efbf41a011483.patch
1 From 9af61cea8871d2303e06c5e71a121245d5fdc283 Mon Sep 17 00:00:00 2001
2 From: Mike Westerhof <mwester@dls.net>
3 Date: Sun, 6 Jul 2008 10:39:39 +0100
4 Subject: [PATCH] commit 5f42e24d361cd83178fe8da9d68efbf41a011483
5
6 Add missing initialization for the touchscreen driver for the
7 gta01 platform.
8
9 Signed-off-by: Mike Westerhof <mwester@dls.net>
10 ---
11 arch/arm/mach-s3c2410/mach-gta01.c | 9 ++++++++-
12 1 files changed, 8 insertions(+), 1 deletions(-)
13
14 diff --git a/arch/arm/mach-s3c2410/mach-gta01.c b/arch/arm/mach-s3c2410/mach-gta01.c
15 index a77ed3d..e518de7 100644
16 --- a/arch/arm/mach-s3c2410/mach-gta01.c
17 +++ b/arch/arm/mach-s3c2410/mach-gta01.c
18 @@ -494,8 +494,15 @@ static struct s3c2410_udc_mach_info gta01_udc_cfg = {
19
20 static struct s3c2410_ts_mach_info gta01_ts_cfg = {
21 .delay = 10000,
22 - .presc = 65,
23 + .presc = 50000000 / 1000000, /* 50 MHz PCLK / 1MHz */
24 + /* simple averaging, 2^n samples */
25 .oversampling_shift = 5,
26 + /* averaging filter length, 2^n */
27 + .excursion_filter_len_bits = 5,
28 + /* flagged for beauty contest on next sample if differs from
29 + * average more than this
30 + */
31 + .reject_threshold_vs_avg = 2,
32 };
33
34 /* SPI */
35 --
36 1.5.6.5
37
This page took 0.046462 seconds and 5 git commands to generate.