The read timeout calculation is added in common transaction
where its not required for write operation, So on V35 it moved
to read specific areas...
Propagate_From (CR)
Change-Id: I295d41b15ef7830f4967ee99bc86081c0a1923e8
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Reviewed-on: https://gerrit.mot.com/2468573
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
UCI_MT_MASK is add in D35 to read the normal mode data or extended
mode data calculation.
Propagate_From (CR)
Change-Id: Ica2701d26cc780d46587bfd08b0265626c6ff2cf
Signed-off-by: Srihari Sathyanarayana <sriharis@motorola.com>
Reviewed-on: https://gerrit.mot.com/2468566
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Vijayakumar Gn <vijaygn@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
1.porting from sx937x about re-initialize machanism
2.reset chipset instead of cali for bronco only,
use dts to control it and will not impact other projects
Change-Id: Ifd616a57863cdd96641440a5b2926ec9286f60ee
Signed-off-by: weimh1@motorola.com <weimh1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2463575
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
If seq <= 2 and duration <= 100, select a waveform based on ranges
defined in the devicetree. There are three ranges, from smallest
duration to largest, corresponding to waveforms 3, 5, and 1,
respectively.
Change-Id: Iaa83fb9d54c02ef9d13fd0ecb8dbfbd6753390df
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2462031
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
After any vibration, reset the waveform to the default index
of 1. This ensures that the vibe state is always consistent.
Change-Id: I7821d7cb0abd57a4b0d0cf1d7315c6b67de58a92
Signed-off-by: Perry White <awhite6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2452957
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
the modification is for egis fps
old screen status interface didn't work in kernel 5.10
poweroff when fps was borken
Change-Id: I67656f803513e2cce44bb516b19b36380b7abb7f
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2459719
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
Transition to COMPACT position in sensors driver scenaRiveright cause
the slider going beyond 3.5 degrees threshold failing position
detection and causing motor faulty state enforced. In this case, it
seems better approach to allow the slider to move all the way to
either EXTENDED or PEEK positions to keep internal state machine
intact
Change-Id: I38425d2ab35e67eb49bb059e6fcee3dee07c394f
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2453110
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@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 removing the `trigger` attribute, any init script that attempts
to alter the trigger will fail to do so.
Change-Id: I19f58b08706f4592eeefae65f63d82f44373cb55
Reviewed-on: https://gerrit.mot.com/2451742
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
Add lpd mitigate driver module to support lpd policy from
AP side.
Support lpd mitigate mode configuration from AP side in devicetree.
Support lpd mitigation policy taking touch underwater detection
result into account.
Change-Id: I10516534a86d294620631c48127938c314c7659b
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450334
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
- Per the request of fingerprint team, remove the judgment condition of
touch_num<=0 when reporting the fod up key, this change can prevent
fod up key not being reported because touch_num>0 when fod up key
needs to be reported.
Change-Id: Iacbfc0592cc7944cfa5497560c3fc5e86531cf7d
Signed-off-by: Jun Weng <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2450918
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
Disable charging if charger input is not ready in case the
charger input current limit does not match the target.
Change-Id: I8bc2a3b10e18c5dd7b034c760731bb04f3c0d4ca
Reviewed-on: https://gerrit.mot.com/2440276
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
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