Commit graph

2,474 commits

Author SHA1 Message Date
weiweij
c3f1b7cdec wls_chg: add charger class interface
Adding discrete charger symbol, to let wls4019 driver
could use interfaces in charger class. And the name of
main_charger is configured in dts file.

Change-Id: Ic74d77f6645c0b166feaafb3ee354b7d12323ccc
Reviewed-on: https://gerrit.mot.com/2255421
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-29 04:12:06 -05:00
liujg6
9e4a81ebea wt6670f: use integer instead of floating point
kernel_neon_begin and kernel_neon_end didn't disable preemption,
then SIMD and VFP instructions will be executed in a non-preemptible
section.
Use integer instead will be safer and effective.

Change-Id: I02db0845fcbd135f25423f38c72c7a9d1622e450
Reviewed-on: https://gerrit.mot.com/2256755
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-29 04:08:47 -05:00
Konstantin Makariev
17acb1efa6 drv8424_mmi: status & position show methods
Added sysfs_notify call and make status & position show methods
waiting for updated values

Change-Id: Ib19dd3e362a70b6c5217821a46a2f3eb679452ac
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2244143
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-04-28 17:13:51 -05:00
Konstantin Makariev
3f6cd30c0c drv8424_mmi: status and position handling
Added support for the following:
  1) status and position changes
  2) sensor data polling
  3) allow polling status and position in HAL

Change-Id: I73d7c46f0ff7fbdaf703f16d0500c634fae1e721
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2237771
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-04-28 17:13:41 -05:00
Konstantin Makariev
9352766163 drv8424_mmi: support variable speed sequences
Support for accelerated motion. Only distinct status reported.
Added position interface to shutdown motor based on signal from
sensors

Change-Id: I44f7eeb4b86f84c2542c0c29feec42bb7b346e16
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2231441
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-04-28 17:13:27 -05:00
Konstantin Makariev
f488925336 drv8424_mmi: stepper motor driver
Initial driver code for TI DRV8424 stepper motor. Based on AW8646
from Awinic. This is just to create an entry point. Needs a lot
of work

Change-Id: Ied7eb3f05801f457494feff098c3b78b3813d30b
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2231338
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2022-04-28 17:13:17 -05:00
cuijy1
73592187f2 sx937x_multi:optimize code
optimize code
change probe

Change-Id: I8c3c03dc61fb3019e0776e965e73ce88e820e1e6
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2250480
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-04-28 09:05:36 -05:00
longc104
6ec8b632f3 phone with rt9471 will ramdump when usb plug in
mutex lock might sleep kernel
remove mutex lock in get_property()

Change-Id: Ic4a0f55ed8171db75e176208a0a88e3172225031
Signed-off-by: longc104 <longc104@motorola.com>
Reviewed-on: https://gerrit.mot.com/2255143
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-28 04:10:52 -05:00
litong20
433150deb9 Clear data buffer after releasing connects.
1. Clear data buffer after releasing connects.
2. Filter invalid events during event handler
and no longer report.

Change-Id: I24ab2257c7f7641188fae7898cd4af7514066905
Reviewed-on: https://gerrit.mot.com/2253924
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2022-04-27 20:59:21 -05:00
weiweij
69576bbb34 wls_chg: remove check chip id function
For original usage, function check_chip_id is used to decide
whether FW need to be upgraded. But we have change it by
FW version checking. So this function will not used any more.
We should remove it.

Change-Id: Idbf875a8491f8321755c56f9b8cc5f2310409214
Reviewed-on: https://gerrit.mot.com/2255040
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-27 20:27:17 -05:00
weiweij
8bae453908 wls_charge: add fw version check logic
In normal use, we may need to update FW to fix some
chip bugs. So we need to add fw check logic to decide
if the FW should be updated. And the latest FW version
is defined in dts file.

Change-Id: I4642dcd311b2fe6dc85c316efd88fa50d50e6a76
Reviewed-on: https://gerrit.mot.com/2254034
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
2022-04-27 03:10:55 -05:00
hujing3
406f6ce2a0 focaltech_0flash_v2_mmi:support charger detection feature
focaltech_0flash_v2_mmi
support USB/charger detection

Change-Id: I4ed69c0b77648ed474264a24247cb895b15c0cf0
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2252825
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-27 00:20:32 -05:00
yanyh2
c7135bc1e5 Disable debugging log for power consumption
1. Consider the battery is absent if battery temperature
is lower than -30 degree C.

2. Disable bq27426 register dump for debugging in heartbeat
work.

3. Change the heartbeat work interval to 60s.

