As moto charging FULL status judge in SW policy, so we must remove
FULL status in charging ic driver.
Change-Id: I881b1464bdeb9e9c6599dee15d33189c6b4d1594
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2128758
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
Ironmn cold-boot with charger or usb connected tocharge port is
identifying ps_prop_usb_type brickid, apple charger. fet_control
was not handling this charger type. Why the incorrect detection
is happening needs to be investigated, but battfet control will
now handle all usb_type cases.
Change-Id: I5356ee108e2a2430b434311dd5b2cfaa225b89ac
Signed-off-by: Bernie Moreno-BERNIEM <[email protected]>
Reviewed-on: https://gerrit.mot.com/2128139
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
Add shutdown procedure for WL2864C and force disable all regulators when
system power off to avoid unexpected current leakage.
Change-Id: Ia92782a7baa2599fd6be1a7c62d5f747f10340ae
Signed-off-by: chenglong1 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2128240
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Shuo Wang <[email protected]>
Reviewed-by: Wang Liu <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Reviewed-by: <[email protected]>
Reviewed-by: Xingyun Fu <[email protected]>
Tested-by: Jira Key
Submit-Approved: Jira Key
As some discrete charging ic can't suspend usb, so need to disable
charging when capacity > upper_limit. I think it don't effect any scene
in pmic charging solution product.
Change-Id: I2f794cd81371169ea29e2e2918ad47430132415f
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2128317
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
request pm_qos during the interrupt processing to prevent
the CPU from going to sleep state.
Change-Id: I95728329c7df7a4376415b9d8ec20d6525fe45c8
Reviewed-on: https://gerrit.mot.com/2124280
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Jichao Zou <[email protected]>
Tested-by: Jira Key
Submit-Approved: Jira Key
As change the get vbus voltage api from BQ25890 to Main PMIC,
so need to change the HVDCP voltage standard
Change-Id: I5e175b0a5019b3b69810539f21c11b1a26764f84
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2126099
Reviewed-by: Huosheng Liao <[email protected]>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
As TI bq25890 chip accuracy issue, so when policy set icl >=3A,
we need to set 3250ma at register for BQ25890H
Change-Id: I74cd75fdae300b50a8a9581b751dff6890258e11
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2125735
Reviewed-by: Huosheng Liao <[email protected]>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
rt9246a fcc value is part of its algorithm,
fcc value will change according to the condition that the battery is 100%,
https://gerrit.mot.com/#/c/2121340/, the fcc value from 4895 change to 4654.
that isn't our expect. the fcc_design should be a const value
so we add another dts to config it.
Change-Id: Ibc4947e8671243f831e4d6dc160cc8c71873a594
Signed-off-by: liuyc20 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2121919
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
TP:
If the noise detection fails after calibration, the touch IC will
report the "F3 E0" event, and when the event is received,
the touch driver will send the calibration command again.
Change-Id: Ifd2f4bd287fbdc7861a127d2ffd481f635d963c7
Reviewed-on: https://gerrit.mot.com/2123149
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
request pm_qos during the interrupt processing to prevent
the CPU from going to sleep state.
Change-Id: I78a67ef1aa9a363e9d7f9546b8d4c20a81ac04c4
Reviewed-on: https://gerrit.mot.com/2107618
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
Change the build make file to be compatible with
Android S build.
Change-Id: I9faf66a92f1d4c4bb32b6069d9ed4b9e08f66392
Signed-off-by: xuwt2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2117635
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <[email protected]>
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
11-06 10:22:19.922 0 0 I rt9426a 1-0055: RT9426A block read 0x2c fail
11-06 10:22:19.922 0 0 I rt9426a 1-0055: SOC(-13)
11-06 10:22:19.922 0 0 I rt9426a 1-0055: RT9426A block read 0x2c fail
11-06 10:22:19.922 0 0 I rt9426a 1-0055: read soc value fail
QC holi project can't permit do i2c test when phone into suspend or resuming.
The failure of I2C operation jointly produces many unexpected behaviors,
including but not limited to the negative power number and serious power jump.
when calling to the fg_update_work_func(),
avoid the system into the suspend.
Change-Id: Ideeecffc1abe6e7eed12173c7a589cf1f3dc1b22
Signed-off-by: liuyc20 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2118864
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
when device screen off, the wallet running slow and some time
nfc service will reset.
remove IRQF_NO_SUSPEND feature on driver to avoid issue
Change-Id: I1828ce8293915b288020595fa3d2a992503c90a8
Reviewed-on: https://gerrit.mot.com/2119768
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ningkai Zhuang <[email protected]>
Reviewed-by: Tao Sun <[email protected]>
Submit-Approved: Jira Key
Some units may panic on charger cable insertion at powerup. Seems
to be a race condition either registering the ps notifier, so remove
the call. This will reduce the reaction time to check for overcurr
condition at time of charger application.
Change-Id: I71e00636630605e393334e2c8424dfadd2913566
Signed-off-by: Bernie Moreno-BERNIEM <[email protected]>
Reviewed-on: https://gerrit.mot.com/2115456
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
Re-instate the original commit back into mainline to validate.
This reverts commit e5433a437a06221b577d0b54c4e4936d317e4c1e.
Change-Id: Ida06a55eee333d31fb0f0f212daed74c11c790b9
Reviewed-on: https://gerrit.mot.com/2118107
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Bernie Moreno <[email protected]>
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
TP:
Support Pmk8350 gpio3 as the stylus clock for Rogue PVT, and the
output frequency is 19.2Mhz.
Change-Id: I5dae054b6170b921b7afee1853b7de7995531705
Reviewed-on: https://gerrit.mot.com/2111742
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
In COM kernel panic. Kthread max runtime is 0.95s, but we use
mdelay 1.5S, it will kernel panic. So change mdelay to msleep.
Change-Id: I643df7edc75b8640ff6a5d2aa90106e378e0df9f
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2117321
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
The force vindpm bit will clear by itself when remove charger,
so need re-set force vindpm bit when use absolute vindpm.
Change-Id: I8c8c5747c3ee58b9394c35ca0c0f465cdb52064b
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2116766
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
TP:
Since the sensitivity node is a general node in the framework,
the judgment of the mode value is increased.
Change-Id: I82d2727e8ebd60c96c13edf2dd923630dc828290
Reviewed-on: https://gerrit.mot.com/2116173
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
We need to probe the nfc driver even through I2C
communication fail to make sure Force FW Download work.
Change-Id: I3a84bd7927ec01f4a663d332dd3551cd00c7a8f2
Signed-off-by: wuwl10 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2116211
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ningkai Zhuang <[email protected]>
Reviewed-by: Jun Zhang <[email protected]>
Reviewed-by: Hujun Liao <[email protected]>
Submit-Approved: Jira Key
At present this change causing random Kernel panics. WE will investigate
in prallel revert change temporarily for stable dialy SW
This reverts commit 2e2fbc387e3aee0d96fbdbea9ebb7de64ad4b1aa.
Change-Id: I91374b0ff97a39b11fcf64e6cb1f8aaMontanaf89cf3
Reviewed-on: https://gerrit.mot.com/2115325
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
Select close current value base on setting.
This logic is batter.
Change-Id: I5a456cc87e779edca326e7ddf563c42818adbda4
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2114858
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
sometimes vbus type don't equal to NONE, so don't request
dpdm, so qc3.0 can't be correctly identified.
we must request dpdm when charger inserted.
Change-Id: I68f48ac713e468250709a6788dddf57e460887d0
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2114459
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key