genevn: optimize touch nt36672c gesture for fw v08

tp:
1. For v08 fw:
Mode 1: single tap only cmd is 0x02
Mode 2: single tap + double cmd is 0x06(v07 and before is 0x03)
Mode 3: double tap only cmd is 0x04
So, we optimize the touch driver for v08 fw.

Change-Id: I9f0894e27932f6440522d38aa0635740bb51b535
Reviewed-on: https://gerrit.mot.com/2428888
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Xiaojun Lv 2022-11-14 16:10:18 +08:00 • committed by lvxj4
commit 8f3edf4faa

View file

@ -612,8 +612,6 @@ static int nvt_mmi_panel_state(struct device *dev,
}
//---write command to enter "wakeup gesture mode"---
if (gesture_cmd == 0x06)
gesture_cmd = 0x03;
nvt_cmd_ext_store(DOUBLE_TAP_GESTURE_MODE_CMD, gesture_cmd);
gesture_cmd = 0x00;
#endif