Commit graph

2,776 commits

Author SHA1 Message Date
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
wangyq13
754ab91470 input: nova_0flash_mmi: add dda alpha1.00 driver
nova_0flash_mmi:
Add dda alpha1.00 driver codes.

Change-Id: I9e92a18b2a22f315b41c4b865c4d9cc6aa4ac8f0
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2413724
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-10-26 06:16:03 -05:00
wangyq13
9b1df89eea input: nova_0flash_mmi: set pen flag when resume
nova_0flash_mmi:
Set pen flag when resume and download firmware complete.

Change-Id: I1e5f765a5a13a99e82275a085125854c368ee2ed
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2412109
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: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-10-25 21:21:25 -05:00
wangyq13
559f5ff2cb input: nova_0flash_mmi: use different touch state macro
nova_0flash_mmi:
kernel 5.4 and kernel 5.10 msm drm are different, so need use different
marco to control msm_drm.ko dependency.

Change-Id: I079e3fd3649dadbcb8bb6f427b6475587995b644
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2412213
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-10-24 20:50:55 -05:00
wangyq13
699b23166f input: nova_0flash_mmi: add double tap support
nova_0flash_mmi:
Add double tap support, use touch_set_state to nofity display driver
for tddi chip.

Change-Id: Ibf3e0c1e1627ca152586159afc89d7f7b7c50fab
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2410764
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-10-23 21:55:55 -05:00
Chunyu Fan
129ec7d7e9 Fingerprint timing sequence error
When fingerprint module power-on control reset to up level, cancel
delay.

Change-Id: I3e55c19ea12eb6be31fd97ce889079b060065e73
Signed-off-by: Chunyu Fan <fancy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2410817
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-21 02:01:10 -05:00
chenlj2
624b2f87e5 dlkm:optimise report function for pen
revert https://gerrit.mot.com/#/c/2409191/
above submit that cause pen didn't work
optimise report function for kernel panic
add NULL judge

Change-Id: I4ce63ced28120c9b6d22fbdf5a84af2d858ac1b4
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2409699
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-10-20 20:53:29 -05:00
hujing3
54ec0f20b5 nova_0flash_mmi: add touch point timestamp
nova_0flash_mmi:
add touch point timestamp to improve backtap

Change-Id: I60bf3defe54cd03bd1d7e7ef15c9e12b75f658a5
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2409617
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-10-20 19:09:50 -05:00
hujing3
44bd655a67 focaltech_0flash_v2_mmi: add touch point timestamp
focaltech_0flash_v2_mmi:
add touch point timestamp
to support backtap improvement

Change-Id: Idc205fdb69de0db0b47e0002f2b6776de823f139
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2409485
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: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-10-20 19:09:39 -05:00
chenlj2
037d1964af dlkm:optimise pen probe & report function
need report pen status after pen is enable
solve kernel panic issue when phone startup sometimes

Change-Id: I8ea796fc71ccdb5853e10e600e2093c9ee3fa3ab
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2409191
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-10-20 01:39:38 -05:00
Chunyu Fan
d68c51f1f9 qti_glink_charger: Add wls tx id&sn
To be compatible with the next generation wireless charger
Add to support ask Tx id&sn from wireless charger

Change-Id: I9d2fb107e51cce7c4e18bc1b997a15f877453c68
Signed-off-by: Chunyu Fan <fancy3@motorola.com>
Reviewed-on: https://gerrit.mot.com/2403120
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-10-18 22:13:51 -05:00
xuwt2
3c9aa14a44 qti_glink_charger: Add wls tx capability
To be compatible with the next generation wireless charger
Add to support ask Tx Capability from wireless charger

Change-Id: Ib137027bfd5cbe9bbd6a9f44a44cfe67bbf06bf2
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2392470
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-18 22:09:21 -05:00
wangyq13
04e216f361 input: ili9882_mmi: set fw ready flag when download complete
ili9882_mmi:
Set fw ready flag as true when firmware download is complete.
Then pen can set its flag to touch ic.

Change-Id: Ib7866c831e906d65ca1d227acdbaa975b6401918
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2406397
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-10-18 04:55:51 -05:00
Simon C
2fba50bbde Geneva5G NA: Optimized the loading time of wl2864c
Details:
Closed the useless dump reg logs of wl2864c
If we need these logs, open the debug level log

Change-Id: Id7f94fc69569c83f38bedf96fc1a07bd9bf8002b
Signed-off-by: Simon C <chenzm8@motorola.com>
Reviewed-on: https://gerrit.mot.com/2405622
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <wangdp11@motorola.com>
Reviewed-by: <huqian4@motorola.com>
Reviewed-by: <hezheng1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-10-17 21:17:04 -05:00
Wenge Zhu
c4fe39e1fe Support touch high resolution
This new protocol supports touch high resolution,for example 8X/10X/16X,
but it's not compatible with previous protocol,so need use macro to control.

Change-Id: Ib9e8590cd3cf05ba88b83f33fab552909c2d9a5e
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2399367
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2022-10-14 09:28:50 -05:00
wangyq13
e315ba74d2 input: ili9882_mmi: change pen and charger detection values
ili9882_mmi:
Change pen and charger detection values, according to touch firmware.

Change-Id: I5fa31f7eea23d8ee80d8f55fa8a4e5318dbbe936
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2402943
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: <lvxj4@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-10-13 22:12:33 -05:00