Commit graph

836 commits

Author SHA1 Message Date
haojl2
efbe0ec3fa focaltech_0flash_mmi: Disable irq is gesture not enabled
TP:
If tp gesture is not enabled, disable touch irq when suspend, and enable
it in resume

Change-Id: I1a0973206e0bcd81c3dd020538c357b7913ad142
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1436140
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Submit-Approved: Jira Key
2019-10-13 23:01:30 -05:00
cuijy2
5ddcba53a1 sensor:change sx9331 enable logic
when enable channel
need enable all 5 channels

Change-Id: I64f5dd8d1eb172673185f4a0ee8233295bc67d41
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1425450
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-10-13 22:20:42 -05:00
Jiacheng Ou
b384a10446 sensor: modify sx933x kbuild
Some project no 'msm-*' under kernel dir,
modify kbuild to compatible.

Change-Id: Ie1c7697f004a746dbfe80a1557723e289427d421
Signed-off-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1436074
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-10-13 20:20:46 -05:00
haojl2
f5e7ca72cb nova_0flash_mmi: Change sensor flag into on-change
TP:
Change sensor flag into on-change sensor.
one shot sensor can not work normal for TDDI panel

Change-Id: Ia1a99650e0885187fea6bbcfdc36d4e484c4e17a
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1435388
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianlin Nie <niejl1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-10-12 02:22:15 -05:00
Jiacheng Ou
01ea848b31 sensor:sometimes avc error after reboot
Issue:
Sometimes avc error after reboot:
avc: denied { write  } for comm="capsense_reset" name="reset"
dev="sysfs" ino=54780 scontext=u:r:capsense_reset:s0 tcontext
=u:object_r:sysfs:s0 tclass=file permissive=0 pkg=""

Rootcause:
class_register logic:
-create sysfs dir 'capsense'
-send uevent 'add' to hal
-create sysfs file 'reset'
Most of times sysfs file haven't create while ueventd monitor 'ADD'
to fresh sys/class/capsense label as 'sysfs_capsense',file under
capsense will inherit /sys label ,which is 'sysfs'.

Fix:
Send uevent 'CHANGE' again to HAL,so that relabeling
'/sys/class/capsense/*'.

Change-Id: If6ddf3205a9f299e0617814d341827357ecb126f
Signed-off-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1434771
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key

Conflicts:
	drivers/misc/sx933x/Kbuild
Change-Id: I95404ee83cee74369af2c5b1a8e8152d3699300d
Reviewed-on: https://gerrit.mot.com/1435914
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-10-11 22:33:20 -05:00
haojl2
80dc7b44f2 focaltech_0flash_mmi: Change sensor flag into on-change
TP:
Change sensor flag into on-change sensor.
one shot sensor can not work normal for TDDI panel

Change-Id: I0a33ad017b2a11e86f3f437009904678509a9f22
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1435389
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianlin Nie <niejl1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-10-11 04:52:22 -05:00
Ryan Lattrel
1de11879a5 drivers: sx933x: add recal usb to Racer_turbo
Add config option to recalibrate upon usb insertion
for Racer_turbo target.

Change-Id: I6df5e56c5f8dca0982ef30b36b71e7b5b39aa7ee
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1433550
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2019-10-10 10:21:31 -05:00
haojl2
9964788faa goodix_gtx8_v1430_mmi: Add touchscreen class
moto touchscreen deiver need create some sys entries under
/sys/class/touchscreen to show touch vendor info.

Change-Id: I02bf3ce8a4067d86a734edcb5a536a16ffc339c4
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1434797
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-10-10 02:19:14 -05:00
Ryan Lattrel
9800f5c561 drivers: aw8695: add chip id 0x97
Add an additional chip id 0x97 to match evt
part change.

Change-Id: I2660c0f2694a8f4d5c1e3933ba44e02fe9542d86
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1432851
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2019-10-08 13:52:41 -05:00
Haijian Ma
2d9a9207f6 charging: add stop charging in STEP FLOAT
when in STEP FLOAT, charging will don't stop when current less than
charging iterm, so we add stop charging in STEP FLOAT.

