aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux
diff options
context:
space:
mode:
authorMarco Cavallini <m.cavallini@koansoftware.com>2010-04-09 17:06:53 +0200
committerMarco Cavallini <m.cavallini@koansoftware.com>2010-04-09 17:06:53 +0200
commit8004a022353080ee8fc38994c0045d3faa19f4a8 (patch)
tree216c35a9e987b214bcd812a9734bc50a6d58e40d /recipes/linux
parent58b55d75b60255bd200b36c9d080a659b5fca6ac (diff)
downloadopenembedded-8004a022353080ee8fc38994c0045d3faa19f4a8.tar.gz
mh355/linux-2.6.28.10-at91-mh.patch: updated touchscreen options
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/recipes/linux/linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch b/recipes/linux/linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch
index 7ebce5662d..d59eff7cf9 100644
--- a/recipes/linux/linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch
+++ b/recipes/linux/linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch
@@ -1537,17 +1537,17 @@ diff -Nur linux-2.6.28.10-at91/arch/arm/mach-at91/board-mh355.c linux-2.6.28.10-
+
+static struct ads7846_platform_data ads_info = {
+ .model = 7843,
-+ .x_min = 150,
-+ .x_max = 3830,
-+ .y_min = 190,
-+ .y_max = 3830,
++
++ .x_min = 137, .x_max = 3941,
++ .y_min = 127, .y_max = 3871,
+ .vref_delay_usecs = 100,
-+ .x_plate_ohms = 450,
-+ .y_plate_ohms = 250,
-+ .pressure_max = 15000,
-+ .debounce_max = 1,
-+ .debounce_rep = 0,
-+ .debounce_tol = (~0),
++ .x_plate_ohms = 180,
++ .pressure_max = 255,
++ .debounce_max = 10,
++ .debounce_tol = 3,
++ .debounce_rep = 1,
++ .keep_vref_on = 1,
++ .settle_delay_usecs = 150,
+ .get_pendown_state = ads7843_pendown_state,
+};
+