summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap2-git/omap3evm/touchscreen.patch
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-07-09 19:35:07 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-07-09 19:35:07 +0000
commita6e2b02752c0a0feab1faeceeec2ea32244ec54a (patch)
treebb0937807458a828e5e303bb68ecfd851f96ea01 /packages/linux/linux-omap2-git/omap3evm/touchscreen.patch
parent10be83b24e06a983e8fb8bb7f80377befaf55cb7 (diff)
parent28dfe0ee7737a7702de101bb6ba1e72f7d408f03 (diff)
merge of '4ced2a6d71f9eeefb5a83f0584348d666b56065a'
and '9a6c7bec4be483b56e6305d978adce9e49f1e29c'
Diffstat (limited to 'packages/linux/linux-omap2-git/omap3evm/touchscreen.patch')
-rw-r--r--packages/linux/linux-omap2-git/omap3evm/touchscreen.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/linux/linux-omap2-git/omap3evm/touchscreen.patch b/packages/linux/linux-omap2-git/omap3evm/touchscreen.patch
new file mode 100644
index 0000000000..2325c401e4
--- /dev/null
+++ b/packages/linux/linux-omap2-git/omap3evm/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 = {
+