[oe-commits] Marco Cavallini : mh355/linux-2.6.28.10-at91-mh.patch: updated touchscreen options

git version control git at git.openembedded.org
Fri Apr 9 19:43:55 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 8004a022353080ee8fc38994c0045d3faa19f4a8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8004a022353080ee8fc38994c0045d3faa19f4a8

Author: Marco Cavallini <m.cavallini at koansoftware.com>
Date:   Fri Apr  9 17:06:53 2010 +0200

mh355/linux-2.6.28.10-at91-mh.patch: updated touchscreen options

---

 .../mh355/linux-2.6.28.10-at91-mh.patch            |   20 ++++++++++----------
 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 7ebce56..d59eff7 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,
 +};
 +





More information about the Openembedded-commits mailing list