From 8004a022353080ee8fc38994c0045d3faa19f4a8 Mon Sep 17 00:00:00 2001 From: Marco Cavallini Date: Fri, 9 Apr 2010 17:06:53 +0200 Subject: mh355/linux-2.6.28.10-at91-mh.patch: updated touchscreen options --- .../linux-2.6.28/mh355/linux-2.6.28.10-at91-mh.patch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'recipes/linux/linux-2.6.28') 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, +}; + -- cgit 1.2.3-korg