TP:
After the touch fwupate, if the config id is different
from before, the calibration operation will be tiggered.
But try not to add calibration operations in touch driver.
Change-Id: Id82c331c4617a03cb2351987380eae96d837fb7e
Reviewed-on: https://gerrit.mot.com/2002079
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <[email protected]>
Reviewed-by: Jun Weng <[email protected]>
Reviewed-by: Jichao Zou <[email protected]>
Submit-Approved: Jira Key
Move the charger driver from mmi charger to be compatible with
Android S build.
Adjust the build make file to be compatible with Android S build.
Change-Id: I67969e25b691f9dfe64b43f65e42ad6e0545ebb6
Signed-off-by: yanyh2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2003174
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Jianqi Yang <[email protected]>
Tested-by: Jira Key
Submit-Approved: Jira Key
Flash fast charge
At different battery temperature zones, use different
CV and charge iterm.
porting from https://gerrit.mot.com/#/c/1551505/
Change-Id: I8558b47f771b6785af0f7d75ea9093fc5af17c54
Signed-off-by: chailu1 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2001406
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
Shalcomm qc3p adater have probability stop response.
So kernel rerun APSD twice and operat qpqm regulator
So skip first APSD for increasing voltage.
Change-Id: I0d821081758439bbf27c2098dde0ef8bce5ba8f3
Signed-off-by: xuwei9 <[email protected]>
Reviewed-on: https://gerrit.mot.com/2001546
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <[email protected]>
Submit-Approved: Jira Key
1. When the interpolation is disabled, the report rate is 240Hz;
2. When the interpolation is disabled, and the refresh rate is 144Hz,
the report rate is 576Hz, else the report rate is 480Hz.
Change-Id: I863154a271d5968aab36d0bc3366f4597a30808d
Reviewed-on: https://gerrit.mot.com/2001030
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Jianqi Yang <[email protected]>
Tested-by: Jira Key
Submit-Approved: Jira Key
Fix the build error when making the slg5bm43670.ko. Also
Kernel 5.10 removed the regulator locking and locking is
implicit around the notifier call chain. Hence remove it for
kernel 5.10 and beyond.
Change-Id: I475868ae49f8fbbd7514fa43df41a3cd78d138ae
Signed-off-by: Ravi Vembu <[email protected]>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1975249
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jian Luan <[email protected]>
Reviewed-by: Ling Jin <[email protected]>
Submit-Approved: Jira Key
There is a case that will make the system suspend failing for
mmi,charger wakelock and last for several minutes.
The reason is that the system suspend has the same 60s request
intervals as mmi charger heartbeat delay work, which will request
mmi,charger wakelock.
To avoid this two task run into resonating state, it's feasible to
change the mmi charger heartbeat interval to 100s.
Change-Id: Ie076e5a3657a6c67ea7e9fdcefd3ef897bc81d02
Signed-off-by: yanyh2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1995180
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
Adjust the makefile to be compatible with Android S
version.
Change-Id: Ica70b178ae1b84dce47221c9018a4d35ff6c4363
Signed-off-by: yanyh2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1992143
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haichao Li <[email protected]>
Reviewed-by: Tao Sun <[email protected]>
Submit-Approved: Jira Key
1. Add DRM_PANEL_EVENT nofification for Andorid S.
2. support touchscreen_mmi and related modules build in kernel-5.10.
3. Use timespec64 instead of timespec function.
Change-Id: If0252015e10bff24c10d54b13df2e0f6aa156a6e
Reviewed-on: https://gerrit.mot.com/1965128
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <[email protected]>
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
sometimes ps_notify_callback will be called
after reg_notifier immediately
at this time global_sx937x is NULL
will cause kernel panic
change global_sx937x initialization position earlier
Change-Id: I2379ea3113563268d36d5ddc0bb2cb5a510b15e7
Signed-off-by: cuijy1 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1990372
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hong Zhang <[email protected]>
Reviewed-by: Tao Sun <[email protected]>
Submit-Approved: Jira Key
In QCOM 7350/8350, the kernel doesn't provide pmic-vote to control
battery charging.
the mmi_charger is an intermediate layer that forwards charging control
to ADSP Battmngr from the application layer.
By using USE_MMI_CHARGER macro definition that qpnp-adaptive-charge can be use
mmi_charger's func to control battery charging
Change-Id: I4da0604eabdadfc483143360ef7b7aad174cda47
Signed-off-by: xuwt2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1983612
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
Add missing sysfs to allow Factory to re-enable charging while in
factory mode or when using factory software.
Change-Id: If39b3d5f56495b7d89445629bc1541f0b22a296a
Reviewed-on: https://gerrit.mot.com/1949637
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <[email protected]>
Submit-Approved: Jira Key
SC8551A charge pump will reverse voltage to usbC while plug
out usb cable, So force disable sc8551 to prevent reverse
after quit charge policy.
Porting from https://gerrit.mot.com/#/c/1945421/
Change-Id: Iebfcf055850da29e40e37bd8220ed5d99581cbcb
Signed-off-by: chailu1 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1982527
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <[email protected]>
Reviewed-by: Huosheng Liao <[email protected]>
Submit-Approved: Jira Key
Do charger state sync when boot completed in case missing
some charger state change.
Change-Id: Iec128382d5edb98cda47752d07e606a6b66316be
Signed-off-by: yanyh2 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1982792
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <[email protected]>
Submit-Approved: Jira Key
As the reverted patch may cause panic for race resource batt_uenvp
when it accesses batt_uenvp which was just freed in heartbeat work.
Mot-CRs-fixed: (CR)
This reverts commit 715a9d18d8fa6b7acfc9540f5e3df2c4332baf28.
Change-Id: I07f3bf2cba6f30b345988231d0ee8ea18da27e4f
Reviewed-on: https://gerrit.mot.com/1982785
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <[email protected]>
Submit-Approved: Jira Key
The kernel does not have permission to access the /data/vendor
partition, so send the update firmware notify to touchUpg service
on resume for zero-flash touch IC.
avc: denied { search } for name="param" dev="dm-6" ino=275
scontext=u:r:kernel:s0 tcontext=u:object_r:param_data_file:s0
tclass=dir permissive=0
Change-Id: I5d5c9f39bab25a8d3377e0475e79a0411d93b56b
Reviewed-on: https://gerrit.mot.com/1979786
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <[email protected]>
Reviewed-by: Jichao Zou <[email protected]>
Reviewed-by: Jun Weng <[email protected]>
Submit-Approved: Jira Key
At hvdcp more than 15w project.
AICL threshold will set to higher than 5V
which result pmic charging current unstable.
Change-Id: If1a0e9174dbaf5df656442bbdd1247b231636c48
Signed-off-by: xuwei9 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1980875
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <[email protected]>
Submit-Approved: Jira Key
add enable CP api for ESR.
disable all CP before ESR and switch to PMIC
enable all CP after ESR
Porting from (CR)
Change-Id: Ie2eafab9002b85982b359124c007dc939642fe14
Signed-off-by: chailu1 <[email protected]>
Reviewed-on: https://gerrit.mot.com/1978514
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <[email protected]>
Reviewed-by: Haijian Ma <[email protected]>
Submit-Approved: Jira Key
Control gpio switch and regulator of fingerprint according to
the configuration of device node.
1. Use gpio switch if fp-gpio-ven is defined and valid.
2 .Use regulator control if rgltr-ctrl-support is defined and relevant
vdd, voltage range is valid.
Change-Id: Ia5e71c08306835e4d93552dbc037beb78fca39db
Signed-off-by: Yan Zhang <[email protected]>
Reviewed-on: https://gerrit.mot.com/1971796
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <[email protected]>
Submit-Approved: Jira Key
Control gpio switch and regulator of fingerprint according to
the configuration of device node.
1. Use gpio switch if fp-gpio-ven is defined and valid.
2 .Use regulator control if "rgltr-ctrl-support" is defined and relevant
"fp,vdd" and voltage range is valid.
Change-Id: I40acd3abdba285a41f258d51b62f92a59c6796c7
Signed-off-by: Yan Zhang <[email protected]>
Reviewed-on: https://gerrit.mot.com/1971397
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <[email protected]>
Submit-Approved: Jira Key