Commit graph

2,295 commits

Author SHA1 Message Date
mahj8
5893fcdb8d charging: add qc3p sw detected for sc89890H
add qc3p sw detected for
sc89890H

Change-Id: I3515a64af3e13861d7187aaf6ee95f1238a86e25
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2175557
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2022-02-18 04:21:47 -06:00
wingte51
53d7fd804a SM5602_FG: apply patch-version: 20220212_00
1.fix The first time the battery be inserted, the power display is low
2.reduce the time of temperature update
3.enable delay-shutdowm feature to set showdown voltage to 3.4v
4.enable SOC_SMOOTH_TRACKING feature to set show battery capacity 100%
  when the real power is 97%

Change-Id: I96d88ce6e4d475a02005234f42a0f4943184bb94
Reviewed-on: https://gerrit.mot.com/2192328
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-18 00:41:32 -06:00
kankan17
28a640a784 dlkm: vibrator: Support camera actuator noise reduction
details:
To eliminate the resonance noise during system vibrator vibrating, set actuator to
DAC n position,then the resonance noise can be obviously improved.

Change-Id: I0428a965e2f1500f301ac32f6e0cd3dc43743c5b
Signed-off-by: kankan17 <kankan17@motorola.com>
Reviewed-on: https://gerrit.mot.com/2189510
Reviewed-by: <chenlj26@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Reviewed-by: PengFei Qiao <qiaopf1@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2022-02-17 22:41:56 -06:00
huaqin71
7485903290 Rhode: TP: focal ic bringup: driver files upload
1. add focal ic driver files
2. focal ic bringup

Change-Id: Id547c07fc54ed4dda59ffb8545d35a18a7624c2a
Signed-off-by: huaqin71 <huaqin71@motorola.com>
Reviewed-on: https://gerrit.mot.com/2192143
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-02-17 02:52:11 -06:00
mahj8
4573a6693a PD: add sc2150A vendor patch
sc2150A vendor provide this patch for
hard reset

Change-Id: I8ccc17fd3aa95aa07354dff3443d1365ab715933
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2193024
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-17 01:55:40 -06:00
mahj8
56ee046b8d charging: clear charger type variable
This is a kthread api, charger type don't clear before
qc protocol detected.

Change-Id: I9da28f985e99df0c60e30f3e835dcf00c6922621
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2192868
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-17 00:42:55 -06:00
mahj8
35120df1da charging: ignore setting qc icl when pd active
when user insert PD charger which also supply qc protocol,
QC ICL setting will overlay PD ICL setting. So ignore it.

Change-Id: Ic18b8a17e55c6a6131e77d96b584a245ca793496
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2192867
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-17 00:42:46 -06:00
yanyh2
b096b71953 Set paired battery discharge load based paired_ichg
Configure the paired battery load according to the paired_ichg
which comes from the delta_soc mapping for paired battery voltage
and soc balance.

Change-Id: I8b4c5b0f95bec1656a96dfaf060d6b593052bfaa
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2192804
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-02-16 22:29:44 -06:00
zhuwg1
904d5f27df Add CLI touch sysfs node for factory test
Change calibrate/cm_panel/auto_shorts nodes from debugfs to sysfs
for CLI touch factory test,because debugfs is not used in user build
version and these nodes can not be used.

Change-Id: I129e2137a261e976c8ea81bc5acdd0042423cfd6
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2192076
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-16 19:39:39 -06:00
Konstantin Makariev
bb324fae89 nova_0flash_mmi: log touch down event timestamp
Driver will log the last touch down event timestamp and expose it via
sysfs. This feature utilized by sensors to mitigate false detection of
back tap gestures.

Change-Id: I53db8f1311275ef54c795de7f4f3ed350ed37842
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2190470
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Eric Hefner <ehefner@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-02-16 10:26:44 -06:00
wutao
d33a40988a modules:sc89890h:bringup second master charger otg
Add second master charger patch from FAE

1.fix the otg current - Iboost
000:0.5A 001:0.75A 010:1.2A 011:1.4A
100:1.65A 101:1.875A 110:2.15A 111:2.45A
2.add disable charging and enable charging when enable otg and disable otg
3.Diable ILIM Pin HW current limit .

Change-Id: I77a25f550819f383d0ccc806bc5e5c3090ae689b
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2190530
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-16 05:17:19 -06:00
mahj8
78f43eae07 charging: remove the vbat condition which enable 33W
As battery can support 33W when vbat > 3V, so remove the vbat
judge condition which enable parallel charging.

