Commit graph

2,702 commits

Author SHA1 Message Date
wangyq13
ea3b49903d input: ili9882_mmi: add passive pen support
ili9882_mmi:
Add passive pen support.

Change-Id: I048a88e457c92430c6ab790a6bd2642696148d20
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2387042
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-09-23 03:36:48 -05:00
xuxj12
32040dee63 add property voltage_ocv
voltage_ocv is not support on this FG, but tcmd test need it, add this
property and retrun voltage_now instead

Change-Id: Iae588f9f0093ddd4eea77e2a173117d4f64a1b04
Signed-off-by: xuxj12 <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2389294
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-09-22 05:37:20 -05:00
Konstantin Makariev
64eb133992 drv8424_mmi: power up/down slider handling
Objective is to bring the slider down to COMPACT position on power
up and power down.

If slider is not in COMPACT position at power up driver will attemp
to determine its position and required direction to move it to
COMPACT based on data reported by sensors.

If slider is not in COMPACT position at power down driver won't rely
on sensors data since there is no mechanism guaranteeing that SPLI
core and sensors HAL will remaing running until slider gets to
COMPACT position. Thus entirely based on pre-defined sequence
assigned to the current position at power down.

Change-Id: Iba679c7254df5edfc061baddd3e565a5d2939a19
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2383456
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-09-21 10:20:27 -05:00
wuchao13
b56313339a distinguish haptic feedback by four different driver strength
Aw8695 add four level driver strength when set different duration time and wave sequence.
Product can use this feature depending on AW8965_VIBRATOR_SHORT_WAV_ENABLE.

Change-Id: Id20acb5497cfc7ca46911771c39f514b0cf23af4
Signed-off-by: wuchao13 <wuchao13@motorola.com>
Reviewed-on: https://gerrit.mot.com/2386882
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xinmin Fu <fuxm1@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2022-09-21 04:19:21 -05:00
Wenge Zhu
111a18c9eb Add gesture mode support for focaltech touch
Add single tap and double tap gestures support for focaltech touch IC,
gesture type receives from touch mmi class.

Change-Id: Ib67d221eff3217b46f9b423b84426ef44f774826
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2384855
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-09-16 02:28:09 -05:00
Wenge Zhu
626a5f4fda Add CLI touch gesture support on mmi touch screen class
1.Add cli_gesture sysfs node on mmi touch screen class,use this node to
notify which gesture type that user set.
2.Create another tap sensor named s-dt-gesture,use it to report CLI
touch gesture events.

Change-Id: I9e954a00a2a5f37ff54be08d99c0b904516a57b7
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2381634
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-09-16 02:28:06 -05:00
xuxj12
39adeee7ac fix crashed at bm_ulog_print_log
addr of bmdev->debug_enabled should be checked if it is NULL, or it
may cause NULL pointer kernel panic

Change-Id: I31273f9b0144e25fa7eac3ef4eca34a07c0cae70
Signed-off-by: xuxj12 <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2383945
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Submit-Approved: Jira Key
2022-09-15 03:49:46 -05:00
Deng Wei
211f920180 tundra: input touch update gesture cmd
input touch
update gesture cmd

Change-Id: I99ee2312827b4bde99bf9329765b752f1d69a171
Signed-off-by: Deng Wei <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2384497
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-09-15 00:08:12 -05:00
Jun Weng
9871df447c bronco: dlkm: Enable touch report rate switch feature
- Enable touch report rate switch feature for bronco,
default report rate is 240HZ and high report rate is 360HZ.

Change-Id: I9477d240466678dacc913b3741751e0c275986e5
Signed-off-by: Jun Weng <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2383865
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2022-09-14 20:30:18 -05:00
hq_caoqunhui_tmp
99431cfb5f input: focaltech_0flash_v2_mmi: add initial pinctrl feature support
Modify:
	Add focaltech_0flash_v2_mmi touchscreen driver support for pinctrl.

Change-Id: Id8bf827db59cf064a174b0dae90742c53fa9c120
Reviewed-on: https://gerrit.mot.com/2380648
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-09-09 02:12:25 -05:00
wangyq13
4741f3e7a1 input: ili9882_mmi: add initial mmi support
ili9882_mmi:
Add initial touchscreen mmi support for ili9882 driver.

Change-Id: I6f6ee969f7a25e861d9fb3ac924e9ab59a7024fc
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2380369
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-09-09 00:49:08 -05:00
Wenge Zhu
a0ecf91075 Make compatible for another pinctrl name
Because pinctrl names are same with another touch driver and GPIO pin
numners are not same,so make compatible for another pinctrl name.

