Commit graph

2,329 commits

Author SHA1 Message Date
longc100
70f8bc91e8 devon:sensors bringup
WHY:devon:new project sensors bringup
HOW:fix aw9610x code,devon use ext ldo ctl by gpio

Change-Id: I3af035617bfa383243d121c9eed0f61e423d2d6f
Signed-off-by: longc100 <longc100@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205222
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
(cherry picked from commit 1e9aa7f0f254143a03837fee68305dc0fa111e0e)
Reviewed-on: https://gerrit.mot.com/2205886
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
2022-03-03 02:36:57 -06:00
Yan Zhang
39891b5caa Add relay between fps and touch
Notify fps work mode thru relay so that touch can enable
FOD event when fps is working and disable FOD event when
fps is in idle

Change-Id: Ie2b284d24d3ac2c77d17455b9465d06e0041eb44
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205920
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-03-03 01:22:22 -06:00
Yan Zhang
0732d87c21 : Trigger fod event only when FOD is enabled
1. Register  FOD state thru mmi_relay.
2. Send Fod event when FOD is enabled.

Change-Id: I56fed42e8377dc86c84e8dd1042cd04a55fb0a16
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205960
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-03-03 01:22:08 -06:00
zhuwg1
6c7ed4807c Add CLI touch factory test cp_panel node
Add CLI touch factory test cp_panel node,from this node we can
read out self-capcitance raw data and to verify whether calibration
data is ok.

Change-Id: I5f52fb464ff8ca583e518bd110fad8a86c6669d1
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205761
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-03-02 20:14:58 -06:00
wanggc6
73d897e40e charging: rename filename and fix build errors
Rename bq25980_charger.c and bq25980_charger.h .
Fix build errors .

Change-Id: I7663e9e3131164040dae8bf6e94c6ebb6db94e58
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2200557
Tested-by: Jira Key
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-03-02 20:03:05 -06:00
mahj8
fad8bc8e8d fg: fixed sm5602 can't update info immediately
The batt_psy has been init to bms psy in prob api, so mmi_charger
can't get the battery power supply change to update info.

Change-Id: I93954a840bd8cb02d127e04902991f6016a8b421
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205313
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-03-02 19:43:03 -06:00
qiurp1
edde0fcb52 Li:capsensor factory bringup
add factory code for capsensor

Change-Id: I39b1f39de8e20d83cfca56d5d120d569db90543b
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2200509
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-03-02 08:10:41 -06:00
zhuwg1
e594e189cb Change config_id format for FW upgrade
Change config_id format to "%02d%02d%02d%02X",so that we can
easily identify touch firmware revision.

Change-Id: If00c358d674f677e3b025936325f96abdd25e3b4
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205278
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-03-02 07:40:12 -06:00
dengwei1
7409103418 dubai: vibrator fix rtp issue
fix
rtp

Change-Id: I3e72f1f7f09513fa8bf90766236da942332911f5
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205249
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-03-02 04:54:57 -06:00
liuyc20
2c1dea4c10 FG: Add mm8013c driver code
add mm8013 origin drive code.
this code provided by the Misumi

Change-Id: I7527eb0662f3f8fed5cfd3a61b64745082ce5674
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2205106
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Submit-Approved: Jira Key
2022-03-02 03:21:14 -06:00
wanggc6
c16859fba6 charging: add bq25960 driver
1.Copy from kernel/modules/drivers/power/bq2597x_mmi.
2.Bringup bq25960 charge pump driver to Miami.
3.bq25960 and bq25980 share same code

Change-Id: Iabb1cf118e9c1f0ec1ae4363271a78b04b107305
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2200321
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Submit-Approved: Jira Key
2022-03-02 01:44:24 -06:00
mahj8
a39a0045d4 charger: fix qc3p rerun bc1.2 fail w/ some qc3.0 adpter
workaround bc1.2 rerun fail w/  some
qc3.0 adapter.

Change-Id: I92b7ecc3e03db265b6ae426e79e6a5b23912131a
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2204248
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-03-02 01:16:28 -06:00
wingte52
2259d0dd3e charging: Default using HW ILIM for bq25890 and SC89890
Default charging reg ILIM is enable , but There is no HW ILIM R in Rhode5G.
Could Disable HW ILIM by reg BQ2589X_ENILIM_DISABLE and DTS . 
refer to : https://gerrit.mot.com/#/c/2204336/