Change-Id: I043c6a28f998668a0dad7f39b75f21fb1b3c6f1f
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2253210
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-26 04:33:27 -05:00
dengwei1
e562dc6ace tundra: input touch fix rmmod
fix
rmmod

Change-Id: I376db1a2f99462e03c754a44a593fe316ac97999
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2253177
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-26 04:12:13 -05:00
yanyh2
35608bf0a0 add kernel version check for I_BDEV
As I_BDEV cannot be used in GKI build before
kernel version 5.15, so add kernel version
check when use I_BDEV.

Change-Id: I7f02b64434559d4a1e00a2c8ea6b38bb1288957b
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2252790
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-25 22:04:16 -05:00
hujing3
854a34493f focaltech_0flash_v2_mmi:add flash sys nodes to support moto FW download
focaltech_0flash_v2_mmi
add flash sys nodes to support MOTO FW download
porting (CR): 1346254

Change-Id: I8d129ade8f8dca761d624353a9ec95934dd1efb7
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2252194
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-25 21:04:18 -05:00
hujing3
78753e078b focaltech_0flash_v2_mmi: add more touchscreen sys nodes
focaltech_0flash_v2_mmi
add more touchscreen sys nodes: panel_supplier, ic_ver

Change-Id: I40347bba6ffe3642e07fabec5bc9fc571b900631
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2252193
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-25 21:04:10 -05:00
yanyh2
0b1ff3b85e fix build err for new Kernel version
moto_f_mass_storage.ko build error:
storage_common.c:218:20: error: no member named 'i_bdev'
in 'struct inode'

Change-Id: I1d0bde9c0f60a8147ea4f8668cdc0240ed35ac3c
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2252051
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-25 07:01:53 -05:00
yanyh2
6cdc32108e usbnet: fix build error in new Kernel version
Build moto_f_usbnet.ko error:
f_usbnet.c:453:13: error: implicit declaration of function 'get_fs'
[-Werror,-Wimplicit-function-declaration]
f_usbnet.c:454:2: error: implicit declaration of function 'set_fs'
[-Werror,-Wimplicit-function-declaration]

Change-Id: I300f961b7398d22936428caa387cf653aff5b777
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2252054
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-25 07:01:48 -05:00
liuyc20
b147b12481 FG: MM8013 FG read batt_temp via iio chanel
the NTC connect to pmk8003.
miami use this NTC to monitor the battery temperature.
the fg get this batt_temp and report to power_supply

Change-Id: Ic983a64ebc971e8873173bec5610168496d07c45
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2252160
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-25 05:33:09 -05:00
mahj8
cc367ccc9d charging: delay 100ms to rerun apsd when charger inserted
As sc89890H can't rerun apsd successful, add delay 100ms
to wait IC idle and then rerun apsd to workaround this issue.

Change-Id: I80f4efcbdbdd8244628ce65eb45368c03798af69
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2252095
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-25 04:48:03 -05:00
mahj8
7c02900620 charging: bring up PD policy
bring up PD policy
for miami

Change-Id: If64ed99bf810a83d5077d8f7570fc75b4fcb6e5a
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2247925
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-25 03:25:19 -05:00
xizx
c3b0652d8c utags: fix build error on kernel 5.15
SM8550 product use kernel 5.15, and utags driver build errors:
1.BIO_MAX_PAGES has been rename to BIO_MAX_VECS
.../drivers/misc/utag/utags.c:171:41: error: use of undeclared identifier 'BIO_MAX_PAGES'
                   num = (left_pages >= BIO_MAX_PAGES) ? BIO_MAX_PAGES : left_pages;