Change-Id: Ic8781d1e00b7dce68c1911de33c18d6fa8ceae18
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2181811
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-15 20:05:30 -06:00
mahj8
a1cc9ea786 charging: increase qc3p power judge threshold
increase qc3p power judge threshold
for sgm41542

Change-Id: I2e1189076818b88cd9bec4694aec315a02c03a52
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2181789
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-15 20:05:22 -06:00
huaqin85
e064335557 modules:Second charger could recharge after report full charge
Just modify the turbo charger code: increase the  SWITCH_CHARGER_QC3P_VOLT to 5.3V

Second charger could recharge after report full charge

Change-Id: I1b640ca6ad9e68c7e5c1cbf444e07e5790eec38d
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2189790
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-14 06:00:30 -06:00
mahj8
63ebcc1b0c charging: report power max 30W when usb type is qc3p
As "turbopower connected" appears twice, so report power max
30W when usb type is qc3p.

Change-Id: Ife81a9763022d74079b091eed0b33c535885e57b
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2181964
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-14 04:48:19 -06:00
cuijy1
6a64c7429e sar:add driver for multi sx937x
add driver for multi sx937x

Change-Id: I0ec688cec7b7773f0ab4d578189e51da26122a4d
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2188738
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-02-14 03:53:29 -06:00
zhangh12
cd79aa00d9 sar: update the driver of aw9610x to v0.9.3
The firmware of aw96103 and aw96105 is same,
remove the firmware vesion check for the compatibility.

Change-Id: Ie460a853836da3de88d35066c0b5a5d90f2002f0
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2189877
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-02-14 03:45:35 -06:00
liuyc20
2354dd65c5 FG: SM5602 FG add cycle_count/fcc_design/counter property
vts test request,
get batteryCycleCount and batteryChargeCounter propertty

Change-Id: I84167ac7f51a182510dbe93361c482bb59dfb081
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2186599
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-14 02:07:19 -06:00
Yan Zhang
5f767e535c Update zero tap down and up logic
Add zero tap finger up event for framework to improve
FOD zero type performance.


Change-Id: I35bae1931121431943e0a991a2adfd5cc47f8a7d
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2186508
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-02-13 23:17:10 -06:00
qiaopf1
673504b808 rhode: solve the problem of slow power-off of front dvdd
Details:
according to datasheet,write 0x8f to 0x02 RDIS register ,each ldo
regulator output discharge register enable control.

Change-Id: I05e5c21fb428138993a9a29a105aa4e71819ff3b
Signed-off-by: qiaopf1 <qiaopf1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2188607
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2022-02-13 21:38:11 -06:00
yanyh2
2093641e5d Support a main battery power supply
Add main battery power supply to support main battery
property read in multiple batteries products.

Change-Id: I73c89fc4795ad0ae299460ed616b7d07d5a66ca1
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2189094
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-02-13 20:38:26 -06:00
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
yanyh2
f6da73c6b9 add paired battery info notification
Add paired battery notification to limit the battery
load to system power and charging speed.

Change-Id: Ia416fe0b69bb6535e2874f518dcbb8d534dc3039
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2186534
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-02-09 03:16:41 -06:00
yanyh2
8975cef12d add paired id to support paired battery notification
Add paired id used to support multiple batteries notification between
reference battery and target battery.

Change-Id: I2e1d991d055834a68c38eb7372c7fae17eb297e1
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2186431
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-02-09 03:16:21 -06:00
yanyh2
d4aeb6d6f2 ignore optional dts property exist check result
Don't return error if dts property is optional with default
value specified to allow probe continue.

Change-Id: I74e3d948b380fd90c09d96308d3bb2990e438574
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2185351
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-02-09 03:15:38 -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
xuwei9
430161450d qc3p beging charging voltage to 3V
qc3p begin charging
voltage to 3V.

Change-Id: I9aa1f563930da1d2e2ac876c5757c960ec63be08
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2180078
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-27 00:17:43 -06:00
xuwei9
9ea3e14069 slow attach 33w change code buld fail
slow attach 33w change
code buld fail

