From b8de5d4328f6ffccf04e6bd8c2b2e78e677b4212 Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Wed, 27 Oct 2010 15:06:35 -0500 Subject: [PATCH] [ARM] tegra: edge and multi-touch tuning for stingray improved touch reporting at edges. improved multi-touch touch reports(for keypad). increased number of touches to 10. Change-Id: I866de3bf45ba96d23ab0d975131a0f0a5055815f Signed-off-by: makarand.karvekar --- arch/arm/mach-tegra/board-stingray-touch.c | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index dedcd55c2609..01d0b18998dd 100644 --- a/arch/arm/mach-tegra/board-stingray-touch.c +++ b/arch/arm/mach-tegra/board-stingray-touch.c @@ -241,7 +241,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x15c5a3, + .nv_checksum = 0x594304, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -264,7 +264,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { }, .power_cfg = { .idle_acq_int = 0x12, - .active_acq_int = 0x12, + .active_acq_int = 0xFF, .active_idle_to = 0x19, }, .acquire_cfg = { @@ -280,7 +280,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .atch_cal_force_ratio = 0x19, }, .multi_touch_cfg = { - .ctrl = 0x83, + .ctrl = 0x8B, .x_origin = 0, .y_origin = 0, .x_size = 0x21, @@ -294,7 +294,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .mov_hyst_init = 0x32, .mov_hyst_next = 0x14, .mov_filter = 0x3D, - .num_touch = 0x05, + .num_touch = 0x0A, .merge_hyst = 0x0A, .merge_thresh = 0x0A, .amp_hyst = 0x0A, @@ -304,12 +304,12 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .x_high_clip = 0x0A, .y_low_clip = 0x05, .y_high_clip = 0xFF, - .x_edge_ctrl = 0x0C, - .x_edge_dist = 0x25, + .x_edge_ctrl = 0xD2, + .x_edge_dist = 0x28, .y_edge_ctrl = 0x2E, .y_edge_dist = 0x0A, - .jump_limit = 0x30, - .tch_thres_hyst = 0x09, + .jump_limit = 0x20, + .tch_thres_hyst = 0, .xpitch = 0, .ypitch = 0, }, @@ -422,7 +422,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x15c5a3, + .nv_checksum = 0x594304, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -445,7 +445,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { }, .power_cfg = { .idle_acq_int = 0x12, - .active_acq_int = 0x12, + .active_acq_int = 0xFF, .active_idle_to = 0x19, }, .acquire_cfg = { @@ -461,7 +461,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .atch_cal_force_ratio = 0x19, }, .multi_touch_cfg = { - .ctrl = 0x83, + .ctrl = 0x8B, .x_origin = 0, .y_origin = 0, .x_size = 0x21, @@ -475,7 +475,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .mov_hyst_init = 0x32, .mov_hyst_next = 0x14, .mov_filter = 0x3D, - .num_touch = 0x05, + .num_touch = 0x0A, .merge_hyst = 0x0A, .merge_thresh = 0x0A, .amp_hyst = 0x0A, @@ -485,12 +485,12 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .x_high_clip = 0x0A, .y_low_clip = 0x05, .y_high_clip = 0xFF, - .x_edge_ctrl = 0x0C, - .x_edge_dist = 0x25, + .x_edge_ctrl = 0xD2, + .x_edge_dist = 0x28, .y_edge_ctrl = 0x2E, .y_edge_dist = 0x0A, - .jump_limit = 0x30, - .tch_thres_hyst = 0x09, + .jump_limit = 0x20, + .tch_thres_hyst = 0, .xpitch = 0, .ypitch = 0, }, -- 2.34.1