Update the makefile to enable the ko file
which has been changed for oneli.
Change-Id: I75704e4031bc26cadf76ca63a4cf4e3d3be13d1b
Signed-off-by: chenzc2 <chenzc2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2226485
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Reviewed-by: Xingyun Fu <fuxy7@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Submit-Approved: Jira Key
fix fac test
per vendor
Change-Id: Id407a3c3711c95fbcd8dafbf628252db45df1a32
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2224844
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
Modify some code formatting and fix some build errors.
If your kernel include has <linux/wakelock.h>,
you can define CONFIG_HAS_WAKELOCK.
Change-Id: I6371653581334ac8d63d41112b50ac9ea2919dc0
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2218913
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
motorola/kernel/modules/drivers/input/misc/rbs_fod_mmi/Makefile: update
the option M with predefined value if possible
Kernel 5.10 already defines the value of option M before the module
building, and module building should use that predefined value.
Refer: gerrit commit: https://gerrit.mot.com/#/c/1992052/
Change-Id: I9e1f6f0985e95c8bde448d97342c613c1cf169df
Signed-off-by: chengql2 <chengql2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2220453
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
add some parameters to set 97% to 100%
sm5602_fg_mmi/sm5602_fg.c
Change-Id: I03bf1f17c9c7ecd0c42ddec06d1509e12f90d1dd
Reviewed-on: https://gerrit.mot.com/2209091
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Submit-Approved: Jira Key
revert this change and will make a new one
for vendor suggest
Mot-CRs-fixed: (CR)
This reverts commit 27e0bccf42e60c4dff61323fd0c03d45e2c24e39.
Change-Id: I5837b3f9ebb5f9177c14848c662f5b5f5cc99d96
Reviewed-on: https://gerrit.mot.com/2213962
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
1. Disable the charging and charger input via device tree
configuration
2. Disable charger input if battery is absent or temperature
is too low(<-30 degree C)
3. Force battery to empty to trigger android auto power off
if paired battery becomes empty to avoid it over discharging.
Change-Id: I7a42db2d0d0281ed1843fee11f79d2dcf9291a0e
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2211635
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
userspace use current max to judge charging rate in
setting->battery menu. Because main charger icl will
been limit to 300ma when charger pump enable, so
we can't use usb icl update to userspace.
Change-Id: I644596ae3ebcba9cbe3470e67d87be6b1cd5130b
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2213582
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Add device node support for bq25960.
we can read the vbus node to get the vbus voltage.
we can write the force_chg_auto_enable node to set
the bq25960 charging on or off.
Change-Id: I1848ddb4baf3a2ee47161da41ccf5286700213f2
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2213345
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Add iio sys support for bq25960
and some STAT MASK .
Uncomment the function bq25980_set_chg_en,
bq25980_get_adc_ibus and bq25980_get_adc_vbus.
Because they are used by the iio sys.
Change-Id: I528d6eb020c55a78b3bd575d8ce48eab656a9553
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2209068
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Set regulator avdd load to 50mA,so when touch is active it can notify
the regualtor core to set the most efficient regulator operating mode
(HPM mode)for the new regulator loading.
Change-Id: Ie28564c6f5ff114cd99dd5742da1f88ddf3cbb45
Signed-off-by: zhuwg1 <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2210880
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
WHY:devon:add 20ms delay for ext ldo vdd for power on steady
HOW:add 20ms delay in aw9610x driver
Change-Id: I4af3ddb4dbf86e593e2b272a7678d34cd64b1f61
Signed-off-by: longc100 <longc100@motorola.com>
Reviewed-on: https://gerrit.mot.com/2209041
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
ss_timeout(soft start timeout) used to check if input current
is above BUSUCP threshold.
modify ss_timeout as bq25960 POR value 10s to make sure CP don't disable
Change-Id: I31f1b6d648a7b5a64a4a2d3036b1a36af44f6ec9
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2208317
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Remove the print function of fingerprint hard interrupt EGISFP
Avoid interrupt processing time is too long Trigger watchdog
Change-Id: I3e7632b0baa84b1f1fc09dd851307bd08be231a7
modified: etxxx_fp.c
Reviewed-on: https://gerrit.mot.com/2206419
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: liujian <liujian24@lenovo.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key