aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJinkyu Song <jksong@sta.samsung.com>2010-10-19 19:46:01 -0700
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:52:01 -0800
commita6e723fa104905acfae3d73c76d6d85a71150e67 (patch)
tree79b848f2452deb0cf8f5bad67cf323399d4f9df3
parent58e1530b08cdec1d669cace8cb41d3526b86bfc6 (diff)
downloadkernel_samsung_crespo-a6e723fa104905acfae3d73c76d6d85a71150e67.zip
kernel_samsung_crespo-a6e723fa104905acfae3d73c76d6d85a71150e67.tar.gz
kernel_samsung_crespo-a6e723fa104905acfae3d73c76d6d85a71150e67.tar.bz2
mxt224: TOUCH: Calibrate touchscreen
Touchscreen calibration data. This allows the user to go to the edges of the screen while maintaining a good linearity and touch response. This change utilizes the clipping feature of mXT224 for better linearity. Improved sensitivity and made separate fingers more distinguishable. 'Merge threshold' value is adjusted to prevent the problem separating a wide object into multiple touches. It is changed from 4 to 14. Change-Id: I0c8d8ffc65281e50d87a7d1d9d5bd3fa1cc003cd Signed-off-by: Jinkyu Song <jksong@sta.samsung.com>
-rw-r--r--arch/arm/mach-s5pv210/mach-herring.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-s5pv210/mach-herring.c b/arch/arm/mach-s5pv210/mach-herring.c
index 7ff93ff..ae738c8 100644
--- a/arch/arm/mach-s5pv210/mach-herring.c
+++ b/arch/arm/mach-s5pv210/mach-herring.c
@@ -1936,9 +1936,9 @@ static u8 t7_config[] = {GEN_POWERCONFIG_T7,
static u8 t8_config[] = {GEN_ACQUISITIONCONFIG_T8,
7, 0, 5, 0, 0, 0, 9, 35};
static u8 t9_config[] = {TOUCH_MULTITOUCHSCREEN_T9,
- 139, 0, 0, 19, 11, 0, 32, 40, 2, 1, 0, 3, 1,
- 46, MXT224_MAX_MT_FINGERS, 5, 40, 10, 255, 3,
- 255, 3, 0, 0, 0, 0, 141, 60, 143, 60, 18};
+ 139, 0, 0, 19, 11, 0, 32, 25, 2, 1, 25, 3, 1,
+ 46, MXT224_MAX_MT_FINGERS, 5, 14, 10, 255, 3,
+ 255, 3, 18, 18, 10, 10, 141, 65, 143, 110, 18};
static u8 t18_config[] = {SPT_COMCONFIG_T18,
0, 1};
static u8 t20_config[] = {PROCI_GRIPFACESUPPRESSION_T20,
@@ -1965,10 +1965,10 @@ static struct mxt224_platform_data mxt224_data = {
.max_finger_touches = MXT224_MAX_MT_FINGERS,
.gpio_read_done = GPIO_TOUCH_INT,
.config = mxt224_config,
- .min_x = 39,
- .max_x = 986,
- .min_y = 6,
- .max_y = 1016,
+ .min_x = 0,
+ .max_x = 1023,
+ .min_y = 0,
+ .max_y = 1023,
.min_z = 0,
.max_z = 255,
.min_w = 0,