Commit Graph
904 Commits
Author SHA1 Message Date
zhuwg1 109c7b7170 Fix cyttsp5 driver crash
When parade touch IC FW-APP damaged,get build_id and config_id will
result in kernel panic.

[ 24.149702][ T1704] pc : cyttsp5_ts_mmi_methods_get_build_id+0x54/0x110 [parade_tma5xx_mmi_core]
[ 24.149730][ T1704] lr : cyttsp5_ts_mmi_methods_get_build_id+0xa4/0x110 [parade_tma5xx_mmi_core]

Change-Id: Ibeece2c06bdbe10c0b6b0a7dd1a4317162766fdb
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2186810
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-02-09 20:54:14 -06:00
zhuwg1 501e4a44f1 Use touch mmi class method to do FW upgrade
TP:
Use touch mmi class method and init.mmi.touch.sh to do FW upgrade.

Change-Id: I300c90b6b5a8eda86cc2c52d9595e9a3a13698cf
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2184720
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-02-08 06:05:45 -06:00
zhuwg1 3e3487b5e2 Support touchscreen class in the parade drvier code.
TP:
Add initial support for touchscreen class in the parade drvier code.

Change-Id: I6c994978ba6ff41abbb8b572825d2a85dd3a8e73
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2182089
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-02-08 06:05:36 -06:00
tinno18 7f4f72e425 Hawaii+oled: chipone fingerprint disable power control
disable power control
modified:   Kbuild
modified:   fpsensor_spi_tee.c

Change-Id: I36b00a5921edd61484c94b4a50b449664ed2e71e
Reviewed-on: https://gerrit.mot.com/2180508
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-27 07:40:54 -06:00
litong20 78d8b6b65c Solve the problem of sending command conflicts
TP:
When sending multiple commands at the same time, the ack signal of
unexpected commands may be read, resulting in command sending errors.

Change-Id: I6f222a20725f5adc1509a01bd29f972c3171e56d
Reviewed-on: https://gerrit.mot.com/2178632
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-01-26 05:17:02 -06:00
wingte48 e46c52f6ad rhodec: fix compile error for ILI7807S
Modify:
-solve compilation problems for txd ili7807s.

Change-Id: I3a63403d21260fc006ff9e7e2a5bab78dc47c7e4
Reviewed-on: https://gerrit.mot.com/2177057
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-23 19:42:34 -06:00
wingte49 87f429da74 rhodec:Bringup touch TXD ILI7807S
Modify:
- Add the configuration for txd ili7807s.
- Change the ic name to ilitek_txd for CQA test.

Change-Id: I61ebc4ea91dbb0e016589ff3938a31f727514144
Reviewed-on: https://gerrit.mot.com/2176648
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
2022-01-21 20:28:14 -06:00
zhuwg1 61d1a82e00 Use of_ API to parse gpio pin number
TP:
Use of_ API to parse gpio pin number.

Change-Id: I82fb037012135c430c0de5610638f99bfa58b844
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176491
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-01-21 06:58:20 -06:00
zhuwg1 356930680f Fix parade tma5xx touch driver compiling error
TP:
Fix parade tma5xx touch driver compiling error.

Change-Id: I3ec84668c807165b3d68eafeefe7a696c1044cd1
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176441
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-01-21 06:58:12 -06:00
zhuwg1 16d4bd3fea Add initial parade touch driver code
TP:
Add initial parade touch driver code.

Change-Id: I0d6e738825b030313b92a32e60b4849f8fdb4333
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176412
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-01-21 06:58:01 -06:00
chenlj2 fde09f4c60 DLKM/fps:optimise focal driver
focal
modify event interface to send screen status

Change-Id: I85243ca523276e1bd53ca89807078aae3d1aaf8b
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2173256
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-01-19 00:19:19 -06:00
tinno18 ea0570ad0a HAWAO+OLED: chipone fingerprint modify the power-on sequence
Used to fix the failure of the probabilistic startup identification module

Change-Id: Id37309cd0e2e448e4989cea8ae098cd36d47e889
modified:   fpsensor_spi_tee.c
Reviewed-on: https://gerrit.mot.com/2172960
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-18 03:56:51 -06:00
liujian24 6fadca094d ibiza:disable power control for chipone FPS
WHY:Makefile is wrong and enables power control for all products
WHAT:Modify makefile to enable power control only on Hawao