Change-Id: Ib23654db4037122652cfac2ec1fbaf860706d0ab
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2179892
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-26 19:57:50 -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
liaohs
8ce498423a chg: fix qc3p rerun bc1.2 fail w/ some qc3.0 adpter
add mutex between bc1.2 rerun and vbus boost dp/dm setting and hvdcp detection .
workaround bc1.2 rerun fail w/ some qc3.0 adapter .

Change-Id: Ie542bebfe2ffdc93f62cde86a22f309a6caefa02
Reviewed-on: https://gerrit.mot.com/2178170
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Chuanchun Zhu <zhucc2@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2022-01-25 23:59:36 -06:00
huaqin85
2cbafe2a1d charging: slow attach usb will not charging as 33w
the phone slow attach usb sometimes, will not chrg as 33w
so we need avoid the vbus not present, sw set dpdm

Change-Id: I1d218bafafdecef911255d256b4e34dcde8aae76
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2178754
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-25 23:43:33 -06:00
mahj8
c52a1c13ad charging: avoid I2C bus pending
As do I2C operation before system resume, so wait max 500ms
for system resume before I2C operation.

Change-Id: I96ffbb94cd7c035e3a37b480eb70Montana4419eb981
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2177664
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-24 04:59:08 -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
huaqin85
441266a711 modules: Can't show turbo icon for quickly plugout/in usb
Can't show turbo icon for quickly plugout/in turbo adapter
sometimes.

Change-Id: I263250386892e3072ad6c5c53bd6a6276eb1c183
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176291
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-22 02:40:37 -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
mahj8
2343b4a428 charging: set icl 1.5A when type_c mode is medium
As some product set DCP current 2A, so set icl 1.5A
when type_c mode is medium.

Change-Id: I1666e0851db87a2f3aab686f134f29a18fb3f928
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176580
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-21 05:05:52 -06:00
bchhq23
4b1d6b44fd rhode: long time vibration notice camera
Long time vibration notice camera:
1.Power on the vcm when the motor vibration time exceeds 70ms[1/2];

Change-Id: I9c66c4c6af606857630db9449e496a13c3c56899
Signed-off-by: bchhq23 <bchhq23@motorola.com>
Reviewed-on: https://gerrit.mot.com/2176409
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-01-21 02:40:35 -06:00
huaqin85
d7e4e0874d gauge: force set sm5602 temperature to 25 degree
factory bt stattion no batt ntc resistance,
sm5602 adc get temperature is -20 or 80, force set it to 25 degree.

Change-Id: I2de7a9122e3f06d9c3ea7a150469b033f891841f
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2175723
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-20 21:24:08 -06:00
huaqin85
8c3912c592 modules: vision station WHITE MASK test failed
vision station ANALYZE_STUCK_PIXEL_WHITE_MASK_HANOI Test Failed
set pmax acroiding the usb type

Change-Id: I49de8a622fe7ca6f0dad1ceba136129abbbfab0a
Signed-off-by: huaqin85 <huaqin85@motorola.com>
Reviewed-on: https://gerrit.mot.com/2174450
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-20 00:20:48 -06:00
liuyc20
50481f2d81 FG: Rt9426a fg add soc ir comp
factory report 3.8v battery this fg only show 5-15% battery capacity.
As when phone is booting up,the current will be large,that pull down
the voltage of battery, the fg get the lower voltage and search the
corresponding capacity.

For the first bootup, the voltage compensation method is added
to avoid the problem of low battery display.

Change-Id: I18b07ca76b3418b3e3fe463698de1e6836a576d2
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2174549
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-19 20:38:34 -06:00
mahj8
774a63cfbf charging: avoid icl =100ma for 33w charger
When battery capacity > 90%, inserted 33w charger, main charger
icl config 100ma and CP don't enable. So charging slow.
avoid icl config 100ma when detect 33W charger.

Change-Id: If450fcabc1a18bc01c5a03bd7e9ff8176f5d338f
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2174425
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-19 19:59:10 -06:00
liuyc20
9371756881 FG: sm5602 fg support muti-battery parameter
via serialnum & df-serialnum battery id to
search and load different battery parameter.

Change-Id: I2459e62d1da4dc386283ab365894500ba38b43dd
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2172575
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Submit-Approved: Jira Key
2022-01-19 01:14:48 -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
mahj8
d4deb70169 charging: add pd support judge
For avoiding effect another product which don't support pd,
so add pd support judge.

Change-Id: Iafc014835b6042e211afdcfa246d09a626dbe28b
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2174030
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-01-18 21:06:31 -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