The workqueue actual name is "config_load" and "config_store" and they
are over 10 characters hence name is truncated to 10 characters.
Change-Id: Ie9e4fea1b42df337710d00ee5af0dfa21453f50e
Reviewed-on: https://gerrit.mot.com/2446612
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Only when wireless charging is used, re-judgment whether it is online
or not. but wired charging maintains the previous online status.
Change-Id: I01b2074f496867237fc733645a088329e5432818
Reviewed-on: https://gerrit.mot.com/2442366
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
For penang japan, the charging should stop as the usb_therm is
too high. Thermal control the mosfet to disable charging.
Change-Id: I2855665e56c0edd26f0bc1150321bcf6da808948
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2414069
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
Add flag when using wls_cps 4019,
make sure program can be compiled
Change-Id: Ice6722555d09e6e186132401b386d5f2f8b292f0
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2430837
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Modify defination of dump_info,
and delete information of pen when using cps4019
Change-Id: I0c4859429c194aa07bfb5cc1ec960dba3ae48fa1
Signed-off-by: miaoyi <miaoyi2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2431797
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
We find one unit fuel gauge run into boot mode by itself. So can't
get battery info from FG. Now we want to reset FG when detect FG in
boot mode.
Change-Id: Id1ebb4fa3774c7de2da3e23a9c175f80e793e496
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2434720
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
tp:
According to fae's advice, add 20ms delay to fix the probabilistic failure of sending the stylus cmd after the firmware upgrade
Change-Id: I1eaf25d91556534c0d3f6fa8825e2e498a5facfa
Reviewed-on: https://gerrit.mot.com/2428503
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Add alternative 'activate_store' and 'seq_store' functions to allow
existing HAL to properly interact with the haptic_hv driver.
NOTE: This commit does not add compatible RTP playback support
Change-Id: I9b94219d16ada7532de359acd80065a1743a435a
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425277
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
If the trigger is changed, there's a chance that the new trigger
will provide attributes that conflict with ones that already exist,
destroying them.
By setting the `trigger` attribute to read-only, any init script
that attempts to alter the trigger will fail to do so.
Change-Id: I64b33c375415326354e1fb2a11b04cd3626c6b00
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2386804
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
Check if the bm ulog is enabled when the driver was insmod.
Add bm_ulog_kthread to auto read adsp bm ulog and print them.
This makes it easier to print the bm ulog and reduce log loss.
Change-Id: I31e3721fdeaabf2da7bf239d5cb6afc380d10f71
Signed-off-by: Guocheng Wang <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2422015
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
tp:
1. For v08 fw:
Mode 1: single tap only cmd is 0x02
Mode 2: single tap + double cmd is 0x06(v07 and before is 0x03)
Mode 3: double tap only cmd is 0x04
So, we optimize the touch driver for v08 fw.
Change-Id: I9f0894e27932f6440522d38aa0635740bb51b535
Reviewed-on: https://gerrit.mot.com/2428888
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Reconfigure the charger when charger IC reset
or user input.
Change-Id: I71f910b122fd1e64c22521bc4cf72dfb3dae7ee1
Reviewed-on: https://gerrit.mot.com/2427353
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
get tx_mode status by accessing qti_glink
notify tx_mode when it changed
Change-Id: I325c1982141f7095548857d39fc38b5d8e6f2a5f
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2418046
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Introducing a semi-permanent faulting state to stop motor and prevent
any future movements when destination cannot be reached based on data from
sensors. In previous experience it usually happens due to sensors calibration
issues. In this case we want cease all further motor movements and
provide a way to drive motor manually to perform proper sensors
calibration.
Change-Id: I97ccadb69fe569d2b9770d4999eed36fa1a5d0eb
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2414475
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
When the user sets the input current limit or constant
charge current through sysnodes, these values are fixed
and do not charge with other logic.
Change-Id: Iea171ce60ab6e1c1605a7dc89aadaecaecaba4c1
Reviewed-on: https://gerrit.mot.com/2423701
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Heartbeat work in charger driver will work every 100s when no charging.
It will cost some power.
But when discharging, we do not need to pay attention to charging
function, we just need soc changing.
And for our test in genevn, fg driver will send a notification when soc
changed. So we could increase the period of heartbeat wor
Change-Id: I9f9dcda52f42bbb53bcff61820e1df9ab07e4f15
Reviewed-on: https://gerrit.mot.com/2417652
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
ili9882_mmi:
Add last event time function, record the last touch event time,
used by phone back double tap.
Change-Id: I793f79111c8a154074fd99c343d14b09df7c036b
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2417920
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
Save chipid info into /proc/bootinfo
so that the phone's signed APDP can be produced accroding the known chipid info,
then request the phone to flash APDP directly.
Change-Id: Idfbdc8283708a6e45fb73b64021df977ec68da4b
Signed-off-by: zhongcai ma <mazc5@motorola.com>
Reviewed-on: https://gerrit.mot.com/2417057
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
focaltech_0flash_v2_mmi:
add productinfo node in touchscreen sys
to support touch chip id for TP primary node case
Change-Id: I10bc6f9b23310132f2e8230b5c5df68f8aa3b97e
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2417687
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key