Change-Id: I9aef32c86bddedb1672ea34918cd643871fd4abc
Reviewed-on: https://gerrit.mot.com/2202328
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2022-03-01 21:52:12 -06:00
litong20
e938b5dfd1 Fix "active_panel" undefined build error.
Fix "active_panel" undefined build error in
CONFIG_DRM_PANEL_EVENT_NOTIFICATIONS

Change-Id: I45b9c513b0abb0c35ed95383b398f1b9bac0bb22
Reviewed-on: https://gerrit.mot.com/2203843
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-02-28 21:34:52 -06:00
litong20
da392862a5 Fix build errors with missing header files.
Error:
cyttsp5_regs.h:62:10: fatal error: 'linux/cyttsp5_core.h' file not found


Change-Id: I824cd60cb7cf62f5e57f8850c10e18f95a9777e0
Reviewed-on: https://gerrit.mot.com/2203813
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-02-28 21:34:46 -06:00
wangyq13
ea9f086fc7 dlkm: sm5350: get map mode from dtsi
sm5350:
Get map mode from dts, default is linear.

Change-Id: I706ace97aa5466bc2ed7f7eddd2f16e9a12d2b9b
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2203057
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Hua Tan <tanhua1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-28 03:38:37 -06:00
zhuwg1
c3c85044d8 Change parade touch driver header files path
TP:
Move parade touch driver header files to driver directory.

Change-Id: I99698e636bb44e8265e9b36ae5a3848fcf9541bd
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2201578
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: litong <litong20@motorola.com>
Submit-Approved: Jira Key
2022-02-28 03:37:22 -06:00
zhuwg1
417ef43ab5 Add CLI parade touch suspend/resume logic
CLI parade touch need to do suspend and resume when receiving
suspend and resume notifications from display module.

Change-Id: Ibcb2e10f5974b9e546b9ffd0aa2ead3d106e4a0d
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2200231
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-28 03:34:59 -06:00
litong20
12e78678a8 Support receiving dual-screen notifiactions.
Support receiving dual-screen notifications to support
touch ic suspend and resume.

Change-Id: I2af3fb7632ca164c85626957f42c0d3dca2af179
Reviewed-on: https://gerrit.mot.com/2188839
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Submit-Approved: Jira Key
2022-02-28 03:33:42 -06:00
mahj8
08435d13fe charging: sometime main charger can't recovery to max icl
when sometimes charger pump closed, but main charger don't
recovery to max icl

Change-Id: Id8032d310e41dabcd9be86b115a29c49ce0f17b8
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2200412
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-27 21:18:44 -06:00
xuwt2
150edacf11 smart_pen_charger: Update pen soc to ADSP
Update pen soc to ADSP through QTI_GLINK
To sync stylus soc between APP and ADSP

Change-Id: I2e5099bbdcb1bbcde5f9e697b908387e17eca2fe
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2198929
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-27 00:50:20 -06:00
wutao
f2c06bfe3b modules: The whole charging process will go twice CV
After the thermal temperature reaches 39 ℃, the battery voltage will be limited to 4.1V,

and the whole charging process will go twice CV, resulting in excessive charging time

Change-Id: I33a36eb1329a3cb207bb8a20349a4045520142d1
Signed-off-by: wutao <huaqin89@motorola.com>
Reviewed-on: https://gerrit.mot.com/2201513
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: gaoyx9 <gaoyx9@motorola.com>
2022-02-25 06:46:37 -06:00
Yan Zhang
0156fcf713 let hal to control the log level
why:
Let focal's hal to control the log level

Change-Id: I922c39340bab392a51f2fb08d7a28b4f594713e8
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2201521
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-02-25 04:21:32 -06:00
zhuangnk1
899df96eea Add HW chip detect mode for ST NFC
Add NFC ST hardware detect code
use ST_NFC_HW_DETECT macro to open this feature
a sys node under i2c device node will be created to show which
chip is in use, support both dload mode and route mode
support both ST21J chipset and ST54J chipset