2. get_fs and set_fs() are not exported from 5.15
drivers/misc/utag/utags.c:1268:7: error: implicit declaration of function 'get_fs' [-Werror,-Wim
           fs = get_fs();

3. uselss fp variable that is not used

Change-Id: Ia031b5042124a608cdcf956795bd2e0bd6844689
Reviewed-on: https://gerrit.mot.com/2237918
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2022-04-25 02:35:39 -05:00
wanggc6
7995bb686c charging:Modify regs dump
Modify regs dump when
it is alarm or fault.

Change-Id: I7fb5d0a69b4a1d6cc5ebb8d4359a0213e1c04a3c
Signed-off-by: wanggc6 <wanggc6@motorola.com>
Reviewed-on: https://gerrit.mot.com/2251533
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Wei Wei <weiweij@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-24 21:56:20 -05:00
weiweij
96e289fc8e mmi_charger: set wls charging as dts configuration
When wls charger connected, charger core will get charger type
from "online" property of wls. And set relative charging current
as dts configuration "mmi,wls-max-icl-ua".

Change-Id: Ie20fd2fb44a4dda15fc5d94e227a5a29a0eed6b2
Reviewed-on: https://gerrit.mot.com/2250276
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
2022-04-24 21:46:41 -05:00
weiweij
2fe305b4d6 wls_charge: add status jugdement for state register read
Add status judgment for register reading, If register reading return an
error, we should regard it as status "false".

Change-Id: I6072ac01dcf531256e036bdc9814e0c5f9ffeb14
Reviewed-on: https://gerrit.mot.com/2251647
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
2022-04-24 21:43:54 -05:00
liujg6
11664d82f8 fix random crashes due to floating point operation
Unprotected floating point operation in kernel might corrupt
NEON register and cause many random native crashes.
Add kernel_neon_begin and kenrel_neon_end to protect floating
point operation in wt6670f module.

Change-Id: I2a3a4a3ac1ce78513211ca669eb25c808653f0cc
Reviewed-on: https://gerrit.mot.com/2251071
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-23 21:28:08 -05:00
dengwei1
e04e7a7ec5 rhode: input touch set reset high when sleep
set reset high
as vendor

Change-Id: I8c526e740f2fadaeca9784a2866bc58ad7a1cc99
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2251003
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-23 20:45:13 -05:00
longc104
56dbe16abe increase tcpc timeout to wait detect charge type
factory test cannot connect network port
increase polling times

Change-Id: I6878a40336249aae296c3b0729e70a421ff828cf
Signed-off-by: longc104 <longc104@motorola.com>
Reviewed-on: https://gerrit.mot.com/2250326
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ying Shen <shenying@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-22 06:04:15 -05:00
longc102
64608c0eb6 rt9471 driver optimize, cannot connect adb after power on
no charger type detect after power on
schedule charger type detect in rt9471_probe()

Change-Id: I4d0c01fd3c68c0716baadf8563555a172e945bb9
Signed-off-by: longc102 <longc102@motorola.com>
Reviewed-on: https://gerrit.mot.com/2249214
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-21 05:13:37 -05:00
xuwt2
3ce7c9833b qti_glink_charger: Update wireless dump info
Different project use different wireless chip,
Need to define new wireless dump info struct,
Add WIRELESS_CPS4035B macro definition.
Update new wireless dump info base on WIRELESS_CPS4035B

Change-Id: Iadb02771c420540c5ac119a9c32fe9adcbb25536
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2248230
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
2022-04-21 01:39:42 -05:00
kankan5
8f836ad86e dlkm: vibrator: No vibration when media controls working.
details;
No vibration when media controls working

Change-Id: Id8820adc0d0eb5c8dfc20a27df87a1410e307278
Signed-off-by: kankan5 <kankan5@motorola.com>
Reviewed-on: https://gerrit.mot.com/2246470
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenghai Pan <panzh2@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-20 23:35:59 -05:00
longc102
7149d8c4e8 rt9471 charge status incorrect
CQA test fail at battery info
if ic status is ready, charge status should be not charging

Change-Id: Ifd83cd1dc2c122a70f1b90e275405e3448986cf7
Signed-off-by: longc102 <longc102@motorola.com>
Reviewed-on: https://gerrit.mot.com/2247969
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-20 22:17:25 -05:00
hujing3
746007756c focaltech_0flash_v2_mmi: add touch sys nodes, enable FW download
focaltech_0flash_v2_mmi: ft8726 support
-add touch sys nodes;
-enable FW download;
-add configs for gesture, point report, etc.
-check drm logic before fb for build fix for drm panel

Change-Id: Idaa91550a4ee29d8ba0784a253051d6b2390d0f7
Reviewed-on: https://gerrit.mot.com/2245683
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-20 21:33:58 -05:00
hujing3
28bc9f4c00 focaltech_0flash_v2_mmi:ft8726 init codes on new version 3.4
focaltech_0flash_v2_mmi
devon: support for ft8726, add init codes

Change-Id: I55968366435fa8f918d889af7cd56cbe6b228326
Reviewed-on: https://gerrit.mot.com/2245682
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-20 21:33:50 -05:00
yanyh2
daae15dbfa Use battery OCV to calculate the delta battery voltage
In order to improve the accuracy of load switch controlling policy
use battery OCV instead of vbat to calculate the delta battery voltage
based on vbat, current and ESR.

Add panic debounce when decide to turn off load switch for high
battery voltage diff between flip and main battery.

Change-Id: Ib9b374952a8f6400e008953b123b4878b17fbe4f
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2247225
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-20 06:37:42 -05:00
tinno18
3c3d4008bf hawao+oled: recharger change level to 98%,200mv
change recharger parameters 98% and 200mv
and add project define

Change-Id: I1285134f76ee63af13adb4935064e7d78a9ae088
Reviewed-on: https://gerrit.mot.com/2243845
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <tinno18@motorola.com>
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-20 02:00:05 -05:00
yanyh2
708f85fb4f support init bm ulog
Support init bm ulog to print the bm ulog at init
stage to dump adsp init log at bm ulog driver probe.
The adsp init log will help to address the issue during
adsp module init stage.

Change-Id: I4c1a79da57f73463d885ff25466444c73036f43b
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2246243
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-04-19 05:35:20 -05:00
Yan Zhang
42cef9e7de : Do not disable Zero Tap when FOD is not enabled.
FOD:
Do not disable Zero Tap when FOD is not enabled.


Change-Id: Ica9d40e412ecdc00df44d0ed09103b7cda997092
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2246137
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2022-04-19 03:16:13 -05:00
dengwei1
af80d00771 tundra: input touch move stage2 after data init
move stage2 later
sync with vendor new version

Change-Id: I86bab73fea42083ddb0e61f1bcc61a0c66fb8db3
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2245861
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-04-18 22:43:43 -05:00
dengwei1
387f5b5716 rhode: vibrator move camera notice after enable
move camera notice
after enable

Change-Id: I6013833c4658ec4784868742c3f5900f465b53f6
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2245040
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-18 05:18:07 -05:00
longc102
cb1ec726fe devon:add rt9471 charger
add rt9471 charger
add rt9471 driver code

Change-Id: I5455c4399e6ece136b622d7709670dc53a3df244
Signed-off-by: longc102 <longc102@motorola.com>
Reviewed-on: https://gerrit.mot.com/2236857
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-15 08:50:02 -05:00
yanyh2
dec0712199 Add factory kill time debounce support
Add factory kill time debounce support to debounce the factory
kill event for charger/usb online shake during boot in
factory mode.

Change-Id: I1ca70dbfebd1fa8555ca36dda2b7b6ab2dbc8a2d
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2242975
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
2022-04-15 02:21:25 -05:00
mahj8
aa23f31c41 charging: fixed user version build error
some api can't be exported, so remove it or use another
api instead of it for user version build error.

Change-Id: I79a884fe47437bf3102c3448fa9a1560ba3136dd
Signed-off-by: mahj8 <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2241309
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
2022-04-14 21:51:08 -05:00
weiweij
c196a36ca7 wls: add wls online status judgment
Adding wls online status jdgment interface. And implement
power_supply/online property.

Change-Id: I9ccae66646783e73248396cf5d012116da493085
Reviewed-on: https://gerrit.mot.com/2239691
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-14 03:55:14 -05:00
dengwei1
10199d3dbd tundra: input touch add touch time sysfs
Driver will log the last touch down event timestamp and expose it via
sysfs. This feature utilized by sensors to mitigate false detection of
back tap gestures.

Change-Id: I2907acdf1a560a6ca923b9fc20243fef642d7b90
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2241177
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-14 01:39:14 -05:00
Lei Chen
6a56d911e5 sgm4154x: Fix the build error on devon
Fix,
 build error on devon project

Change-Id: I51dd41d7ab585d1ac5dfb790ca5fcf023fdac129
Signed-off-by: Lei Chen <chenlei18@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2240940
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-13 01:28:30 -05:00
weiweij
2447129964 wls: add mmi_info symbol table
Adding mmi_info symbol table for CPS4019 to let
it could use the interface in mmi_boot_info

Change-Id: I4811b2a22f5fc5cc90e5427c387109831fffffed
Reviewed-on: https://gerrit.mot.com/2240634
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-12 22:05:15 -05:00
weiweij
4195e69772 wls: let cps4019 could use interfaces in mmi_charger
In the driver of CPS4019, we need to use some interfaces in
mmi_charger(for example: mmi_is_factory_mode). So we should
add relative dependence.

Change-Id: I06507728f8f15f0ddcc08ad855127e2167014b67
Reviewed-on: https://gerrit.mot.com/2239738
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-12 05:17:11 -05:00
weiweij
750b5fc835 wls: add boot firmware for CPS4019
Adding CPS4019's bootloader firmware raw data.
Reguarding it as an array.

Change-Id: I23d3f130c8eacf019b0f32a81b8b4956ffd0b6cb
Reviewed-on: https://gerrit.mot.com/2236788
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-04-12 05:16:59 -05:00