Change-Id: I2c710dfd2b8026c57ca88a17b7d85cae7a241bbf
Signed-off-by: Haijian Ma <mahj8@motorola.com>
Reviewed-on: https://gerrit.mot.com/1430072
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-10-08 02:46:51 -05:00
Liyun Zhang
0dcc5135db Revert "(CR): power: qpnp-smbcharger-mmi: Allow force higher temp limits"
This reverts commit 961bfb3740bf72bd9769158b2750229bf17515e5.

Change-Id: I74c10175f7803d25ecf7957a51d5b14e6c1312fb
Reviewed-on: https://gerrit.mot.com/1433039
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Tested-by: Qiang Nie <nieqiang@motorola.com>
Submit-Approved: Jira Key
2019-10-07 21:00:30 -05:00
Cesar Santos
4bd9556c01 power: qpnp-smbcharger-mmi: Allow force higher temp limits
For testing purposes and due to continuous hardware modifications,
some temperature values may provide incorrect values due to
thermistor positioning or calibration. Hence, performing runtime
temperature limitation sets for internal testing can avoid
unexpected behaviors, l(CR) charging speed limitations.

Change-Id: I5016cd2ddeb7c8c3afbeb1277a208dbc80853709
Signed-off-by: Cesar Santos <cmsantos@motorola.com>
Reviewed-on: https://gerrit.mot.com/1432920
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2019-10-07 15:42:56 -05:00
Ravi Vembu
a4d4dd47bb regulator: slg: Add a delay after toggling reset
Add a delay after toggling reset. Otherwise the i2c i/o
timesout and probe fails.

Change-Id: Idf5c485cc8a77e0e849fe2b5e0b55d8b91e5a7ab
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1432708
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2019-10-04 16:44:29 -05:00
Konstantin Makariev
023cf626b1 sec_mmi: fixing compiler warnings
Change-Id: Ie4a4ef9e159bec8ffd7cab86b3d6ecd34e5c4d61
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1431578
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-10-02 13:21:33 -05:00
Ryan Lattrel
9321be4de3 power: p938x_charger: wireless charger driver bringup
Commit initial p9382 wireless charger driver. Firmware
programming and basic charging function.

Ported from: https://gerrit.mot.com/#/c/1141329/

Change-Id: Iee7913d57221cc13fd0bea902ce84671710d9a9a
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1418386
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-10-02 13:20:56 -05:00
liaohj
1929a78679 tas25xx_algo:add protection for tas25xx_set_profile
- fix StsHostTestCases - android.security.sts.Poc17_06#testPocCVE_2017_7369
- when sts test,  the profile_id is negative value.
  as <3>[   61.218757]  tas25xx_set_profile profile_id=-2147479279,param_id=0
   need to add protection.

Change-Id: Ia8eb4dc7a1a7ae869e3a254ed3cd0fa6b329c04b
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1431155
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-10-02 02:31:06 -05:00
Fernando Hortellani
8ad2f33e11 Fix cci_intf kernel module for 8250
CONFIG_SPECTRA_CAMERA has to be defined so that the
correct cci subdev is returned by cam_cci_get_subdev.

Change-Id: I98e4c8653fe50d88db58026509122261ce78fa9c
Reviewed-on: https://gerrit.mot.com/1428309
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2019-09-30 10:32:14 -05:00
Yan Zhang
92e5e859ae dlkm: add goodix fod driver
cherry-pick from (CR)
Goodix FOD driver is used for Goodix G5-GW9608
Fingerprint Over Display (FOD) sensor.

Change-Id: I31a45ec4239d63bcc520013e63ba7da1c900fb85
Signed-off-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-on: https://gerrit.mot.com/1402926
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-26 22:46:49 -05:00
Konstantin Makariev
80f24245c7 goodix_gtx8_v1430_mmi: proper avdd/iovdd handling
Touch power supplies AVDD and IOVDD might not be always on and then
kernel driver needs to vote for them. Adding optional handling for
avdd and iovdd. Both power supplies can be configured in device tree

