From d0a816e49ce2d009e8de70c87bb0e9c7d3357eb3 Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Fri, 14 Jan 2011 15:01:03 -0600 Subject: [PATCH] [ARM]: tegra: stingray: enable palm suppression in touch sensor firmware: mXT1386_10_FF.bin Change-Id: I58dbadc633e6ad4bf42ca4a05d0272becdadf38f Signed-off-by: makarand.karvekar --- arch/arm/mach-tegra/board-stingray-touch.c | 38 ++++++++++++---------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index c14a4fbd49d0..232a94f62f33 100644 --- a/arch/arm/mach-tegra/board-stingray-touch.c +++ b/arch/arm/mach-tegra/board-stingray-touch.c @@ -248,7 +248,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0xEB8169, + .nv_checksum = 0x59276b, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -262,11 +262,11 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .num_keys = 0, }, .touch_fw_cfg = { - .fw_name = "mXT1386_10_AA.bin", + .fw_name = "mXT1386_10_FF.bin", .family_id = 0xA0, .variant_id = 0x00, .fw_version = 0x10, - .fw_build = 0xAA, + .fw_build = 0xFF, .boot_version = 0x20, .base_fw_version = 0x00, }, @@ -318,8 +318,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .y_edge_dist = 0x0A, .jump_limit = 0x20, .tch_thres_hyst = 0, - .xpitch = 0, - .ypitch = 0, + .xpitch = 0x2D, + .ypitch = 0x2D, }, .comms_config_cfg = { .ctrl = 0, @@ -394,12 +394,13 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .yhi_grip = 0, }, .palm_suppression_cfg = { - .ctrl = 0, + .ctrl = 1, .small_obj_thr = 0, .sig_spread_thr = 0, - .large_obj_thr = 0, - .distance_thr = 0, - .sup_ext_to = 0, + .large_obj_thr = 0xD3, + .distance_thr = 0x05, + .sup_ext_to = 0x05, + .strength = 0xDC, }, .spt_digitizer_cfg = { .ctrl = 0, @@ -430,7 +431,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0xEB8169, + .nv_checksum = 0x59276b, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -444,11 +445,11 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .num_keys = 0, }, .touch_fw_cfg = { - .fw_name = "mXT1386_10_AA.bin", + .fw_name = "mXT1386_10_FF.bin", .family_id = 0xA0, .variant_id = 0x00, .fw_version = 0x10, - .fw_build = 0xAA, + .fw_build = 0xFF, .boot_version = 0x20, .base_fw_version = 0x00, }, @@ -500,8 +501,8 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .y_edge_dist = 0x0A, .jump_limit = 0x20, .tch_thres_hyst = 0, - .xpitch = 0, - .ypitch = 0, + .xpitch = 0x2D, + .ypitch = 0x2D, }, .comms_config_cfg = { .ctrl = 0, @@ -576,12 +577,13 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .yhi_grip = 0, }, .palm_suppression_cfg = { - .ctrl = 0, + .ctrl = 1, .small_obj_thr = 0, .sig_spread_thr = 0, - .large_obj_thr = 0, - .distance_thr = 0, - .sup_ext_to = 0, + .large_obj_thr = 0xD3, + .distance_thr = 0x05, + .sup_ext_to = 0x05, + .strength = 0xDC, }, .spt_digitizer_cfg = { .ctrl = 0, -- 2.34.1