PROPAGATED_from (CR)
For only use a fuelgauge product, Getting the battery cycle_count value
via gauge_phy.
Change-Id: I31563e3a18a4154d94b8bf7da9f6a85a8e98c7ab
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/3099247
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
Signed-off-by: Robert Cabral <robertc@motorola.com>
Reviewed-on: https://gerrit.mot.com/3157742
Reviewed-by: Hugo Cuffa <hcuffa@motorola.com>
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
When there is not panel connect to board , the active_panel is NULL
we need to protect it to avoid KE.
Change-Id: Idbb91740f5c5c043d80cf527113abf1e6f0337e3
Signed-off-by: wuwl10 <wuwl10@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2926504
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
Add DRM panel notification to support screen state to hal.
It can make sensor broken detecte work well
Change-Id: If43fda2cd8c38faba552718d14958281f82688e3
Signed-off-by: wuwl10 <wuwl10@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2796187
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Zhong <zhongl1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
reboot process will write 1 to /sys/block/zram0/reset to close backing
device fd
Change-Id: Id11caf26c3edff89a0bf64fc706799c1d54901ee
Reviewed-on: https://gerrit.mot.com/2816017
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
(cherry picked from commit 056c46364adf0b5bacb64554c55f88a56c977f45)
Reviewed-on: https://gerrit.mot.com/2817430
Reviewed-by: Lianlu Chen <chenll4@lenovo.com>
Support touch sensitivity in game mode for avatrn,
default touch report rate is 240Hz and high report rate is 360Hz
.
Change-Id: I9f5c8a414e3a8698393687527ed1a42a61808a07
Reviewed-on: https://gerrit.mot.com/2799919
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Support touch sensitivity in game mode for boston,
default touch report rate is 240Hz and high report rate is 360Hz.
Change-Id: If80cbc5a16062d3743ae44925259c1d48fe624ae
Reviewed-on: https://gerrit.mot.com/2799603
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Support for touch stowed detection when gesture mode. Under gesture mode,
when entering Stowed, touch will enter deep standby mode, and detection
will resume when unstowed.
Refer: (CR)
Change-Id: I1c6591d83ccc17894c03246599903d0680ab2941
Reviewed-on: https://gerrit.mot.com/2797264
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
add driver probe according to mmi_info. Only probe
uwb driver when mmi info is qorvo
Change-Id: I92a9e01dca1c40a484de5845dd9137f834fa3a1f
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2794347
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
add the code to support get the gpio status.
adb shell "cat /sys/devices/platform/soc/soc:wlan_antenna/wlan_antenna_en"
low
adb shell "cat /sys/devices/platform/soc/soc:wlan_antenna/wlan_antenna_en"
high
Change-Id: If1e1826e5afa9779bae44a8339eb74f4bbc11e6f
Signed-off-by: Zhiye Li <lizy90@motorola.com>
Reviewed-on: https://gerrit.mot.com/2795396
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Bin Liu <liubin7@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
1. to resolve long time no up event,
if timeout 100ms, make an up event.
Change-Id: Ie41a07d0281d8a6ce1824a068efdec218403fdf8
Signed-off-by: zhangshaohu <ontim52@motorola.com>
Reviewed-on: https://gerrit.mot.com/2788111
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
details:
same Makefile used with WL2864c;
to fix compile error.
Change-Id: I881d7bc4ede642a9a7f2a2e5d2969609ca11735b
Signed-off-by: longc <longc156@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786426
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <huqian4@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: <yanglp10@motorola.com>
Reviewed-by: Simon C <chenzm8@motorola.com>
Reviewed-by: <huangfx5@motorola.com>
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Lu Lu <lulu2@lenovo.com>
Submit-Approved: Lu Lu <lulu2@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
1.Print factory test result log
2.Transfer test result to user
Change-Id: Iea37bebcf621d463c77f842613804f8c2f1afee4
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2789445
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
WHY:The CDP port of the computer will be repeatedly disconnected
when 97% of the power is plugged in,Add vindpm_track to adjust vindpm
when the voltage is high
Change-Id: I520c7778d644b5d14cea455dc2797395e228c0a9
Reviewed-on: https://gerrit.mot.com/2784390
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Charger limit enable when soc to high, but if soc wrong and voltage too
low may caused low voltage battery can't charge, add enable voltage to
avoid it.
Change-Id: I7273351f237c2dd0262bf6f6c3bc18fb41e0860b
Signed-off-by: xuxj <xuxj12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2786869
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
This commit is a port from https://gerrit.mot.com/#/c/1795715/
to focaltech_0flash_v2_mmi
At GKI 1.0 the VTS tests should use GKI and GKI does not allow the use of
input_get_new_minor, so VTS tests does not have working touchscreen
Fix it definitely using the correct alloc api
Change-Id: Iacca8ddca0ac53e374eb18b6779b29f6467745ad
Reviewed-on: https://gerrit.mot.com/2780951
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Claudio Junior <claudioj@motorola.com>
Support charger type uevent to notify BatteryService
the charger real tyep.
Filter uevent by uevent message POWER_SUPPLY_CHARGE_REAL_TYPE
to parse the real charger type.
Change-Id: Ibfab5f3a12565b8bcb30d093f3f27e9d5c1f4b11
Reviewed-on: https://gerrit.mot.com/2783912
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Sometimes thermal limit FCC small than qg iterm when soc >90%.
Qcom gauge will track to 100% but now battery is not full.
So qg iterm should setted small than FCC and large than chg_iterm.
Change-Id: I0dbeee2bfe79d0ddeaf5681ce7b77f0bb7eb7424
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2784309
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Add check mechanism with kernel version, due to deleting gpio free api
with prefix 'devm_' on latest kernel version.
Change-Id: Idac00094e9e3d40ed806e95d37881399000a372b
Signed-off-by: Chunyu Fan <fancy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2781626
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
the app_score in default oemdata(hybridswap) is initialized as 300
however, the userspace only configures 100, 200, 400, 600 groups,
there is no room fit for initial value, while go through all the
memcgroups, it is not possible to find a slot to fit in the default
value, the outbond index causes the panic
Change-Id: I45e59a2629c17ae9eaa326c749d6ed4b51e3b2e7
Signed-off-by: wangwang <wangwang@motorola.com>
Reviewed-on: https://gerrit.mot.com/2782610
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
Provides a kernel module to support the initialization of motorola's
hypervisor level protections for kernel code and read-only data.
- This protection requires exceptions for jump_label patch addresses,
which are stored in a bitwise trie. Tests for this data structure are
included under tests/jump_table_lookup.h
- Handles proper translation of virtual into physical address
translation for enforcing kernel protections in the hypervisor
- Handles the splitting of hugepages and interprocessor synchronization
for fine-grained memory region protections
Change-Id: I2e994d3b4eb55a3d7c4d4acaf4b23232679276f6
Reviewed-on: https://gerrit.mot.com/2755343
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Qing Chang <qing@motorola.com>
Reviewed-by: Binsheng Que <quebs2@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
Add macro to close debug function in user build
And fix GKI build issue in user build
Change-Id: I741cabc03e50d454f005025fd14e08764cdc5949
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2782369
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key