Change-Id: I9e22a4e1fe18c9d1e36defe7c98ce6c3852b722b
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1428943
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-26 18:57:17 -05:00
wengjun1
ce77347141 DLKM: Sync focaltech_0flash_mmi code with bq-sh2019
- (CR): focaltech_0flash_mmi: set deep sleep when predict failed
- (CR): focaltech_0flash_mmi: set reset pin to 0 if vio is close
- Release all fingers when resume

Change-Id: Ia6b8169d560951c3407a8c2b28b2d21d071bf710
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1427799
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-09-26 02:09:07 -05:00
haojl2
d2b208e3c5 nova_0flash_mmi: return specific value when gesture on
TP:
When gesture is on, LCD need use different suspend command.
Return specific value to LCD to tell current gesture state.

Change-Id: I79e57f448d38d1077f86748d2cacf88e3a74b4e0
Signed-off-by: haojl2 <haojl2@motorola.com>

(cherry picked from commit aa605c8d93b9c8258ad3e2133894330aa7f99713)

Change-Id: I79e57f448d38d1077f86748d2cacf88e3a74b4e0
Reviewed-on: https://gerrit.mot.com/1426753
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Submit-Approved: Jira Key
2019-09-25 21:56:04 -05:00
Eric Jeong
017ea66e94 regulator: slg51000: add slg51000 regulator driver
Adding regulator driver for the device Dialog SLG51000.

The SLG51000 device contains seven compact and customizable low
dropout regulators and is designed for high performance camera modules
and other small multi-rail applications.

Change-Id: I871afe5c6b2f9e32e73696519983db33b04feeb6
Signed-off-by: Eric Jeong <eric.jeong.opensource@diasemi.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: I871afe5c6b2f9e32e73696519983db33b04feeb6
Reviewed-on: https://gerrit.mot.com/1412454
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2019-09-25 18:39:43 -05:00
huangjq9
4efcb687cd sarsensor: fix usb_cal issue for a96t device
When the power state is changing, which causes the USB plug to be mistaken,
and the sar sensor is calibrated.

Change-Id: Ia844dd891bc1301c7fa2f73617db92ccbdb6a435
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426418
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-25 01:27:50 -05:00
Konstantin Makariev
1b6602c55c sec_mmi: option to reset on resume
Enforcing SW reset on resume. Type of reset can be configured via device
tree option sec,reset-on-resume, which now accepts an argument. Type 1
correspods to HW and 2 to SW reset.

Change-Id: I751cfbe1d19a9e583def7e7889ee914a999bd542
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1425966
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-24 15:12:01 -05:00
Ravi Vembu
42ae217f7d stmvl53l1: Fix Compiler warning
Remove unused variable to remove compiler warning for laser driver

Change-Id: Ic45344db08ae125c00cb71621f8c63ee89293132
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1427326
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2019-09-24 14:50:02 -05:00
haojl2
97b44ebfa2 goodix_gtx8_v1430_mmi: Set FW name in dtsi
TP:
Moto TP FW upload script is not bringuped for this driver.
So set firmware name in dtsi for racer lite.

Change-Id: Ia65ddf142e01c08448e23e88ae8116e623c18ac1
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426485
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-23 10:36:24 -05:00
haojl2
ef333d8cde goodix_gtx8_v1430_mmi: Add ts_tools code
TP:
Add ts_tools code. Which helps to tuning TP FW.

Change-Id: I5262226b7e17a141cafc1d9ccd7a944e463b48f6
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426464
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-23 10:36:19 -05:00
haojl2
5d423641e6 goodix_gtx8_v1430_mmi: enlarge config mas size
TP:
enlarge config mas size

Change-Id: Ia86024c08eeddb91540a94f2d694de4ae615ec60
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426463
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-23 10:36:14 -05:00
haojl2
aee37f56c2 goodix_gtx8_v1430_mmi: update FW automatically
TP:
Moto TP FW upload script is not bringuped for this driver.
So update FW automatically when bootup.

Change-Id: Iabc14f37f0207bd535f25e02574ef9eefae8b358
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426462
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-23 10:36:07 -05:00
haojl2
0ab2ef53fd goodix_gtx8_v1430_mmi: Add update firmware code
TP:
Add update firmware code

