From 7a7592bf4fbefa75ccfa9ebdf0d388d913e580a0 Mon Sep 17 00:00:00 2001 From: "makarand.karvekar" Date: Tue, 9 Nov 2010 09:39:13 -0600 Subject: [PATCH] ARM: tegra: stingray: noise suppression tuning in touch file 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 --- arch/arm/mach-tegra/board-stingray-touch.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-touch.c b/arch/arm/mach-tegra/board-stingray-touch.c index e50aabe73d33..b14387e8565f 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 = 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, -- 2.34.1