sometimes allow min pps charge dapter out current is not
same as typec_middle_current,so define a variable for
pps charge adapter allow min out current.
Change-Id: I2f303ec5040b0effd451917e16fffe75bc5932b3
Reviewed-on: https://gerrit.mot.com/2045078
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
- If we do not set the irq to wakeable, single tap to wake may not wake up the AP,
so add the corresponding change for fix this issue.
Change-Id: Ic44a6339d21c64e2d1ca456bc4e4f021aa11e2e7
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2038950
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Add glink oem command to get LPD info so as to show
the LPD information in AP log.
Change-Id: Ib9ce1fb89d626cde0465179a216028bd8abbdd5f
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2037809
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
8450 platform bl build sig num is 17.
xbl_config.git will be lost if MAX_BL_BUILD_SIG isn't increased.
Change-Id: I03f1830bf62d824d6618ef533aaa149aa5991c9b
Signed-off-by: wangxs8 <wangxs8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037542
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
- Since now we having display/touch current drain issue when suspend,
so need to set rst pin to low when suspend and add reset process to
change rst pin to high when resume.
- For compatibility with other projects, add macro ILITEK_SUSPEND_PWROFF
to control this function.
Change-Id: Iab7d65adf820ccfdb4c3e50d7a5bdff624097694
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2035322
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Added code to support FW upgrade. This code has not been tested yet
Change-Id: I677f0cc6f722515681608581afc9bff650e8a46d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2010238
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
- Add ILITEK_CHARGER for control if the charger detection
feature will be used.
- Get the charger status when bootup.
Change-Id: Id4990f4e26051c5e551eb998f2eae8b213513681
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2032569
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Add support single tap feature for gcore_mmi.
- Add sensor class support for gcore_mmi.
Change-Id: I4b1680ccbf12c41356a82fab7e35c245c3b1adc4
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2030592
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Moto future products will only show turbo charge for
quick charge. got charge rate only at main charge side.
calculate charge age and cycle also at main charge side.
Change-Id: Ib18db5ccf8665a21e55d53551fa2f686118ace25
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2031246
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
- When upgrading firmware, do not read touch vendor id and
return at the beginning of function.
Change-Id: I85e9985c03eb149c67c2281f2295e1a6f176e5b4
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2031559
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Add GKI_OBJ_MODULE_DIR definition since on user build
the sensor_class.ko may not be found.
- Add dependency with sensor_class.ko.
Change-Id: I542f28633dfa52a283f9b363ad273b3f9e9385d9
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2028658
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
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: Ic284423f3178caca485e857c7f367da19452066e
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2026220
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
motorola/kernel/modules/drivers/input/misc/goodix_fod_mmi/Makefile:
updated to compat kernel 5.10
For Rogue, on SM8450, with kernel 5.10 based, kernel modules should use
the new version of Makefile.
Change-Id: I5094768f8d86179b981c07a1a15710555d3bad83
Signed-off-by: chengql2 <chengql2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2021379
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Reviewed-by: Shunde Jiang <jiangsd2@motorola.com>
Submit-Approved: Jira Key
In Android S-8450, the bootconfig feature begins enable.
So that androidboot.bootreason canot be found in the cmdline.
And compatibility has been done in mmi_info.
Change-Id: I96b3d9ed988416c640c0b115cdad9fe1fd11a34b
Reviewed-on: https://gerrit.mot.com/2020001
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
After successfully finding the drm panel, set panel_status to 0,
otherwise it will re-schedule work and continue to look for drm panel.
Change-Id: I121d24a66d518b75b73d130b18394c4d7ffead11
Reviewed-on: https://gerrit.mot.com/2021004
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
When there is no need to find the active panel, that is,
the panel_status is always 0, register panel notifier normally.
Change-Id: I2aef34a1fd7ca310bf1fc6a4d9501413208d14c9
Reviewed-on: https://gerrit.mot.com/2019893
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
TP:
When the touchscreen modules loads faster than display,
the acive panel may not be found. So we look for the
active panel again through delay work.
Change-Id: Ife617c4cf19035120c5f381bb6da8f28346a9f34
Reviewed-on: https://gerrit.mot.com/2013538
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
As the bootmode cannot be fetched from bootarg in
SM8450 platform, so use common API bi_bootmode to
get the bootmode to support all platforms.
Change-Id: I16e9955d92649e84d14ee95e34c489faa2722c62
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2014700
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key