Change-Id: Ie69ea44e33b25a32d53d260c10414b4939389cc2
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2191006
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zishang Zhou <zhouzs1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Qiang Nie <nieqiang@motorola.com>
2022-02-25 00:46:17 -06:00
huaqin71
bbda3c0318 rhode: update charger mode & ito test result
1.enter charger mode when usb plugin;
2.create ito test failed file when ito test fail

Change-Id: I33e8a05a4dc4a81200406751ad8480a1a97993b9
Signed-off-by: huaqin71 <huaqin71@motorola.com>
Reviewed-on: https://gerrit.mot.com/2200364
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-24 21:17:44 -06:00
Wei Deng
c7f3fe6980 Revert "(CR) nova_0flash_mmi: log touch down event timestamp"
This reverts commit 46abea9fb423a06c294ca7612ae11708561dc485.
this change has broken the multi point function

Change-Id: Idc9e912912bbd5a520f8b6d1ba8889820f0a6cad
Reviewed-on: https://gerrit.mot.com/2199829
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-02-23 20:55:13 -06:00
yanyh2
b4020e9c78 Add module parameter to enable panic on delta_vbat
Add module parameter to enable panic on delta_vbat when the
paired battery delta_vbat exceeds threshold of paired battery
load off state.
The panic is enabled only for engineering devices, and disabled
by default.

Change-Id: I0afe222c59e155af507e53e7ede6ede31ddf367a
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2196448
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-23 06:26:20 -06:00
a7301c
d7e228f268 cyttsp5_core.c: Import namepace for "kernel_read"
For build error from 8450 postCS6:

9573 ERROR: modpost: module parade_tma5xx_mmi_core uses symbol kernel_read from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.
9574 ERROR: modpost: module parade_tma5xx_mmi_core uses symbol filp_open from namespace VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver, but does not import it.

Change-Id: I14cf7ee5284f2fbd378643262db7840da52bf7cf
Signed-off-by: a7301c <a7301c@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195084
Reviewed-by: Qing Chang <qing@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
2022-02-22 16:23:02 -06:00
zhuwg1
6d5cc9f61c Change CLI touch test return data format
Change CLI touch test node return data format,in order tcmd
can parse it properly.

Change-Id: Iaedcbe428cc6e6731c8a43498b7612362b705482
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195486
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-22 04:04:04 -06:00
gaoyx9
96e517514c Revert "(CR): SM5602_FG: apply patch-version: 20220212_00"
This reverts commit 7a3aca4afa64cac14f95e56422f3cb214a594db2.

Change-Id: I24f0531222076407db215f81e5d0ec3b00a8b5c1
Reviewed-on: https://gerrit.mot.com/2195765
Reviewed-by: gaoyx9 <gaoyx9@motorola.com>
Submit-Approved: gaoyx9 <gaoyx9@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ying Xu <xuying9@motorola.com>
Reviewed-by: Yinjun Chen <a7301c@motorola.com>
2022-02-21 07:33:49 -06:00
tnchangj
5e3fac65f9 dynamic adjust battery voltage
This is a dynamic adjust battery voltage
for cyprus IP8

Change-Id: I8ac9acb903cf6418d28969fa9cef996529663275
Reviewed-on: https://gerrit.mot.com/2195453
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-21 04:39:44 -06:00
mahj8
253e76eb23 charging: fixed build error
fixed build
errror

Change-Id: I1f89173d4ca4e63824868970cd238c62d3a18bbe
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195220
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-20 21:33:07 -06:00
huaqin71
5f759f4a85 Rhode: Modify ITO test way from "echo" to "cat"
1.modify ito test way: echo -> cat
2.display test result info

Change-Id: I9192ed3bfb8031a32b2650c948837c979a7cf4f7
Signed-off-by: huaqin71 <huaqin71@motorola.com>
Reviewed-on: https://gerrit.mot.com/2194926
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-20 20:35:07 -06:00
mahj8
be860e41ca charging: fixed build error
fixed build
errror

Change-Id: Ic561a1aa72fe7080cafd1ee32bf6051a15b10190
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2195126
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-02-20 20:13:22 -06:00
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