Change-Id: If50e4154c0baf80be6bc30744d98a4bc7270ecce
Reviewed-on: https://gerrit.mot.com/2171657
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-17 02:21:06 -06:00
wangyq13 d08495df99 input: goodix_v1510: fix irq wake disable unbalanced issue
- make irq wake enable and disable match, fix unbalanced issue
- port https://gerrit.mot.com/#/c/2158726/, increase i2c try times
- port goodix latest 1.5.2 version, sync input event when suspend.

Change-Id: I6e5639356db18e37698ff0b6e8101e5b4a724143
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2169342
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-01-14 01:02:03 -06:00
Yan Zhang a67332ded1 : Support screen callback thru panel notification
focal fingerprint module:
Support screen callback thru panel notification for qcom sm2020
platform.



Change-Id: Ic5fe044351468da2ff528da009d18d4dcacd4e8a
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2169268
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-01-13 22:31:39 -06:00
Yan Zhang 597372804c use correct macro for FOD
use correct macro for Egis FOD

Change-Id: Idd6b2a2ae05cdf99025bbfe2aa19f56fa26c43e3
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2169272
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-01-13 04:03:06 -06:00
wingte50 42d008cccb FPS: Modify the power-on sequence for focaltech
After the VDD is powered on for more than 1ms ,
The RST is powered on

Change-Id: I7c49dc6cbaab0a9dee0ae8642a9de13db971f51b
Reviewed-on: https://gerrit.mot.com/2167042
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <leiyun@wingtech.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-01-11 21:27:22 -06:00
liujian24 65c4f350b2 Hawao:Enable power gpio for Chipone FPS
WHY:FPS sensor will be overheating due to impact damage to FPS
WHAT:Enable power gpio in Chipone FPS driver so that it can disable power
     when overheating.

Change-Id: Ie32e69870cbcc53f6fafd97ac0068f79b66afbaf
Reviewed-on: https://gerrit.mot.com/2166844
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-10 21:28:34 -06:00
chenlj2 842041e75d DLKM/fps:add build control for focal
add build control for focal
support DRM screen status interface

Change-Id: I9a5ead1b52a2a287785cf0db38cceeb08c206623
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2163372
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-01-09 20:26:12 -06:00
litong20 d803d067a0 goodix: Open the touch esd check function
TP:
1. Open the esd check function,when the touch IC dies, it can be
restored to normal by hardware reset.
2. Increase the delay between the stylus command and the clock to
prevent the IC from hanging up.

Change-Id: I20617d63c0d53d60d1100b9eb26182096c657b16
Reviewed-on: https://gerrit.mot.com/2164520
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-01-07 00:34:15 -06:00
chenlj2 c97446a89b DLKM/fps:optimise screen status interface for focal
kernel version >= 4.19&DRM panel used
screen notify interface change

Change-Id: I8a5785931902e2378beab32961999cc880a1c1af
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2162012
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-01-05 22:51:09 -06:00
litong20 8487ee8e40 lock mode switching operations for thread synchronization.
TP:
Lock mode switching operations for thread synchronization
to prevent conflicts.

Change-Id: Ia7158b29bb697187e0b326aeb8ea5adbf582dc12
Reviewed-on: https://gerrit.mot.com/2160991
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-01-05 03:48:59 -06:00
Yan Zhang b6a130bde1 dlkm:Update rbs driver for FOD
Move delay to hal for better performance.


Change-Id: I0e208047b9d0be8c016929d67d1486ecf5e9d9d5
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2161172
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-01-04 20:37:55 -06:00
hujing3 60c5552188 focaltech_v3_mmi:add touchscreen mmi to improve FW logic
focaltech_v3_mmi:
add touchscreen mmi to improve FW download process

Change-Id: I12b76c2644403d14ead207687c028d3ab2beb321
Reviewed-on: https://gerrit.mot.com/2159432
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-01-03 20:03:11 -06:00
litong20 4eceb69f09 goodix: Modify the report rate command.
00 00 05 C1 00 C6 00//exit period report
00 00 05 C1 02 C8 00//480Hz
00 00 05 C1 03 C9 00//576Hz

