summaryrefslogtreecommitdiff
path: root/recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-26 19:02:41 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-26 19:02:41 +0200
commit8ffb44d28592bc95e4aa235501b381f1086aecb5 (patch)
tree73a957f7943fa632d63462a210109ca1ae4ac66d /recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch
parent156b83943190a7b9b3b85f35bee1378c4c6e9d9c (diff)
linux-kexecboot: add 2.6.29, currently only supports beagle
Diffstat (limited to 'recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch')
-rw-r--r--recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch b/recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch
new file mode 100644
index 0000000000..2325c401e4
--- /dev/null
+++ b/recipes/kexecboot/linux-kexecboot-2.6.29/touchscreen.patch
@@ -0,0 +1,22 @@
+diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c
+index d8109ae..f8ce669 100644
+--- a/arch/arm/mach-omap2/board-omap3evm.c
++++ b/arch/arm/mach-omap2/board-omap3evm.c
+@@ -128,8 +128,16 @@ static int ads7846_get_pendown_state(void)
+ }
+
+ struct ads7846_platform_data ads7846_config = {
++ .x_max = 0x0fff,
++ .y_max = 0x0fff,
++ .x_plate_ohms = 180,
++ .pressure_max = 255,
++ .debounce_max = 10,
++ .debounce_tol = 3,
++ .debounce_rep = 1,
+ .get_pendown_state = ads7846_get_pendown_state,
+ .keep_vref_on = 1,
++ .settle_delay_usecs = 150,
+ };
+
+ static struct omap2_mcspi_device_config ads7846_mcspi_config = {
+