Change-Id: I42ad2a1f39f108384ee64585b24c5855a34f59e7
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2379912
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-09-07 05:42:01 -05:00
Konstantin Makariev
e8ee2bd612 drv8424_mmi: add max pps interface
Added sysfs interface to set max PPS for FULL and PROLONGED
sequences. Also max PPS for 2.8 pitch has changed to 1800

Change-Id: I76d6a000f9b99c30727916368df940dd5ab163fe
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2377673
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sridhar Vashist <svashist@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-09-06 14:14:18 -05:00
Xiaojun Lv
3bae2782e9 input: genevn: optimize ili7807s driver for kernel 5.10
input:
(1)optimize ili7807s driver for kernek 5.10

Change-Id: If3c0b9644f5df5dc5c3c6c8a5469249c97becf53
Reviewed-on: https://gerrit.mot.com/2376968
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-09-05 03:11:17 -05:00
weiweij
eb3010b876 WLC: change 50w dock fan speed to 4000 round/s
As HW requirement, 50W dock fan speed should be 4000 r/s. Or
there will be some problem for noisy or structure stability.

Change-Id: Ifd686225940fd37e313f5a7eeb2912c4d35768d5
Reviewed-on: https://gerrit.mot.com/2376077
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Wei <weiweij@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-09-02 00:44:06 -05:00
Wenge Zhu
4fb1fad5ba Fix FocalTech driver build error when use GKI2.0
GKI2.0 doens't allow to export kernel_read and kernel_write api,
so we get the firmware and ini config file via request_firmware() and
write test result via procfs node.

Change-Id: I7fdfa40f454a6fcb9ce69d0e4a9cd1b7caf9a62b
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2375413
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-09-01 22:57:36 -05:00
Konstantin Makariev
ef350cb89f drv8424_mmi: handling corner cases
Added handling for the following operations whether they time out
or come short, e.g. incomplete in some way or another:
 1) initial position detection and transition to known
    position if necessary
 2) transition from one known position to another

In case (1) when initial position cannot be determined, enforce
withdrawal to COMPACT.
In case (2) when destination position is not reached at the end of
transition sequence, keep driving with max torque. Panic if high
torque transition recovery fails to allow for traces collection