Change-Id: I07b03820a05636488935f0955ca3a4c7298d5371
Reviewed-on: https://gerrit.mot.com/2159224
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-12-31 02:01:26 -06:00
litong20 ce42066416 Increase the number of I2C retries.
TP:
When the screen is off, the TP driver starts to read gesture events
after receiving the interrupt.But I2C bus is still in the suspended
state, so gesture events cannot be read out.

geni_i2c_xfer System suspended
[GTP-INF][goodix_i2c_read:82] I2c read retry[1]:0x10308
geni_i2c_xfer System suspended
[GTP-INF][goodix_i2c_read:82] I2c read retry[2]:0x10308
[GTP-ERR][goodix_i2c_read:87] I2c read failed,dev:5d,reg:10308,size:26
[GTP-ERR][gsx_gesture_ist:236] failed get gesture data





Change-Id: If3ebbc4b65829def142835c51816b70e0a474865
Reviewed-on: https://gerrit.mot.com/2158726
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-30 05:44:22 -06:00
dengwei1 ccab9caec6 dubai: input touch add wait pm
input
add wait

Change-Id: I2d3fa46630cd5cd54c3f35872f1fd012e95a5e9a
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2157954
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-30 03:08:00 -06:00
Yan Zhang 3d1cecc323 Change to mdelay for power up delay
FOD will turn on/off frequently, msleep will take longer delay than
 expected, use mdelay to optimize the power up time.

Change-Id: I9c4d23f0c3b98713eeee7bb1393106ebac507af4
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2157879
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-29 23:49:12 -06:00
chenlj2 3775caaa65 DLKM/fps:optimise power ctl for focal
optimise log process
Enable ff_device_control_reset

Change-Id: Ibb899cd1bfa22acd42066ec9368b9312afe4d273
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2156913
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-12-29 04:18:30 -06:00
bchhq23 de31178d74 rhodep:open charger mode;
kernel/tp:
	open charger mode;
	wait probe is ok that send cmd;

Change-Id: I186884262858227efdfcd5a6588b70e4414b1556
Signed-off-by: bchhq23 <bchhq23@motorola.com>
Reviewed-on: https://gerrit.mot.com/2153152
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2021-12-28 23:07:04 -06:00
Yan Zhang 565cf7a3ab Update Goodix TP FOD event implementation
1. Update FOD gesture trigger in screen off mode.
2. Add FOD event support in screen on mode

Change-Id: I7ecbfdb4aff8eaf34e88247d91d08279edd018a6
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2152070
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-23 03:06:05 -06:00
dengwei1 868e8bde39 dubai: input touch add gki support
add
gki

Change-Id: I84ee20f77b4665c20e0f09b3180be5ecffb8b90f
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2152515
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-22 20:01:02 -06:00
litong20 2d3b0cbc54 goodix: Solve cpu_latency_qos_add_request called warning
TP:
WARNING cpu_latency_qos_add_request called for already added request

Change-Id: If99edff041cfeb57c45d9f6e2119ad24bf35f3ab
Reviewed-on: https://gerrit.mot.com/2147984
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-22 00:45:32 -06:00
wangyq13 df08fa99ef input: goodix_v1510: add charging and gtp-tools node
- Add charging detection function
- Add gtp-tools node for cqa test
- Remove software esd check for touch, touch firmware itself to recover

Change-Id: Id3b398f302370baddf56b5973813d5a09591460e
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2150842
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-21 23:51:35 -06:00
litong20 c042d862af Do not re-enable the stylus when the stylus mode is switched
TP:
  When exiting the stylus mode, the IC will send an abnormal reset
interrupt. At this time, the stylus will be enabled again,
but because the stylus clock is closed, the touch will not work.

Change-Id: Id1b393de2b2bee5b06e9d4f5b74dfd301be4547d
Reviewed-on: https://gerrit.mot.com/2150837
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-21 19:46:47 -06:00
litong20 0c96a30306 Disable irq before entering gesture mode and IC resetting.
TP:
Disable interrupt before entering gesture mode and IC resetting.


Change-Id: I056458b7b405c1ba46f27eda9754c9d64eeeaef0
Reviewed-on: https://gerrit.mot.com/2149576
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 19:45:37 -06:00
wangyq13 28a097c665 input: goodix_v1510: enable single tap function
goodix_v1510:
Enable single tap function.

Change-Id: I783f8ca04efd73354f0b10c2e4e13add6721cc96
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2146428
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2021-12-20 03:17:46 -06:00
litong20 4710e99d3f Support resend stylus cmd after abnormal resetting.
TP:
Support resend stylus command after abnormal resetting.

