ARM: tegra: stingray: noise suppression tuning in touch file
authormakarand.karvekar <makarand.karvekar@motorola.com>
Tue, 9 Nov 2010 15:39:13 +0000 (09:39 -0600)
committerBenoit Goby <benoit@android.com>
Wed, 10 Nov 2010 01:33:30 +0000 (17:33 -0800)
Noise Threshold value updated to reduce occurance
rate of frequency hopping.
This helps with idle mode current drain and reduces
occurance of cycle overruns.
Active to idle scan mode time out is changed to
2 seconds as opposed to 5 seconds to lower current
drain.

T22 - NOISESUPPRESSION OBJECT
NOISETHR = 0x20 (32d)

T7 - POWER CONFIG OBJECT
ACTV2IDLETO = 0x0A

Change-Id: Icdb98258ca72548291a782c398156445c0006dd1
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
arch/arm/mach-tegra/board-stingray-touch.c

index e50aabe73d33cd238a77b9f6f459b44dee1e715a..b14387e8565fcac5e5ff37264dd1ee4b29841197 100644 (file)
@@ -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            = 0x594304,
+       .nv_checksum            = 0x5D0929,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -273,7 +273,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
        .power_cfg      = {
                .idle_acq_int   = 0x12,
                .active_acq_int = 0xFF,
-               .active_idle_to = 0x19,
+               .active_idle_to = 0x0A,
        },
        .acquire_cfg    = {
                .charge_time    = 0x0A,
@@ -334,7 +334,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p0 = {
                .reserve5               = 0,
                .reserve6               = 0,
                .reserve7               = 0,
-               .noise_thres            = 20,
+               .noise_thres            = 32,
                .reserve9               = 0,
                .freq_hop_scale         = 0,
                .burst_freq_0           = 10,
@@ -430,7 +430,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
        .abs_max_w              = 15,
        .x_delta                = 400,
        .y_delta                = 250,
-       .nv_checksum            = 0x594304,
+       .nv_checksum            = 0x5D0929,
        .fuzz_x                 = 0,
        .fuzz_y                 = 0,
        .fuzz_p                 = 2,
@@ -455,7 +455,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
        .power_cfg      = {
                .idle_acq_int   = 0x12,
                .active_acq_int = 0xFF,
-               .active_idle_to = 0x19,
+               .active_idle_to = 0x0A,
        },
        .acquire_cfg    = {
                .charge_time    = 0x0A,
@@ -516,7 +516,7 @@ struct qtouch_ts_platform_data stingray_touch_data_p1_or_later = {
                .reserve5               = 0,
                .reserve6               = 0,
                .reserve7               = 0,
-               .noise_thres            = 20,
+               .noise_thres            = 32,
                .reserve9               = 0,
                .freq_hop_scale         = 0,
                .burst_freq_0           = 10,