Change-Id: I990888baa2f14919793934eb5dbf9d255d2e5c20
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2374097
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sridhar Vashist <svashist@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-09-01 14:49:53 -05:00
[A
243b09b090 18W charging set sgm4154x iindpm comp 100mA
Modify:
	18W charging set sgm4154x iindpm comp 100mA

Change-Id: I06cfb2e202cc0c84d7eda44abfe93ad2a42f8942
Signed-off-by: <hq114@motorola.com>
Reviewed-on: https://gerrit.mot.com/2375935
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-09-01 00:53:40 -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
chenglong1
e82c409b2b WL2868C: Disable all regulators before shutdown.
Since some platforms don't have BOB power supply, if no BOB power
source, the BOB on schematic is stands for connecting directly to battery.
Most of WL286xC chip selects BOB as input power supply for LDO2~LDO7,
when software doesn't have shutdown handler, LD02~7's input power supply
is always there, there will be high risk of current leakage after phone power
off, so force disable all ldos before phone power off.

Change-Id: I576ae332befd8285896c1373262cfb464f8e0402
Signed-off-by: chenglong1 <chenglong1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2373662
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Pengfei Qiao <qiaopf1@motorola.com>
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-08-30 01:18:11 -05:00
[A
8b30a0a818 sc89890h charger ic factory mode close ico
Modify:
	factory mode close ico

Change-Id: I3e8b3de62820074534f4829306f91a9cd7ac8c34
Signed-off-by: <hq114@motorola.com>
Reviewed-on: https://gerrit.mot.com/2372989
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-08-30 01:14:44 -05:00
Xiaojun Lv
dc6b2a00e6 input: genevn: optimize nt36673c driver for kernel 5.10
TP:
(1)optimize nt36672c driver for kernek 5.10
(2)use panel event notifications

Change-Id: I48a0b5c49430cbb1bcceb05384aec6cddeb3a795
Reviewed-on: https://gerrit.mot.com/2372923
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-08-29 06:51:06 -05:00
Haijian Ma
0fdaeba9c7 charging: change PM mechanism
change PM notify mechanism to device PM
for increase device resume rate

Change-Id: Ief97148e4fe84fcfec6792687ca7b2b5972fc735
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2371974
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-08-28 21:46:43 -05:00
liujian24
03a179188c Pnangn:FPS bringup on Pnangn mainline
Bringup FPS on Penang NA mainline.
Add chipone driver code change.

Change-Id: I11e70347f659bfa46756049ce65ad23e78ffffd1
Reviewed-on: https://gerrit.mot.com/2372073
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-08-26 01:22:09 -05:00
Konstantin Makariev
6b1eef402a fixup! (CR) drv8424_mmi: motor slippage recovery
Fixing missed condition for running in no sensors mode

Mot-CRs-fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I2b7bb40a38c432f301d4b1a3a3742bb0d26cfafb
Reviewed-on: https://gerrit.mot.com/2371667
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-25 16:20:32 -05:00
Konstantin Makariev
6b1f9f94b2 drv8424_mmi: motor slippage recovery
Setting time out for a transition creates a noticible delay between
end of sequence and necessary corrective action. Instead driver will
maintain a flag to indicate whether position was properly detected
based on sensors data or not. Corrective action will follow
immediately upon sequence ends and flag still indicates that position
was not detected.

Change-Id: I894f7c0638760c79dc0780a42f46bda6aadc63c9
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2367357
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-24 16:52:57 -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
weiweij
3291622632 wlc:add feature supporting for Moto 50W dock in WLC driver
The feature of Moto 50w dock requests some file points from wlc driver,
so we should impleamnt them.

Change-Id: I265756f9dd2c4ab06b8114641513c1013b42dd54
Reviewed-on: https://gerrit.mot.com/2355232
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-08-23 21:00:19 -05:00
Haijian Ma
84e1e10a9b Revert "(CR): charging: add icl*vbus to report power max"
As qc2.0 detected process will increase vbus to 9V, so
icl*vbus=13.5W,so it will report turbo in detected process.
So revet it.

Mot-CRs-Fixed:(CR)

This reverts commit f348d14e72872565376b1b4ad2138f15738c4c14.

Change-Id: Ib643f2759fca7139fea4325a40f92b96a0b46b6f
Reviewed-on: https://gerrit.mot.com/2367716
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-08-22 05:28:37 -05:00
Haijian Ma
43becf6677 Revert "(CR): modules: vision station WHITE MASK test failed"
As qc2.0 detected process will increase vbus to 9V, so
icl*vbus=13.5W, so it will report turbo charger in detected
process, so revert it.

Mot-CRs-Fixed:(CR)

This reverts commit 8c22d82f275e606fd1e508181265cf5e05a665fe.

Change-Id: I0a553d2118df5da06dc339c110f1c5d5da435334
Reviewed-on: https://gerrit.mot.com/2367715
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-08-22 05:28:30 -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
Konstantin Makariev
0287d1a6e0 fixup! (CR) goodix_berlin_mmi: active touch area feature
Fix use of uninitialized environment variable

Mot-CRs-fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I86231e6ce1b988db7c65a14a905f7d86ee00953d
Reviewed-on: https://gerrit.mot.com/2364453
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-16 13:28:18 -05:00
Yonghua Yan
c1d23c2a08 Skip BM ulog request if bm debug is disabled
Skip BM ulog request if bm ulog debug is disabled
to avoid adsp glink request race with other adsp glink clients
l(CR) qti_battery_charger and qti_glink_charger.

Change-Id: I97d2b6bac91b06a8434f0424a602936f0ce1e971
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2362826
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-16 07:35:55 -05:00
Wenge Zhu
d45b34be1e Support normal mode switch corner suppression level
Normal mode:
In case corner area mistake touch when phone is on horizontal screen
state,when phone rotate left or right,FrameWork will send rotation and
corner suppression level, then driver will send switch command to
IC,Firmware will disable corner area touch according to its own logic.

Change-Id: Ib6864cf2a8027beea2066c41e2441359f52d20e4
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2363420
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-16 05:13:23 -05:00
Ping Xiao
31ad034f3e Power: Add /proc/wakeup_sources for Battery Tracer
Because /sys/kernel/debug will not be mounted on user build release,
it's hard to debug power issues due to the lack of wakeup_sources
system file node which is used by Battery Tracer.

Add /proc/wakeup_sources for Battery Tracer to use

Change-Id: I5b6774a25cda4d6344fbe266e8effb53f478edd7
Reviewed-on: https://gerrit.mot.com/2361839
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-15 04:55:44 -05:00
hqjiangy
1c3022555b TP wake up of gesture fix
TP wake up of gesture fix
four and five of tp bsp

Change-Id: I27b4bbe54e0d37bef95e68a8c0c52a7b1606cd53
Signed-off-by: hqjiangy <hqjiangy@motorola.com>
Reviewed-on: https://gerrit.mot.com/2361488
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-08-12 02:31:30 -05:00
Konstantin Makariev
33dad69b53 drv8424_mmi: updated and new features
This change includes the following changes:
 1) Timed out position detection and motor operation
 2) Run time configurable: proximity, pitch and sensing

