From: makarand.karvekar Date: Sun, 16 Jan 2011 23:01:28 +0000 (-0600) Subject: [ARM]: tegra: update touch edge control settings in stingray board file X-Git-Tag: firefly_0821_release~9834^2~152 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=399d55e80238c453c9bf20f1a49283a94f3d56a1;p=firefly-linux-kernel-4.4.55.git [ARM]: tegra: update touch edge control settings in stingray board file x-range: 10, 2570 y-range: 15, 1615 touch resolution: 2580x1630 Change-Id: I2f868539bb073596b800fbe9d97bea7a718be65e Signed-off-by: makarand.karvekar --- diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index c4606985422c..a01a1a6cf02c 100644 --- a/arch/arm/mach-tegra/board-stingray-touch.c +++ b/arch/arm/mach-tegra/board-stingray-touch.c @@ -238,17 +238,17 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .flags = (QTOUCH_USE_MULTITOUCH | QTOUCH_CFG_BACKUPNV), .irqflags = (IRQF_TRIGGER_LOW), - .abs_min_x = 0, - .abs_max_x = 4095, - .abs_min_y = 255, - .abs_max_y = 4058, + .abs_min_x = 10, + .abs_max_x = 2570, + .abs_min_y = 15, + .abs_max_y = 1615, .abs_min_p = 0, .abs_max_p = 255, .abs_min_w = 0, .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x14c8ac, + .nv_checksum = 0x60ec22, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -299,23 +299,23 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = { .tch_det_int = 0x2, .orient = 1, .mrg_to = 0x0A, - .mov_hyst_init = 0x32, - .mov_hyst_next = 0x14, + .mov_hyst_init = 0x16, + .mov_hyst_next = 0x0B, .mov_filter = 0x3D, .num_touch = 0x0A, .merge_hyst = 0x10, .merge_thresh = 0x23, .amp_hyst = 0x0A, - .x_res = 0x0FFF, - .y_res = 0x0FFF, - .x_low_clip = 0x06, - .x_high_clip = 0x0A, + .x_res = 0x065E, + .y_res = 0x0A14, + .x_low_clip = 0x0C, + .x_high_clip = 0x0C, .y_low_clip = 0x05, - .y_high_clip = 0xFF, - .x_edge_ctrl = 0xD2, - .x_edge_dist = 0x28, - .y_edge_ctrl = 0x2E, - .y_edge_dist = 0x0A, + .y_high_clip = 0x05, + .x_edge_ctrl = 0xC3, + .x_edge_dist = 0x22, + .y_edge_ctrl = 0x82, + .y_edge_dist = 0x3C, .jump_limit = 0x20, .tch_thres_hyst = 0, .xpitch = 0x2D, @@ -421,17 +421,17 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .flags = (QTOUCH_USE_MULTITOUCH | QTOUCH_CFG_BACKUPNV), .irqflags = (IRQF_TRIGGER_LOW), - .abs_min_x = 0, - .abs_max_x = 4095, - .abs_min_y = 0, - .abs_max_y = 4095, + .abs_min_x = 10, + .abs_max_x = 2570, + .abs_min_y = 15, + .abs_max_y = 1615, .abs_min_p = 0, .abs_max_p = 255, .abs_min_w = 0, .abs_max_w = 15, .x_delta = 400, .y_delta = 250, - .nv_checksum = 0x14c8ac, + .nv_checksum = 0x60ec22, .fuzz_x = 0, .fuzz_y = 0, .fuzz_p = 2, @@ -482,23 +482,23 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = { .tch_det_int = 0x2, .orient = 1, .mrg_to = 0x0A, - .mov_hyst_init = 0x32, - .mov_hyst_next = 0x14, + .mov_hyst_init = 0x16, + .mov_hyst_next = 0x0B, .mov_filter = 0x3D, .num_touch = 0x0A, .merge_hyst = 0x10, .merge_thresh = 0x23, .amp_hyst = 0x0A, - .x_res = 0x0FFF, - .y_res = 0x0FFF, - .x_low_clip = 0x06, - .x_high_clip = 0x0A, + .x_res = 0x065E, + .y_res = 0x0A14, + .x_low_clip = 0x0C, + .x_high_clip = 0x0C, .y_low_clip = 0x05, - .y_high_clip = 0xFF, - .x_edge_ctrl = 0xD2, - .x_edge_dist = 0x28, - .y_edge_ctrl = 0x2E, - .y_edge_dist = 0x0A, + .y_high_clip = 0x05, + .x_edge_ctrl = 0xC3, + .x_edge_dist = 0x22, + .y_edge_ctrl = 0x82, + .y_edge_dist = 0x3C, .jump_limit = 0x20, .tch_thres_hyst = 0, .xpitch = 0x2D,