Change-Id: I9cd2885988f92ca8d50b96f2b5c7569439e277b2
Reviewed-on: https://gerrit.mot.com/2147994
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 02:36:43 -06:00
litong20 95429c472f Record and restore the value of the mode
TP:
Record the value of the received mode from system and the value
successfully set to the touch IC.

Change-Id: Ie10f25be6d0d9fe9d21cf385a626496cc9aedfa5
Reviewed-on: https://gerrit.mot.com/2144916
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-20 02:36:31 -06:00
hujing3 cb25448b24 focaltech_v3_mmi: rename .i file to fix potential build error
focaltech_v3_mmi:
rename .i file to fix potential user build error

Change-Id: Ic50f79e7561454f8b9ec0e3511478a3447afbbdf
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144655
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:40:11 -06:00
hujing3 c91d07d34c focaltech_v3_mmi: enable firmware download
focaltech_v3_mmi:
enable firmware download

Change-Id: I579fdf98223ea1c11e437367a0d59505441a0111
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144086
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:40:04 -06:00
hujing3 117ec43d7a focaltech_v3_mmi: add sys touch node & info
focaltech_v3_mmi:
- add sys touchscreen node
- add panel_supplier, ic_ver, buildid, etc.

Change-Id: Iea8b26dcdff548bbcea72e383cf9a27ad4e695ff
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2144085
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:39:55 -06:00
hujing3 5e9d5773e9 module/input:hawao: add focaltech_v3_mmi for i2c flash
hawao: touch driver bringup support
add focaltech_v3_mmi for i2c flash tp

Change-Id: I727109a2ed4d433448cf56097d20ace1d4bc1658
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2142878
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-14 20:39:40 -06:00
dengwei1 63106fe288 dubai: input touch update fw 21120803
update
fw

Change-Id: Ifaa66f935f469c024f023a35ec4df80ddf75a7a8
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2143664
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-14 00:58:47 -06:00
chenlj2 9ee6062664 DLKM/fps:add power ctrl for ets kernel driver
Control gpio switch and regulator of fingerprint according to
the configuration of device node.

Change-Id: I2c581df3a88cf02089f0e8edd9f45ea09715c2e5
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2132820
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-12-14 00:40:17 -06:00
litong20 b75bcbf8cf goodix: support film sensitivity function.
TP:
Support film sensitivity function in RoguePRC project.

Change-Id: I830adb55e9b9b93aef6dc90d757ef9eaf206a2cb
Reviewed-on: https://gerrit.mot.com/2134201
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-10 09:00:15 -06:00
litong20 dae8b800e2 Support report rate switch in RoguePRC
1. If the interpolation mode is disabled, the report rate is the
default 240Hz(Hiphic) or 360Hz(Hiphi)
2. If the interpolation is enabled and the refresh
rate is 144Hz, the reporting rate is 576Hz(Hiphic) 720Hz(Hiphi)
3. At other refresh rate, if the interpolation mode is enabled, the
report rate is 480Hz(Hiphic) 720Hz(Hiphi).

Change-Id: Ibcd6ba61457e5e5f6fd32a6583f5bdcada531fc5
Reviewed-on: https://gerrit.mot.com/2134669
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2021-12-10 08:59:57 -06:00
dengwei1 099f74a3fd dubai: input touch support fod
support
fod

Change-Id: Idcf036159065de4c67388ce0df422ca84e359845
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2139348
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2021-12-09 02:15:54 -06:00
litong20 6a05847226 IC needs to confirm the device within 50ms after power-on
Goodix IC requires device confirm within 50ms after power on.
If this time exceeds 50ms, the i2c firmware will colse the
spi channel, and the spi firmware will close the i2c channel.

Change-Id: I178cea55e280ffb53fca444cdd8ed32905a928c5
Reviewed-on: https://gerrit.mot.com/2133988
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-12-02 23:37:02 -06:00
litong20 154ec7b967 No need to send the suspend command when power off.
When entering the deepsleep state, touch IC will power off,
so there is no need to send the suspend command.

Change-Id: I6b6a3b29eb3b1acee6c72db2b97fdb90710f25bc
Reviewed-on: https://gerrit.mot.com/2134059
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2021-12-02 23:36:49 -06:00