Change-Id: I2837a2b80dfaf11d265756eb07872fb9e9ce7721
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1426318
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-23 10:33:31 -05:00
xuwt2
5d98b519fb power: correct the registers address for pm660
Two function registers address form PM660 are different
with other PMICs:
PM660:
1341: USB_CMD_ICL_OVERRIDE
160B: POWER_PATH_STATUS_REGS

Other PMICs:
1342: USB_CMD_ICL_OVERRIDE
110B: POWER_PATH_STATUS_REGS

Change-Id: If1c2bcacf498281bf1b4156b65021e9b83c44041
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1426165
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-09-23 05:51:31 -05:00
Konstantin Makariev
635eb460c4 sec_mmi: enforce charger detection option
Make sure all charger detection code only executed when option is
enabled in device tree.

Change-Id: I1f195947313a874d534d8ea89833c17ec4ee6ee6
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1424713
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-20 09:34:57 -05:00
Weilong Wu
5e67ae4b6c dlkm: aw8624: update haptic driver
1. Support to call different seq wave on haptic.bin
   and make it as an dts option "vib_ram_config"
2. Update some patch from vendor.

Change-Id: I0381fe51fa3389eaba67a897d461b72ee42d7e0d
Signed-off-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/1422693
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-18 05:52:40 -05:00
haojl2
f1579106a1 goodix_gtx8_v1430_mmi: load cfg file based on dtsi value
TP:
If dtsi set cfg filename, use this value instead of default filename.

Change-Id: Ifc4482a8bfa90e173b3b3360a5f3b480d259c41e
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1422709
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-09-18 01:39:51 -05:00
haojl2
8044cc9447 goodix_gtx8_v1430_mmi: Port goodix v1.4.3.0 driver code
TP:
Port goodix v1.4.3.0 driver code.
Only add basic touch function code.

Change-Id: I4b1fdb548de76c65ad18994ebb6b0362d3496db3
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1422708
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-09-18 01:39:46 -05:00
hechuang1
1a26b53811 Enable swipe fingerprint for notifications
Set Sofia FPS position as 0
Set Rav FPS position as 0

Change-Id: Icaa06e6e8443d7a672d372Montana0798fec4bdceceb
Reviewed-on: https://gerrit.mot.com/1423235
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-18 00:59:14 -05:00
wangyq13
7b9296be2a input: himax_v2_mmi: add compatibility for different panels
himax_v2_mmi:
Use /chosen/mmi,panel_name to support compatibility for different
panels, use different touch firmware and test csv.

Change-Id: Id60f9af95e075e83a8d1121cda22f5c98a8a7132
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1422872
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: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-17 23:53:17 -05:00
haojl2
cebf400acd focaltech_0flash_mmi: set deep sleep when predict failed
TP:
When gesture predict failed, restore IC into deep sleep mode.

Change-Id: I0469cd3cfb464e80e192a2ee62f4fc08db208d72
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1416389
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit e75dddff6d5c196de06f5cfc4d1e427164e5da92)
Reviewed-on: https://gerrit.mot.com/1417039
Reviewed-by: Hujun Liao <liaohj@motorola.com>
2019-09-17 22:20:18 -05:00
xiasd1
d832439aa0 Add sensor type 'double tap' to kernel
For support double tap gesture based on touch,
add type definition for virtual sensor 'double tap'.

Change-Id: I16e88e951946d89cf2ceb7885852972bfb01e59c
Reviewed-on: https://gerrit.mot.com/1422623
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-17 04:30:38 -05:00
yanyh2
fd106d73c0 add calibration_data node to laser sysfs
Add calibration_data node to laser sysfs:
/sys/devices/virtual/laser/stmvl53l1/calibration_data

Change-Id: I13b71671c81b3e0b9f0031e64866680f26161a12
Signed-off-by: yanyh2 <yanyh2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1420664
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-09-14 00:20:54 -05:00
Konstantin Makariev
9bee68c956 synaptics_mmi: keep power supplies on in suspend
When touch IC kept in LPM, it's imperative VCI and VIO power supplies
stay on. Driver won't turn power supplies off whenever touch IC is
supposed to stay in LPM. Will use splash screen mode flag to trigger
this behavior.

