WHAT: This changes restrict the recent impletementation of usb detection
at focaltech fingerprint driver so it does dot affect _FT8726
WHY: At current implementation of usb detection, _FT8726 causes a
kernel panic when the USB cable is connected. _FT8726 cannot set
the register that fts_mcu_usb_detect_set expects it to have, so it
holds a mutex, fails to set the register and panics at
___might_sleep. The support of us detect is handled by
FTS_USB_DETECT_EN, so disable it for _FT8726
Change-Id: I7be8eff1b9b23190a5165f6486bbfd0959eae6b4
Reviewed-on: https://gerrit.mot.com/2675494
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Pedro Tadahiro Kaneko <pedrotfk@motorola.com>
Reviewed-by: Claudio Junior <claudioj@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Add typec CID event for notification between modules
who need to be notified.
Change-Id: If07c5c0d34ea9dcd3ca79075b6bff86852e562a5
Signed-off-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/2674695
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
WHAT: Implement wlc_tx_capability to report if the current charger supports led
and fan. Use the same op_mode flag that was used at wlc_fan_speed and
wlc_light_ctl to identify the support.
WHY: Wireless Charging HAL 2.0 needs the wlc_tx_capability to identify which
feature is supported, and that was not needed at HAL 1.0, so miami could
control the 50W charger. After upgrading the HAL, miami could not control
the 50W charger anymore, which was a regression.
Change-Id: I312d7b77ca6d79e41d420e87e024842e0c22520c
Reviewed-on: https://gerrit.mot.com/2649794
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Optimize mistake touch when phone on pocket both on display on and
display off scenarios,more than or equal 70% touch area touch FW will
report palm event and event will be dropped.
Change-Id: I3c4ba8d093d889189c1eada93836948459cb33ef
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2666127
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
This reverts commit 840ef5295c0b5c6edca8cbeaaa30793c797f64bb.
This change is breaking several builds on Android T and U:
Example:
https://jenkins.mot.com/job/T2SR33_rhode-g_userdebug_mr_r-qsm2020_test-keys_continuous/https://jenkins.mot.com/job/UTGN34_genevn-g_userdebug_ms_r-q8450_test-keys_continuous/
Error message:
In file included from build/make/core/binary.mk:9:
build/make/core/base_rules.mk:335: error: vendor/st/laser_daemon/vl53l1_test: MODULE.TARGET.EXECUTABLES.vl53l1_reg already defined by motorola/kernel/modules/drivers/input/misc/vl53l1_test.
06:28:17 ckati failed with: exit status 1
Change-Id: I5a253adf9c1be3d6a31e4d597b9a8ea269b2ec3f
Reviewed-on: https://gerrit.mot.com/2660663
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Gilberto Gambugge Neto <gambugge@motorola.com>
Submit-Approved: Gilberto Gambugge Neto <gambugge@motorola.com>
Tested-by: Gilberto Gambugge Neto <gambugge@motorola.com>
1.KEY_FX will report to APP and this may cause APP mistake reaction.
2.Change touch gesture mode key values:
single tap: KEY_F1 -> BTN_TRIGGER_HAPPY3
zero tap down: KEY_F2 -> BTN_TRIGGER_HAPPY4
zero tap up: KEY_F3 -> BTN_TRIGGER_HAPPY5
double tap: KEY_F4 -> BTN_TRIGGER_HAPPY6
Change-Id: I9e732020e4ad78b05ee1aa42e7e68a8952716392
Signed-off-by: Wenge Zhu <zhuwg1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2655037
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
In order to track the usb abnormal disconnect problem,
open some log about usb in factory version recommended
by Qualcomm for bangkk.
Change-Id: If317121e650bd48fd09e50825ecd3fa83cc77c02
Reviewed-on: https://gerrit.mot.com/2654715
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zonghua Liu <a17671@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Add st54spi_gpio driver for ST54L eSE
It is used for QC esepowermanager to reset eSE
Change-Id: Ie4e88f6ea56c3d60f90e88e750be6b25c0500508
Signed-off-by: zhuangnk1 <zhuangnk1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2654151
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Porting from
1. (CR) aion: dlkm: Support game idle scan rate feature
for ft3681,https://gerrit.mot.com/2538693
- Support for game idle scan rate feature, keep 1500hz scanning
frequency for 10 seconds when entering idle in game mode.
2.(CR) aion: Change edge suppression cmd in normal mode
- To prevent conflicts with edge suppression commands in game mode,
match firmware to change edge suppression commands in normal mode.
Change-Id: I6303d367752d9bf7709e1b42df4fa2ce6c5fd33b
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/2649117
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Added support for clip area feature. This alows suppressing touch
events reported outside or from within the clip area.
Change-Id: I2fccf524df373a5a3848d884f2ecf33d4e667f5a
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2642708
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
This introduces a new class method to suppress touch events sourced
outside or within specified clip area. To enable suppressing touch
events reported outside specified clip area, add the following DT
property:
mmi,clip-area = <xUL yUL xBR yBR>;
Suppressing touch events from within requires DT property:
mmi,clip-inversion;
Class driver's method will send forced lift event when an active
touch moves outside/within clip area and indicate this to the vendor
driver by setting type to TS_COORDINATE_ACTION_FORCE_LIFT in
touch_event_data structure.
Change-Id: I327af4441e179e381be97cb8083698d76882caa8
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/2641660
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <zhuwg1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
Following changes are made to fix Devon build issue:
- conditionally enable spi CS Hold Time feature based on product flag
- include proper spi header file depending on kernel version
For details please refer to: https://gerrit.mot.com/2630767
Change-Id: I7d1e6e55ccde912442f11c71f1f92e5302318315
Reviewed-on: https://gerrit.mot.com/2637062
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Bruno Oliveira <brunosoe@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Capacity is not getting updated because of wrong status
being checked by update capacity. Force updating battery
status before reading it to decide about updating capacity.
Change-Id: I1d8f68d7fb855aa878284b34303d04ccf1c5c2ab
signed-off-by: brunosmp@motorola.com
Reviewed-on: https://gerrit.mot.com/2633986
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: litong <litong20@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key