[ARM] tegra: edge and multi-touch tuning for stingray
authormakarand.karvekar <makarand.karvekar@motorola.com>
Wed, 27 Oct 2010 20:06:35 +0000 (15:06 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Thu, 28 Oct 2010 03:57:21 +0000 (20:57 -0700)
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 <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-touch.c

index dedcd55c2609c439326219df5f0c0fee0390ed4d..01d0b18998dda54111cc2a769957fbbdbf88e682 100644 (file)
@@ -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,
         },