Added self-test capabilities: full raw data, SNR and draw line.
Added sysfs interfaces to support IC version and firmware update
Change-Id: I93359b60354e728853a7e43a3ca2fb71c1953987
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2041728
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
TP:
Delete the symbol ^M at the end of each line of the driver code.
Change-Id: Icf5b64b01ae3c27c1d942e0d0d02056f32cb41c8
Reviewed-on: https://gerrit.mot.com/2038562
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
Egis:
Update the poll mask when polling is aborted by hal to support polling
wait forever. do not impact previous 30ms polling mechanism.
Change-Id: I1f6a2adb38f0282e944dde60539cd51179f5c733
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2053956
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
If disable pm7250b aicl will cause a issue: battery voltage
will reverse to vbus side after remove usb cable.
so add a flag to enalbe aicl for some products.
Change-Id: Ide22d43546ffe8ad97b8179aede243f71fe1d246
Reviewed-on: https://gerrit.mot.com/2052603
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
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