Timed out position detection will initiate transition to compact
assiming it starts at extended position.

Incomplete motor operations will be followed by recovery attempt.
Failed operation will be repeated as part of recovery

Change-Id: I51a7011d2c9c46955b48e8f9d6bfb4bb367e2042
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2357537
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-11 17:24:51 -05:00
Konstantin Makariev
6c77e4e403 goodix_berlin_mmi: active touch area feature
Added support for active touch area. This feature utilized by
Rollable HAL in Felix. Goodix calls this feature display modes.
Currently supports 5 modes that correspods to primary, rear and
full touch active regions in different slider positions

Change-Id: I0535c1a8c80947452bc20b92feded4d71b8a1905
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2360061
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-11 17:24:46 -05:00
Wenge Zhu
a69a9b5793 Fix noise test case fail of factory test
Fix noise test case fail of factory test,still go on noise testing when
noise data check sum error.

Change-Id: I58fb65cb568758c250f7bcbf5ca7f7339ab2ac4a
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2360618
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-11 06:25:54 -05:00
Wenge Zhu
5e12356bb3 Support FocalTech touch noise test point by point
TP:
Support FocalTech touch noise test point by point.

Change-Id: I59e03a8efd465e1a3f8b39c9a44297357156ef2c
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2360247
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-11 03:55:17 -05:00
[A
8eea710880 charge ic sc89890 set ico,common baseline code
charge ic set ico
common baseline code
Change-Id: I2be5cfaa9bfb75aaf689b06c2568d5607b28c86e
Signed-off-by: <hq114@motorola.com>
Reviewed-on: https://gerrit.mot.com/2360334
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-08-11 03:13:13 -05:00
Wenge Zhu
23f004fe4c Enable touch report rate switch feature
Enable touch report rate switch feature for rtwo,
default report rate is 240HZ and high report rate is 360HZ.

Change-Id: Ia4c95d9506a5f1526307b3411d368a4483505651
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2358173
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-09 06:40:31 -05:00
Konstantin Makariev
2e7767e577 fixup! (CR) drv8424_mmi: adjust motor sequences
Last stage in 2.3 pitch devices should be at 1700 PPS

Mot-CRs-fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I5551e8c76ffc281643d5db586a5505746a386cfb
Reviewed-on: https://gerrit.mot.com/2357541
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-08 15:59:22 -05:00
Wenge Zhu
c80c0c5721 Fix FocalTech_V3 touch driver build error
TP:
Fix FocalTech_V3 touch driver build error.

Change-Id: I69cb3cc5677340797de9f964d7072b9bc0ac92b7
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2356328
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-08 07:42:28 -05:00
dengwei1
ab7f640f2e penang: input touch add gki for focaltech
add gki
for focal

Change-Id: I2d33c51380579b19371a0670871f15ec1171fce7
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2355210
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-08-05 01:28:09 -05:00
Konstantin Makariev
a300a7c16f drv8424_mmi: adjust motor sequences
Fine motor stepping sequences tuning based on closed unit

Change-Id: Iddba5b7a5c7e52c993c16a51fa9e7ed503f2c52f
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2353560
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-08-04 16:23:26 -05:00
Xiaojun Lv
c5e1846613 Android.mk: add parrot build options for geneva row
mk:
add parrot build options for geneva row

Change-Id: I236e3661b3a923481c22afc1ee1be433708cf5c7
Reviewed-on: https://gerrit.mot.com/2354169
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-08-04 04:55:29 -05:00
Wenge Zhu
d5d96acec4 Decrease the log of register panel notifier
Decrease the log of register panel notifier and print the log every
1s when not find matched display panel.

Change-Id: Iab2f4f7accc4bc9de5722e2d0f03255ad6b764e9
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2354041
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-08-04 03:42:04 -05:00
Wenge Zhu
9910ab9139 Remove unused send touch IC config
1.There is no need to send IC config,this func is a workaround way for old
goodix touch IC to upgrade config again after upgrade touch firmware.
2.Also this func will load config to ram when driver loaded,affecting
touch firmware update.

Change-Id: Icce7a8d57090305231e7f69b2150715578299896
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2352764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-08-03 08:44:49 -05:00