Commit graph

2,791 commits

Author SHA1 Message Date
jixj
2393e1a657 utag: Enlarge buffer size to fill full workqueue name
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
2022-11-30 19:39:56 -06:00
litong20
77f7c23afb fix wired charging error online logic
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
2022-11-27 23:57:30 -06:00
Lei Chen
5b1ad1966c usb_therm: add usb_therm toggle mosfet
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
2022-11-25 00:15:44 -06:00
wangyq13
a57d3b2149 input: ili9882_mmi: remove unused netlink codes
ili9882_mmi:
Removed unused netlink codes, fix vts test fail.

Change-Id: I2b4734252a8dff2bf783201f96acf3d24c75c03a
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2438674
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <lvxj4@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-23 23:58:12 -06:00
litong20
295d99566c cancel the work befor scheduling.
sgm4154x:
cancel the work befor scheduling.

Change-Id: Ia27360757b1fd06cf2f15c23debd7c41b63951d9
Reviewed-on: https://gerrit.mot.com/2437359
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-11-23 21:26:52 -06:00
Xiaojun Lv
ccaf3c7f3c input: optimize nt36672c touch spi timing
input:
modify nt36672c CS Hold Time to meet spec requirement.

Change-Id: I9f24cee977f70fab7dec22e11cb6d71c4a1b61cc
Reviewed-on: https://gerrit.mot.com/2435678
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
2022-11-23 05:19:51 -06:00
miaoyi
8e73aacdfa qti_glink_charger: support cps4019
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
2022-11-23 05:09:27 -06:00
miaoyi
30383a2f6b qti_qlink_charger: support cps4019
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
2022-11-23 05:08:50 -06:00
Haijian Ma
79b2806d70 fg: don't get battery info when fg run into boot mode
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
2022-11-23 00:25:58 -06:00
[A
8306c97959 optimize IR comp for 2nd chg ic
Details:
optimize IR comp for 2nd chg ic

Change-Id: I8a55c4bc7eb0e66bb857c51a353049700b7ecdb5
Reviewed-on: https://gerrit.mot.com/2435597
Reviewed-by: <hq114@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-11-22 04:10:54 -06:00
[A
077c1d050a optimize IR comp for 2nd chg ic
Details:
optimize IR comp for 2nd chg ic

Change-Id: I1d1fde7b7e10ac3ba5a8bab67cd827a8b36c961b
Reviewed-on: https://gerrit.mot.com/2433431
Reviewed-by: <hq114@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-11-18 04:30:31 -06:00
Xiaojun Lv
fc6ed50514 genevn: optimize the process of ili7807s touch sending stylus cmd
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
2022-11-15 02:28:30 -06:00
lbh
95c8cf02a3 pnangn:2nd charger sc8989 ICL3A set to 0x3a
2nd main chager sc8989 set icl 3a to 0x3f = 3.25A

should set icl 3a to 0x3a = 3A

Change-Id: I2e711a1f124120c1ae030c066486221ca6d813ec
Reviewed-on: https://gerrit.mot.com/2427490
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qiong Xie <xieq2@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-14 21:48:05 -06:00
litong20
58ad7de68c fixed unused variable 'batt_curr' error.
cw2217b:
delete unused variable 'batt_curr'.

Change-Id: I4e463cffa73248fd15cfcf3c44c2f2340d15672b
Reviewed-on: https://gerrit.mot.com/2429659
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-14 20:21:33 -06:00
Xiaojun Lv
f5183a2b11 genevn: make macro GET_TS_DATA effective(dev) effecitve in touch
tp:
Modify ili7807s touch driver code to make macro "#define GET_TS_DATA(dev)" effecituve.

Change-Id: Ie8cdb8b961c069dfef0ddd77b5b9c9103ccd0b84
Reviewed-on: https://gerrit.mot.com/2429205
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-14 19:50:15 -06:00
Andy White
aff1cd0bc3 haptic_hv: Add HAL compatility
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
2022-11-14 10:16:38 -06:00
Andy White
dfd72aa13f haptic_hv: Prevent sysfs attrs from being destroyed
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
2022-11-14 10:16:31 -06:00
wanggc6
ad3c7a0b5e bm_ulog: Optimize adsp bm ulog driver
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
2022-11-14 04:39:27 -06:00
litong20
5e838bd297 Add charging state for wireless charging.
sgm4154x:
Add the charging state for wireless charging in flip battery.

Change-Id: Id078692862c927e5254dc02ceee425785babc43d
Reviewed-on: https://gerrit.mot.com/2427231
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-11-14 04:37:25 -06:00
Xiaojun Lv
8f3edf4faa genevn: optimize touch nt36672c gesture for fw v08
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
2022-11-14 02:43:31 -06:00
Wenge Zhu
ecbc1bbf1f Fix goodix touch driver build error
When CONFIG_BOARD_USES_DOUBLE_TAP_CTRL macro not defined,goodix touch
driver will build error.

Change-Id: Ia4dd842a7255f2e954db9fbe151fda84ebda7320
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2428636
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-14 00:31:52 -06:00
Xiaojun Lv
210d3a0a6f genevn: optimize ili7807s gesture mode
tp:
Receive gesture type through extended API and remove redundant codes.

Change-Id: Ie528231b236cbd313c46bcc7fd5d2a49334a3f08
Reviewed-on: https://gerrit.mot.com/2426459
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-13 21:17:45 -06:00
Xiaojun Lv
bf0c03f708 genevn: optimize nt36672c gesture mode
tp:
Receive gesture type through extended API and remove redundant codes.

Change-Id: Icf76f9ef08e2ca49408b7f249e46cde5ec2b6c7f
Reviewed-on: https://gerrit.mot.com/2426065
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:27:22 -06:00
Wenge Zhu
c0c9a384cc Optimize FocalTech gesture mode
Receive gesture type through extended API and remove redundant
codes.

Change-Id: I9fe49271cd1ae2066f45796754484949e8826409
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425688
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:21 -06:00
Wenge Zhu
e81a2e15eb Optimize goodix gesture mode
Receive gesture type through extended API and remove redundant
codes.

Change-Id: I11d20bcebba4c00f352896f5fa8faed2aa2ab5fe
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2425685
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:18 -06:00
Wenge Zhu
1d1206c18f Rework cli gesture mode
1.Use same name node to receive gesture type notification.
2.Use extended api to notify TP driver gesture type.

Change-Id: Ice74f7b6081cf8a44c7fdc2cf19c022f79ec109b
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2424064
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Submit-Approved: Jira Key
2022-11-13 20:06:15 -06:00
[A
ede8130ea6 dynamic adjust vindpm
Details:
dynamic adjust vindpm

Change-Id: I1028138cbd5ee95c9a62d4c6114c5eeb8949ab58
Reviewed-on: https://gerrit.mot.com/2427536
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-11-11 04:29:30 -06:00
[A
fbda6c5497 dynamic adjust vindpm
Details:
dynamic adjust vindpm

Change-Id: Ic370abe44c39cda1f78407aee748b1bd812bbefe
Reviewed-on: https://gerrit.mot.com/2427537
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@lenovo.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-11-11 04:29:20 -06:00
litong20
ee381ff374 Support wireless power source as charger input.
sgm415x:
Support wireless power source as charger input.

Change-Id: Iad9cd8526aa1697b9d749264b27e1d0db06e0ac0
Reviewed-on: https://gerrit.mot.com/2417538
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-11 01:46:55 -06:00
litong20
c99b4911b9 Reconfigue the charger for user input or chip reset
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
2022-11-11 01:46:52 -06:00
xuwt2
18023a822f qti_glink_charger: fix build err
fix build err
qti_glink_charger/qti_glink_charger.c:685:12: error:
no member named 'tx_ept' in 'struct wls_dump'
                wls_info.tx_ept);
                ~~~~~~~~ ^


Change-Id: Ib00c2047d776b2a0b90d94fcd5efcbd25ab4c757
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2425752
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-09 22:11:23 -06:00
Yinjun Chen
03a21de1b2 fixup! (CR): qti_glink_charger: Checking wireless TX_MODE
For build error:
++++
/localrepo/hudson/workspace/SSH32_hiphi-g_userdebug_ms_r-q8450_test-keys_continuous_gc/platform/kernel_platform/msm-kernel/../../motorola/kernel/modules/drivers/power/qti_glink_charger/qti_glink_charger.c:684:46: error: expected ';' after do/while statement
                (wls_info.irq_status & (0x01<<12)) ? 1 : 0),
                                                           ^
                                                           ;

error, forbidden warning: qti_glink_charger.c:677:90
2 warnings and 1 error generated.
++++

Signed-off-by: Yinjun Chen <a7301c@motorola.com>
Change-Id: Ia36a5506201ba3426bf2b66085740a54456dc215
Reviewed-on: https://gerrit.mot.com/2425551
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
2022-11-09 20:33:13 -06:00
xuwt2
4088749529 qti_glink_charger: Checking wireless TX_MODE
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
2022-11-09 06:30:07 -06:00
Konstantin Makariev
a1aa0f60d9 drv8424_mmi: enforced fault state
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
2022-11-08 17:23:41 -06:00
litong20
2ec619a4b7 Juno: Keep the current limit unchanged.
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
2022-11-08 03:48:30 -06:00
[A
e3ae1f6a22 add IR comp require
Details:
add IR comp require for 2nd charge ic

Change-Id: I43f53246ebb6918bf49325b012f200dd8915428c
Reviewed-on: https://gerrit.mot.com/2419981
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2022-11-08 03:37:12 -06:00
wangyq13
999ed210ca input: ili9882_mmi: initial dda support driver v2.0
ili9882_mmi:
Add initial dda support driver v2.0.

Change-Id: I8140a21e191a7683eea2dab785a5ddb776508f94
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2422207
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
2022-11-08 00:21:46 -06:00
wangyq13
80f4582c2f input: nova_0flash_mmi: update dda driver to v2.0
nova_0flash_mmi:
Minor updates for safety coding in moto_ts_dda.c.

Change-Id: I6233fc159bb49e2fb6414743c441bfc157a7a20b
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2422204
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
2022-11-08 00:21:39 -06:00
wangyq13
9b4c9f024a input: nova_0flash_mmi: check whether panel exists
nova_0flash_mmi:
Check whether panel exists before probe:
- reduce boot on time
- don't set touch pin state, avoid impact other touch panel

Change-Id: I63f35d5af852477e9571680834087449601c2677
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2422379
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-07 23:58:20 -06:00
wangyq13
ecd6808e27 input: ili9882_mmi: move mmi and pen init to plat probe
ili9882_mmi:
Move mmi and pen init to plat probe, later than ili touch init itself,
avoid null point issue.

Change-Id: Idcec3bd9a5ad70e4aa6ee0f779bce923d9c7e379
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2422373
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-07 23:58:13 -06:00
weiweij
ee26b35a3a chg: let each project could use its own heartbeat work period
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
2022-11-07 03:28:46 -06:00
wangyq13
6cf5e0940d input: nova_0flash_mmi: change single+double tap command
nova_0flash_mmi:
Change single+double tap command to 0x03, as firmware required.

Change-Id: I1f57fafe22e1be52ebba5f1a34bba7628654a213
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2419982
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
2022-11-06 20:37:12 -06:00
wangyq13
b7a4c6e377 input: nova_0flash_mmi: add timestamp for touchscreen mmi
nova_0flash_mmi:
Add timestamp node for touchscreen mmi.

Change-Id: I11b9bcf010e5e939ad1c885c39eeaf767d335afb
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2417921
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-06 20:36:58 -06:00
wangyq13
1908fac4f7 input: ili9882_mmi: add last_event_time function
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
2022-11-06 20:36:49 -06:00
Wenge Zhu
a7bc913a11 Add debug log for fod key event
TP:
Add debug log for fod key event.

Change-Id: Ic1840e6545d84cc81a212cafa6b694f1649354c1
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2412661
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-11-04 04:58:31 -05:00
zhongcai ma
dd7b2010da mmi_info : add chipid info into bootinfo
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
2022-11-02 22:30:37 -05:00
wangyq13
b0b94292d7 input: ili9882_mmi: add single/double tap function
ili9882_mmi:
Add single/double tap function under touchscreen mmi interfaces.

Change-Id: Iecbab29e863fb6c4ab841ad6e1b5127887385c81
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2417521
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jing Hu <hujing3@lenovo.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-11-01 02:53:19 -05:00
hujing3
2d3917fa78 focaltech_0flash_v2_mmi: add productinfo node in touchscreen sys
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
2022-11-01 01:36:13 -05:00
weimh1@motorola.com
821a0568dd bronco/sensor: fix capsensor diff reg error
1.SX937X_DIFF_PHx is 4 bytes interval,not 12 bytes.
  2.sx937x_multi.c

Change-Id: I0bbd538bfed8d951c1d8cb08cab1525a7e305e47
Signed-off-by: weimh1@motorola.com <weimh1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2416957
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2022-10-31 01:41:07 -05:00
Wenge Zhu
9cbd3130c8 Use s-dt-gesture to report CLI touch gesture
TP:
Use s-dt-gesture to report CLI touch gesture.

Change-Id: I8f8c488a19ba7e0f535b5f63773d4ae4a5d7b210
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2415030
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-10-27 07:38:10 -05:00