1. adjust the charging enable logic from sysfs node
2. fix logic issue on charging disable from mmi charger
3. add constant charge current and input current limit
in charger power supply
4. Disable high and low load switch when charger insert
Change-Id: Idbdfb2c0c10d69927402e2f219d642f58b7c9f1d
Signed-off-by: yanyh2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2205999
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2205920
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2205761
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2205313
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2201513
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <[email protected]>
Reviewed-by: Wang Wang <[email protected]>
Submit-Approved: gaoyx9 <[email protected]>
why:
Let focal's hal to control the log level
Change-Id: I922c39340bab392a51f2fb08d7a28b4f594713e8
Signed-off-by: Yan Zhang <[email protected]>
Reviewed-on: https://gerrit.mot.com/2201521
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2191006
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zishang Zhou <[email protected]>
Reviewed-by: Tao Sun <[email protected]>
Submit-Approved: Qiang Nie <[email protected]>
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 <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2196448
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2195084
Reviewed-by: Qing Chang <[email protected]>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
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 <[email protected]>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2192804
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2192076
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: litong <[email protected]>
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
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 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2190470
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <[email protected]>
Reviewed-by: Eric Hefner <[email protected]>
Reviewed-by: Qing Chang <[email protected]>
Submit-Approved: Jira Key
As "turbopower connected" appears twice, so report power max
30W when usb type is qc3p.
Change-Id: Ife81a9763022d74079b091eed0b33c535885e57b
Signed-off-by: mahj8 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2181964
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key