Commit Graph
16 Commits
Author SHA1 Message Date
chenlj2 624b2f87e5 dlkm:optimise report function for pen
revert https://gerrit.mot.com/#/c/2409191/
above submit that cause pen didn't work
optimise report function for kernel panic
add NULL judge

Change-Id: I4ce63ced28120c9b6d22fbdf5a84af2d858ac1b4
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2409699
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-10-20 20:53:29 -05:00
chenlj2 037d1964af dlkm:optimise pen probe & report function
need report pen status after pen is enable
solve kernel panic issue when phone startup sometimes

Change-Id: I8ea796fc71ccdb5853e10e600e2093c9ee3fa3ab
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2409191
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-10-20 01:39:38 -05:00
chenlj2 f11d4657be DLKM/bix:update ets_bix driver
optimise Makefile to solve build issue &remove things
produced by build
complete panel notification to solve build issue

Change-Id: Ia9f3dd04d76a66515f24fb5edbea75910669778e
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2374602
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-08-30 04:34:59 -05:00
chenlj2 1fcdae1a83 DLKM/fpc:optimise build rule for FPC fps driver
remove Macro control,use KBUILD_OPTIONS&KBUILD_CFLAGS
solve issue that sys/class/fingerprint didn't work for
mutil fps

Change-Id: I877cb0c8dc7def47de4d793cd6b11e6ca8d96e85
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2374594
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-08-30 04:34:53 -05:00
chenlj2 ee4421fff0 dlkm:optimise bu250xx bulild rule
solve build error
cp: cannot stat 'out/target/product/genevn/obj/DLKM_OBJ/
motorola/kernel/modules/drivers/misc/pen/bu520xx_pen.ko':
No such file or directory

Change-Id: I0c19135b807a2492cb0144fe4ba26b3053b70c66
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2369677
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-08-24 00:58:41 -05:00
chenlj2 db9606c531 sarsensor:optimise log output for sx9375
Unify the log output of the SAR sensor,At present,
I find that SarSensor has too much log output,
which will affect the startup of Bringup phase.
modify dev_info to LOG_DBG

Change-Id: I35331976db7d0dfb0694f472649b7e09a42a6cc2
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2367671
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-08-21 22:27:36 -05: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
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
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
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
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
chenlj2 709e461604 DLKM/sar:optimise sx9375 driver on bo
-optimise log output
-add register_read store function

Change-Id: Idfe5cf70f23f68fb3c87a2376c5b4da68f503018
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2090589
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Nan Wu <wunan3@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-10-15 03:37:15 -05:00
chenlj2 fdf039ac31 DLKM/Sar:remove CONFIG_CAPSENSE_CONTROL_VDD for borneo NA
-revert https://gerrit.mot.com/#/c/1718145/
-the power supply of Sar sensor need to be always on

Change-Id: I3106922212b0286146b7119f23b4b4c95b7ec62a
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1720921
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2020-08-13 00:52:27 -05:00
chenlj2 6cb005d0f4 DLKM:modify capsensor_enable_flag_t enum for abov
abov chip works abmormal in Qsensortest APK
branch:bo

Change-Id: I66a1bdef56162c46e4c5fa094394e15cd4f88d47
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1718306
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2020-08-12 03:06:12 -05:00
chenlj2 6bcd3fe49e DLKM:control VDD off when sar sensor is off
It's used to save power.
It's only used on Borneo NA

Change-Id: I2aa60149f0a362dc29fc0eded5c509a9fd4ddc7c
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1718145
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2020-08-10 02:26:39 -05:00
chenlj2 3ab651e580 DLKM/sar:optimise process of sar to support 4 channels
compatible with 3 and 2 channels
support 4 channels only in borneo
the sar chip default support 3 or 2 channels

Change-Id: I0a594fe18ebff2679b0ada26646f44b50afce67f
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1640530
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
2020-06-24 04:43:59 -05:00