Commit graph

2,807 commits

Author SHA1 Message Date
Andy White
1b047e88bc haptic_hv: Select waveform based on duration
If seq <= 2 and duration <= 100, select a waveform based on ranges
defined in the devicetree. There are three ranges, from smallest
duration to largest, corresponding to waveforms 3, 5, and 1,
respectively.

Change-Id: Iaa83fb9d54c02ef9d13fd0ecb8dbfbd6753390df
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2462031
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2022-12-14 14:46:12 -06:00
Andy White
c890634342 Reset to default waveform after vibration
After any vibration, reset the waveform to the default index
of 1. This ensures that the vibe state is always consistent.

Change-Id: I7821d7cb0abd57a4b0d0cf1d7315c6b67de58a92
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2452957
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2022-12-14 14:42:58 -06:00
chenlj2
82f4ce1c50 dlkm/fps:optimise screen status interface control
the modification is for egis fps
old screen status interface didn't work in kernel 5.10
poweroff when fps was borken

Change-Id: I67656f803513e2cce44bb516b19b36380b7abb7f
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2459719
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2022-12-14 00:16:37 -06:00
Wenge Zhu
c0c897536b Build ztw622 as a DLKM module
TP:
Build ztw622 as a DLKM module.

Change-Id: Iaf73ee8b6d45882d6c122f4bc5164b320e420acb
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2455380
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-12-13 20:39:48 -06:00
Wenge Zhu
ea864c6693 Add initial source code of ztw622 touch driver
TP:
Add Initial source code of zinitix ztw622 touch driver.

Change-Id: Iefc1d2dd6b8e375b470cbbb55e82b94dfa26008a
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2453796
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-13 20:39:40 -06:00
Konstantin Makariev
b70af6472a drv8424_mmi: motor overshoot handling
Transition to COMPACT position in sensors driver scenaRiveright cause
the slider going beyond 3.5 degrees threshold failing position
detection and causing motor faulty state enforced. In this case, it
seems better approach to allow the slider to move all the way to
either EXTENDED or PEEK positions to keep internal state machine
intact

Change-Id: I38425d2ab35e67eb49bb059e6fcee3dee07c394f
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2453110
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-12-12 20:00:55 -06:00
Wenge Zhu
59ccefeb4b Support goodix touch under water detection
TP:
Support goodix touch under water detection.

Change-Id: I8552676ca8b270595c8a99a94efe939ddb8e4802
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2451133
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-06 20:02:23 -06:00
Wenge Zhu
31a13f0565 Support touch under water detection
TP:
Support touch under water detection.

Change-Id: If079e97c34100c54d07d25b9486f32b37d2fcefe
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2434461
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-06 20:01:44 -06:00
Andy White
9c43eb0176 haptic_hv: Prevent sysfs attrs from being destroyed
If the trigger is changed, there's a chance that the new trigger
will provide attributes that conflict with ones that already exist,
destroying them.

By removing the `trigger` attribute, any init script that attempts
to alter the trigger will fail to do so.

Change-Id: I19f58b08706f4592eeefae65f63d82f44373cb55
Reviewed-on: https://gerrit.mot.com/2451742
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2022-12-06 10:39:23 -06:00
Yonghua Yan
6ba7fd6522 Add lpd mitigate driver module
Add lpd mitigate driver module to support lpd policy from
AP side.
Support lpd mitigate mode configuration from AP side in devicetree.
Support lpd mitigation policy taking touch underwater detection
result into account.

Change-Id: I10516534a86d294620631c48127938c314c7659b
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450334
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-06 05:21:07 -06:00
Yonghua Yan
c7dabf3b12 Add LPD device notify support in mmi_relay
Add LPD notify support in mmi_relay.
Add LPD notify event type definition.

Change-Id: Ib2cca69bacb3de8a9321b9df70331cf5471e793e
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450302
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-06 05:20:26 -06:00
Yonghua Yan
582c3f412e Add glink oem command to support lpd mitigate mode
Add glink oem command to support lpd mitigate mode configuration
from AP side.

Change-Id: I505fb86a98f1d2d4e0078fe795d3e304086e8393
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450314
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-12-06 05:20:14 -06:00
Jun Weng
4065100cc9 dlkm: bo: Change the logic of report fod up key
- Per the request of fingerprint team, remove the judgment condition of
touch_num<=0 when reporting the fod up key, this change can prevent
fod up key not being reported because touch_num>0 when fod up key
needs to be reported.

