Permalink
Browse files

CHROMIUM: tegra: asymptote: Decrease touch threshold for asymptote

	Currently atmel touch controller threshold TCHTHR is set too high
that dragging is reported as continues press/release pair events instead
of press/move(s)/release events. This patch decreases THCTHR from 0x50
to 0x3c so that dragging is correctly interpreted. TCHDI is increased
from 0x02 to 0x03 to suppress noise.

BUG=None
TEST=Manually tested on Asymptote and confirmed that scrolling on webpage
is working as expected.

Change-Id: I60daffa232f85001794f22bd32f99d0d40ba86e5
Signed-off-by: Yufeng Shen <miletus@chromium.org>
Reviewed-on: http://gerrit.chromium.org/gerrit/6117
Reviewed-by: Jon Kliegman <kliegs@chromium.org>
  • Loading branch information...
1 parent 854430a commit 91e40cc5186bdef2d235ae839bd623de436b0ffc @yufengshen yufengshen committed Aug 16, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 arch/arm/mach-tegra/board-seaboard.c
@@ -711,7 +711,7 @@ static const u8 asymptote_mxt_config_data[] = {
/* MXT_GEN_ACQUIRE(8) */
0x0a, 0x00, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
/* MXT_TOUCH_MULTI(9) */
- 0x0F, 0x00, 0x00, 0x20, 0x2a, 0x00, 0x10, 0x50, 0x02, 0x05,
+ 0x0F, 0x00, 0x00, 0x20, 0x2a, 0x00, 0x10, 0x50, 0x03, 0x05,
0x00, 0x02, 0x01, 0x00, 0x0a, 0x0a, 0x0a, 0x0a, 0x00, 0x03,
0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x0a, 0x00, 0x00, 0x00,
@@ -750,7 +750,7 @@ static struct mxt_platform_data asymptote_mxt_platform_data = {
.x_size = 768,
.y_size = 1024,
.blen = 0x16,
- .threshold = 0x50,
+ .threshold = 0x3c,
.voltage = 3300000, /* 3.3V */
.orient = MXT_DIAGONAL,
.irqflags = IRQF_TRIGGER_FALLING,

0 comments on commit 91e40cc

Please sign in to comment.