Change-Id: I07b5758fc31fb6a814ec41d70c40c5044cc55fd8
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1420815
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-09-13 09:34:25 -05:00
Weilong Wu
7ee52787c8 dlkm: support different vibrator on aw8695
Change the vibrator work freqency as a dts option to
make different project can configurate different vibrator.

Change-Id: I1af4361249f507d6904054e9cdf9b88a55ea8ff1
Signed-off-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/1421150
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-13 04:24:09 -05:00
chenlj2
8c05015b08 sar-sensor: enable the USB_CAL for Rav NA
Enable the macro of USB_CAL,
sar-sensor will be calibrated when USB plug.

Change-Id: Ib95e9a55801a39b85021a64ac57bbc1a170db4fe
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1420260
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-09-12 01:04:20 -05:00
huangjq9
07675b1874 sar-sensor: enable the USB_CAL for Sofia_NA/plus
Enable the macro of USB_CAL,
sar-sensor will be calibrated when USB plug.

Change-Id: Ifa90c54da8d22580975829f5c0c5ccaa0372fcd1
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1418438
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-11 03:05:28 -05:00
liuyc20
684f7bb43c VL53L1: kzalloc clent_object failed then free
fixed error logic code.
it should detect vl53l1_data->client_object not NULL
rather than vl53l1_data point.

Change-Id: If83c26a6550af58dd9b07cfe8f8422dc6f3d6f82
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1417028
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-10 23:46:57 -05:00
Sergio Vilela
b9cb43f337 Revert "Revert "(CR) utags: replace boot device with platform path""
still under discussion

This reverts commit 4e05273e518906a9f24ce0bbe832bef858208f9b.

Change-Id: Ia8c766489f2b281dd87de7da44080b8ea2ecf9a0
Reviewed-on: https://gerrit.mot.com/1419118
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Sergio Vilela <sv008@motorola.com>
SME-Granted: Sergio Vilela <sv008@motorola.com>
Submit-Approved: Sergio Vilela <sv008@motorola.com>
Tested-by: Sergio Vilela <sv008@motorola.com>
2019-09-10 16:17:10 -05:00
Sergio Vilela
e8a0262efa Revert "(CR) utags: replace boot device with platform path"
(CR) - Chef_Q : Device is not booting

This reverts commit a9ae345822bc994facb913c6bd316474bf2cd4d3.

Change-Id: If3aMontana7c6ccfbf177cf42f0f49ce31a9ece19549
Reviewed-on: https://gerrit.mot.com/1419083
Reviewed-by: Sergio Vilela <sv008@motorola.com>
SME-Granted: Sergio Vilela <sv008@motorola.com>
Submit-Approved: Sergio Vilela <sv008@motorola.com>
Tested-by: Sergio Vilela <sv008@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
2019-09-10 15:57:43 -05:00
a7301c
c08fc6ab9a camera: cam_cci: Update camera driver path
Details refer to commit in kernel:
1fbb537 msm: camera: Remove camera codebase from kernel project

Change-Id: Ib00a269a319960cb185efc4565d805c212666ab2
Reviewed-on: https://gerrit.mot.com/1418794
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
2019-09-10 10:47:43 -05:00
liaohj
6afcdf496b :ti2558 :disable smart pa irq pin pullup
1.disable smart pa irq pin pullup
- for smart pa irq pin, need defalut pullup
- currently,smart pa internal pull up and ap side donot pull up.
- it is ok for smart pa interrupt,but because gpio 100 is for boot config
- pin,so when warm reset, smart pa internal pull up will cause to
- enter 9008,no ramdump.
- change to ap side irq pin pullup,and ti2558 do not internal pullup.
2.fix right speaker no interrupt.

Change-Id: I823c10d7354c4a37014d879542fc2c7937600996
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1418606
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-10 03:37:18 -05:00
Konstantin Makariev
d58bd3c6de synaptics_mmi: allocate common patches once
Sleep and force update patches should be allocated once regardless
how many instances of the driver running.

Change-Id: I94262d172780740c5cb571de6ece8d9fcface618
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1418308
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Qing Chang <qing@motorola.com>
Submit-Approved: Jira Key
2019-09-09 14:33:16 -05:00