Change-Id: Iacbfc0592cc7944cfa5497560c3fc5e86531cf7d
Signed-off-by: Jun Weng <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450918
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2022-12-05 04:21:26 -06:00
Sridhar Vashist
c304122037 Revert "(CR): haptic_hv: Prevent sysfs attrs from being destroyed"
Revert change as it breaks felix user builds.

This reverts commit b280c749286125393ff0b7d1961d04e6f4c71f49.

Change-Id: I03ec006d6451bd82c90a6f409fe897c362d95691
Reviewed-on: https://gerrit.mot.com/2448629
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Yinjun Chen <a7301c@motorola.com>
Submit-Approved: Yinjun Chen <a7301c@motorola.com>
Tested-by: Yinjun Chen <a7301c@motorola.com>
2022-12-01 14:31:00 -06:00
litong20
a5eafafcdd Enable the charge IC after the detection compelte.
Disable charging if charger input is not ready in case the
charger input current limit does not match the target.

Change-Id: I8bc2a3b10e18c5dd7b034c760731bb04f3c0d4ca
Reviewed-on: https://gerrit.mot.com/2440276
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-12-01 04:36:41 -06:00
[A
a1d1c632e4 Optimize time sequence of usb_therm mos control
Details:
Optimize time sequence of usb_therm mos control

Change-Id: Ib55002ae5a968bd87675230436533d1a708d66e3
Reviewed-on: https://gerrit.mot.com/2447403
Reviewed-by: <hq114@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-12-01 03:17:22 -06:00
jixj
2393e1a657 utag: Enlarge buffer size to fill full workqueue name
The workqueue actual name is "config_load" and "config_store" and they
are over 10 characters hence name is truncated to 10 characters.

Change-Id: Ie9e4fea1b42df337710d00ee5af0dfa21453f50e
Reviewed-on: https://gerrit.mot.com/2446612
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2022-11-30 19:39:56 -06:00
litong20
77f7c23afb fix wired charging error online logic
Only when wireless charging is used, re-judgment whether it is online
or not. but wired charging maintains the previous online status.

Change-Id: I01b2074f496867237fc733645a088329e5432818
Reviewed-on: https://gerrit.mot.com/2442366
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-11-27 23:57:30 -06:00
Lei Chen
5b1ad1966c usb_therm: add usb_therm toggle mosfet
For penang japan, the charging should stop as the usb_therm is
too high. Thermal control the mosfet to disable charging.

Change-Id: I2855665e56c0edd26f0bc1150321bcf6da808948
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2414069
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-11-25 00:15:44 -06:00
wangyq13
a57d3b2149 input: ili9882_mmi: remove unused netlink codes
ili9882_mmi:
Removed unused netlink codes, fix vts test fail.

Change-Id: I2b4734252a8dff2bf783201f96acf3d24c75c03a
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2438674
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <lvxj4@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-23 23:58:12 -06:00
litong20
295d99566c cancel the work befor scheduling.
sgm4154x:
cancel the work befor scheduling.

Change-Id: Ia27360757b1fd06cf2f15c23debd7c41b63951d9
Reviewed-on: https://gerrit.mot.com/2437359
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-11-23 21:26:52 -06:00
Xiaojun Lv
ccaf3c7f3c input: optimize nt36672c touch spi timing
input:
modify nt36672c CS Hold Time to meet spec requirement.

Change-Id: I9f24cee977f70fab7dec22e11cb6d71c4a1b61cc
Reviewed-on: https://gerrit.mot.com/2435678
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-11-23 05:19:51 -06:00
miaoyi
8e73aacdfa qti_glink_charger: support cps4019
Add flag when using wls_cps 4019,
make sure program can be compiled

Change-Id: Ice6722555d09e6e186132401b386d5f2f8b292f0
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2430837
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-23 05:09:27 -06:00
miaoyi
30383a2f6b qti_qlink_charger: support cps4019
Modify defination of dump_info,
and delete information of pen when using cps4019

Change-Id: I0c4859429c194aa07bfb5cc1ec960dba3ae48fa1
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2431797
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-23 05:08:50 -06:00
Haijian Ma
79b2806d70 fg: don't get battery info when fg run into boot mode
We find one unit fuel gauge run into boot mode by itself. So can't
get battery info from FG. Now we want to reset FG when detect FG in
boot mode.

Change-Id: Id1ebb4fa3774c7de2da3e23a9c175f80e793e496
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2434720
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-23 00:25:58 -06:00
[A
8306c97959 optimize IR comp for 2nd chg ic
Details:
optimize IR comp for 2nd chg ic

Change-Id: I8a55c4bc7eb0e66bb857c51a353049700b7ecdb5
Reviewed-on: https://gerrit.mot.com/2435597
Reviewed-by: <hq114@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-11-22 04:10:54 -06:00
[A
077c1d050a optimize IR comp for 2nd chg ic
Details:
optimize IR comp for 2nd chg ic

Change-Id: I1d1fde7b7e10ac3ba5a8bab67cd827a8b36c961b
Reviewed-on: https://gerrit.mot.com/2433431
Reviewed-by: <hq114@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-11-18 04:30:31 -06:00
Xiaojun Lv
fc6ed50514 genevn: optimize the process of ili7807s touch sending stylus cmd
tp:
According to fae's advice, add 20ms delay to fix the probabilistic failure of sending the stylus cmd after the firmware upgrade

Change-Id: I1eaf25d91556534c0d3f6fa8825e2e498a5facfa
Reviewed-on: https://gerrit.mot.com/2428503
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: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-15 02:28:30 -06:00
lbh
95c8cf02a3 pnangn:2nd charger sc8989 ICL3A set to 0x3a
2nd main chager sc8989 set icl 3a to 0x3f = 3.25A

should set icl 3a to 0x3a = 3A

Change-Id: I2e711a1f124120c1ae030c066486221ca6d813ec
Reviewed-on: https://gerrit.mot.com/2427490
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-14 21:48:05 -06:00
litong20
58ad7de68c fixed unused variable 'batt_curr' error.
cw2217b:
delete unused variable 'batt_curr'.

Change-Id: I4e463cffa73248fd15cfcf3c44c2f2340d15672b
Reviewed-on: https://gerrit.mot.com/2429659
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-14 20:21:33 -06:00
Xiaojun Lv
f5183a2b11 genevn: make macro GET_TS_DATA effective(dev) effecitve in touch
tp:
Modify ili7807s touch driver code to make macro "#define GET_TS_DATA(dev)" effecituve.

Change-Id: Ie8cdb8b961c069dfef0ddd77b5b9c9103ccd0b84
Reviewed-on: https://gerrit.mot.com/2429205
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-11-14 19:50:15 -06:00
Andy White
aff1cd0bc3 haptic_hv: Add HAL compatility
Add alternative 'activate_store' and 'seq_store' functions to allow
existing HAL to properly interact with the haptic_hv driver.

NOTE: This commit does not add compatible RTP playback support

Change-Id: I9b94219d16ada7532de359acd80065a1743a435a
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425277
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2022-11-14 10:16:38 -06:00
Andy White
dfd72aa13f haptic_hv: Prevent sysfs attrs from being destroyed
If the trigger is changed, there's a chance that the new trigger
will provide attributes that conflict with ones that already exist,
destroying them.

By setting the `trigger` attribute to read-only, any init script
that attempts to alter the trigger will fail to do so.

Change-Id: I64b33c375415326354e1fb2a11b04cd3626c6b00
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2386804
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-11-14 10:16:31 -06:00
wanggc6
ad3c7a0b5e bm_ulog: Optimize adsp bm ulog driver
Check if the bm ulog is enabled when the driver was insmod.
Add bm_ulog_kthread to auto read adsp bm ulog and print them.
This makes it easier to print the bm ulog and reduce log loss.

Change-Id: I31e3721fdeaabf2da7bf239d5cb6afc380d10f71
Signed-off-by: Guocheng Wang <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2422015
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-14 04:39:27 -06:00
litong20
5e838bd297 Add charging state for wireless charging.
sgm4154x:
Add the charging state for wireless charging in flip battery.

Change-Id: Id078692862c927e5254dc02ceee425785babc43d
Reviewed-on: https://gerrit.mot.com/2427231
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-11-14 04:37:25 -06:00
Xiaojun Lv
8f3edf4faa 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
2022-11-14 02:43:31 -06:00
Wenge Zhu
ecbc1bbf1f Fix goodix touch driver build error
When CONFIG_BOARD_USES_DOUBLE_TAP_CTRL macro not defined,goodix touch
driver will build error.

Change-Id: Ia4dd842a7255f2e954db9fbe151fda84ebda7320
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2428636
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-14 00:31:52 -06:00
Xiaojun Lv
210d3a0a6f genevn: optimize ili7807s gesture mode
tp:
Receive gesture type through extended API and remove redundant codes.

Change-Id: Ie528231b236cbd313c46bcc7fd5d2a49334a3f08
Reviewed-on: https://gerrit.mot.com/2426459
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: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-13 21:17:45 -06:00
Xiaojun Lv
bf0c03f708 genevn: optimize nt36672c gesture mode
tp:
Receive gesture type through extended API and remove redundant codes.

Change-Id: Icf76f9ef08e2ca49408b7f249e46cde5ec2b6c7f
Reviewed-on: https://gerrit.mot.com/2426065
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: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:27:22 -06:00
Wenge Zhu
c0c9a384cc Optimize FocalTech gesture mode
Receive gesture type through extended API and remove redundant
codes.

Change-Id: I9fe49271cd1ae2066f45796754484949e8826409
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425688
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:21 -06:00
Wenge Zhu
e81a2e15eb Optimize goodix gesture mode
Receive gesture type through extended API and remove redundant
codes.

Change-Id: I11d20bcebba4c00f352896f5fa8faed2aa2ab5fe
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425685
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:18 -06:00
Wenge Zhu
1d1206c18f Rework cli gesture mode
1.Use same name node to receive gesture type notification.
2.Use extended api to notify TP driver gesture type.

Change-Id: Ice74f7b6081cf8a44c7fdc2cf19c022f79ec109b
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2424064
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:15 -06:00
[A
ede8130ea6 dynamic adjust vindpm
Details:
dynamic adjust vindpm

Change-Id: I1028138cbd5ee95c9a62d4c6114c5eeb8949ab58
Reviewed-on: https://gerrit.mot.com/2427536
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-11-11 04:29:30 -06:00
[A
fbda6c5497 dynamic adjust vindpm
Details:
dynamic adjust vindpm

Change-Id: Ic370abe44c39cda1f78407aee748b1bd812bbefe
Reviewed-on: https://gerrit.mot.com/2427537
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-11-11 04:29:20 -06:00
litong20
ee381ff374 Support wireless power source as charger input.
sgm415x:
Support wireless power source as charger input.

Change-Id: Iad9cd8526aa1697b9d749264b27e1d0db06e0ac0
Reviewed-on: https://gerrit.mot.com/2417538
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-11 01:46:55 -06:00
litong20
c99b4911b9 Reconfigue the charger for user input or chip reset
Reconfigure the charger when charger IC reset
or user input.

Change-Id: I71f910b122fd1e64c22521bc4cf72dfb3dae7ee1
Reviewed-on: https://gerrit.mot.com/2427353
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-11-11 01:46:52 -06:00
xuwt2
18023a822f qti_glink_charger: fix build err
fix build err
qti_glink_charger/qti_glink_charger.c:685:12: error:
no member named 'tx_ept' in 'struct wls_dump'
                wls_info.tx_ept);
                ~~~~~~~~ ^


Change-Id: Ib00c2047d776b2a0b90d94fcd5efcbd25ab4c757
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2425752
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-09 22:11:23 -06:00
Yinjun Chen
03a21de1b2 fixup! (CR): qti_glink_charger: Checking wireless TX_MODE
For build error:
++++
/localrepo/hudson/workspace/SSH32_hiphi-g_userdebug_ms_r-q8450_test-keys_continuous_gc/platform/kernel_platform/msm-kernel/../../motorola/kernel/modules/drivers/power/qti_glink_charger/qti_glink_charger.c:684:46: error: expected ';' after do/while statement
                (wls_info.irq_status & (0x01<<12)) ? 1 : 0),
                                                           ^
                                                           ;

error, forbidden warning: qti_glink_charger.c:677:90
2 warnings and 1 error generated.
++++

Signed-off-by: Yinjun Chen <a7301c@motorola.com>
Change-Id: Ia36a5506201ba3426bf2b66085740a54456dc215
Reviewed-on: https://gerrit.mot.com/2425551
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
2022-11-09 20:33:13 -06:00
xuwt2
4088749529 qti_glink_charger: Checking wireless TX_MODE
get tx_mode status by accessing qti_glink
notify tx_mode when it changed

Change-Id: I325c1982141f7095548857d39fc38b5d8e6f2a5f
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2418046
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-09 06:30:07 -06:00
Konstantin Makariev
a1aa0f60d9 drv8424_mmi: enforced fault state
Introducing a semi-permanent faulting state to stop motor and prevent
any future movements when destination cannot be reached based on data from
sensors. In previous experience it usually happens due to sensors calibration
issues. In this case we want cease all further motor movements and
provide a way to drive motor manually to perform proper sensors
calibration.

Change-Id: I97ccadb69fe569d2b9770d4999eed36fa1a5d0eb
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2414475
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-11-08 17:23:41 -06:00