Commit graph

320 commits

Author SHA1 Message Date
haojl2
e1dcbeffdf himax_mmi: suspend IC when EARLY_EVENT_BLANK triggered
LCD driver will turn off VDD power after EARLY_EVENT_BLANK event sent.
So TP driver need suspend IC when got this event.
Otherwise, I2C transfer timeout will happen.

Change-Id: I181377fc88a00ffed2e7fefd305ff2e2e4e04ade
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1223414
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
2018-08-30 01:34:47 -05:00
Wen Xie
ffc0a5711c sx9325: When system suspend,disable hardware irq scan.
- the current driver only disable system irq,
  and not disable hardware irq,maybe cause irq imbalances;
- update reset method.

Change-Id: I14bea213005916ae858f492f6893a08c2d821fd3
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1233351
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Nan Wu <wunan3@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2018-08-29 03:08:45 -05:00
xizx
ccbbd6e0d0 mmi_info:print the boot sequence when system boot
Change-Id: Ida8a1e4d5b89a4056b094a25896ca112d7d71781
Signed-off-by: xizx <xizx@motorola.com>
Reviewed-on: https://gerrit.mot.com/1234151
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2018-08-28 22:33:47 -05:00
Kaio Karam Galvao
07978a2509 Update VL53L1 ToF makefiles
Adjust VL53L1 ToF driver makefiles to build
as a loadable kernel module.

Change-Id: If9e414e4a9c9e17dee6ebf5c31532aac0cbadb26
Reviewed-on: https://gerrit.mot.com/1233053
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-28 16:05:40 -05:00
Kaio Karam Galvao
3ce14a4680 Apply mot changes
Mot changes ported from 8998 Android O:
(CR): 8998: ToF sensor VL53L1 bring up
(CR): change netlink protocol ID
(CR): moto change for TOF_INT
(CR): update pinctl and regulator for power
(CR): 8998: To make laser sensor work on Nash DVT1B
(CR): moto changes on 7.2.1
(CR): implement sar function
(CR): turn off l22 when sensor is off
(CR): Apply moto changes based on new ST driver 8.0.0_b4.1.0_1268
(CR): adjust xtalk value per ST's request
(CR): fix laser autonomous mode issue
KSWN-43010: fix black target at 0mm range issue
(CR): [CTS] Nash ATT: 4 failures on Module CtsSensorTestCases
(CR): unlock ipp_mutex in ipp_in_process to avoid deadlock.
(CR): Set timing budget for SAR mode
(CR): Add default calibration

Change-Id: Ieebb105bf64706d3ef6df9141a0ba8d1989290ac
Reviewed-on: https://gerrit.mot.com/1233052
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-28 16:04:56 -05:00
Kaio Karam Galvao
9b0351c110 Add ST VL53L1 driver code
Initial VL53L1 driver code from ST
Maintenance 2 release.

Change-Id: I348d99b48ae0b528a70a87f0ac93b813a1df8d0c
Reviewed-on: https://gerrit.mot.com/1233051
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-28 16:04:02 -05:00
Kaio Karam Galvao
140506b2cd Remove vl53l1 ToF test driver
VL53L1 test driver was added to fix TCMD compilation
errors. ST shared official Maintenance release #2
driver, so test driver not needed anymore.

Olson is the first program to use ToF as DLKM, so it
will not impact any NPI/legacy programs in 'bo' branch.

Change-Id: Idf4add39ca9fcf77b27296e0ca6a82ec40c08a59
Reviewed-on: https://gerrit.mot.com/1233050
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-28 16:02:59 -05:00
Wen Xie
e5ac8247cd sx9310: When system suspend,disable hardware irq scan.
the current driver only disable system irq,
and not disable hardware irq,maybe cause irq imbalances.

Change-Id: I95bbad30e4940fb9665f8c02de8e7a75a9f54191
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1233341
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-08-27 23:49:35 -05:00
wengjun1
e2ca76c9c2 DLKM: input: Improve novatek touch driver
- Remove the ret=0 since it may potentially overwrite the
error code.

Change-Id: Iaf4669f4caa75938daf7fb13b268dea3b4c2b67c
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231504
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-08-27 00:42:35 -05:00
cuijy2
61853faa7e Sensors:add capsense sx933x usb and headset calibrate
Change-Id: Iab54aed1244a833adbec8011bbe522f4a074d75e
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1230951
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-24 01:00:31 -05:00
Yoon (Seungyoon) Lee
c8073dc181 ASoC: madera: report QDSP/LPASS SSR to soundcard
Cirrus madera codecs don't have a mechanism to report QDSP/LPASS SSR
to AP over soundcard status change. Add logic to reflect LPASS status
to soundcard, so AudioHAL can monitor and trigger necessary code on SSR.

Change-Id: I93de60b97b8baea0dc6b7cea0fee1f7a4f9219d1
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1219154
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
2018-08-23 15:49:17 -05:00
Konstantin Makariev
9f46f92eb9 utags: assign proper access permissions
Assigning proper access permissions to folders and files

Change-Id: Iea2635faee0b3eae1959d3b0089d9c3f27c3920d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231861
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-23 15:11:45 -05:00
Konstantin Makariev
282414bc7f fixup! (CR) synaptics_mmi: support splash screen mode
Mot-CRs-Fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: Ib485c60e2e4f85fcb4873c2866127d0d581c6b06
Reviewed-on: https://gerrit.mot.com/1228687
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-23 08:26:50 -05:00
Kenny Kessler
43ee289a41 power: qpnp-smbcharger-mmi: Merge FG Capacity
If the system has multiple Fuel Gauges and if 2 are defined
with names in the DT then use them to merge a Capacity
so that the combined percentage is reported to upper
layers.

Change-Id: Ic349cd72d088eef3da7a52e847f72a42c8059d33
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231212
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2018-08-22 11:55:00 -05:00
Kenny Kessler
e6cfa933fc power: qpnp-smbcharger-mmi: Set 5V to 9V
The USB Input voltage should be 5V to 9 V.

Change-Id: I2cd1976feb4c80ff5f02fa232eec3da0ff65cdac
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231211
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2018-08-22 11:54:57 -05:00
dengwei1
068f6a1035 channel: input update nova touch get charger state
Change-Id: I4b0d8555fbd71a61cdf14ef7918bddc7dda09488
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231294
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-08-22 01:50:05 -05:00
haojl2
ca815d8680 input: ets_fps_mmi: default Disable single and double click
Disable single and double click as default.
If those gestures are needed, enable them l(CR) HORIZON gesture.

Change-Id: I08fb8757c21870b85d0f84cf677a755b1e35e4c1
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231254
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-22 00:50:19 -05:00
haojl2
06f38f28c5 input: ets_fps_mmi: Add navigation support.
Enable navigation if FPS_NAVI_ENABLE is true.

Change-Id: Icb0eac36866fc2afcbde0bec1b0404363cb6694a
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1231215
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-21 22:14:01 -05:00
wengjun1
7ddcbe5f89 DLKM: input: Improve novatek touch driver
Fixed the logic which causes the node /proc/nvt_read_data
can not to be created.

Change-Id: I6e0814297c4ef683ef79055072d2f5e7e385006a
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1230750
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>
Submit-Approved: Jira Key
2018-08-21 04:35:28 -05:00
wengjun1
afa582b8b0 DLKM: Improve novatek touch driver
- Fixed kernel crash when rmmod because some resources
are not released correctly.

Change-Id: If268700fb1677f390de6e0c252ed5cea60b2edbe
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1230718
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-08-21 04:35:13 -05:00
xuwt2
d1f48b738a power: adjust 27w charge policy, optimize charge performance
-1,add force_pmic_chg judgement lable in order to avoid recovery
   paralle charge when the thermal zone was changed

Change-Id: I2e1a9fe3ae564b6a58957c4e5eb5f640e234d737
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1230716
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
2018-08-21 03:30:32 -05:00
wengjun1
8fdf190aee DLKM: Improve ili9881h touch driver
- Change the permission of nodes which under /proc/ilitek
from 0666 to 0444 for security.

Change-Id: I9eb0155a418b2ca23503c4aea81c589b2fba4bf5
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228834
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-08-20 22:29:29 -05:00
Kenny Kessler
74f6fbf6a2 power: qpnp-smbcharger-mmi: Proxy for Current Max
mmi_battery needs to be the proxy for setting CURRENT_MAX
so that the PMIC can setup other registers needed for
configuration but not accessible inside the qcom driver.

Change-Id: Iddab07d043b93fbfe26ab574c59f72e33da6799c
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1229356
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2018-08-20 08:20:49 -05:00
Kenny Kessler
df125b0879 drivers: mmi_muc_uart: Add Power Control
Add the Power Control interfaces as well as configuration
to the other power subsystems when messages are needed.

Change-Id: I4d8d518b853538e5865402a7b40e5c7236965725
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1229355
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2018-08-20 08:20:46 -05:00
dengwei1
583e0e77bd channel input: add himax touch support
Change-Id: I079cea0e86197ee980f6af6e535303dedb227eff
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1229537
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-08-20 00:11:55 -05:00
yangjq
04b5986bfb Support specified seq and extra for various vibrating effect
The first 1 second vibrating would vibrate as a short vibrating
by "else if (value < 100 || aw869x->seq != 0)" because default
aw869x->seq is 0x01000000.

So fix it.

Change-Id: I3903ffd745cfeca63a72b5047ad5ad2867af822a
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1229442
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-18 05:54:34 -05:00
Yoon (Seungyoon) Lee
ba4251d211 modules: cspl: implement multiple sets of tuning tables loading
read product specific usecase index from kernel dt and use those to
communicate with SE module in QDSP/LPASS. AudioHAL will use these indexes
to load external configuration files to corresponding usecases in QDSP.

Change-Id: Ic2e6473f2ec1437aa674a579cd12e3ca96aca480
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228726
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2018-08-17 19:36:49 -05:00
Dharmesh Patel
ff4f01d8a8 Revert "(CR) Sensors:add capsense sx933x usb and headset calibrate"
This reverts commit f1f464c061c8d1da51017f76a5ae8b5d5b9468fc.

  CC [M]  ../../motorola/kernel/modules/drivers/misc/sx933x/sx933x_sar.o
  /localrepo/a22472/5g/kernel/msm-4.14/../../motorola/kernel/modules/drivers/misc/sx933x/sx933x_sar.c:410:2: error: unknown field 'class_attrs' specified in initializer
  .class_attrs  = capsense_class_attributes,
  ^

Change-Id: I3795dddd352884c037fb02c50613511a3281b74b
Reviewed-on: https://gerrit.mot.com/1229396
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yin-Jun Chen <a7301c@motorola.com>
Submit-Approved: Jira Key
2018-08-17 16:26:06 -05:00
Yoon (Seungyoon) Lee
198874112b modules: cspl: check new context creation
check current and new usecase index and invoke QDSP/LPASS
new context creation only when there is actual usecase changes.

PROPAGATED_from: (CR)

Change-Id: Id335d253efaa1c0974715568233c8e91819b7d43
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1226431
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
2018-08-17 15:10:41 -05:00
Balachandar Swami
f6b9b6da61 nfc: st21nfc: cleanup logging
1) Removed statments responsible for spamming
2) Cleaned up others to use same pr_fmt so its easy to filter all
st21nfc log statements


Change-Id: Ie44a8a559b97e67fc3417eb7adb12e209dbc5eb3
Signed-off-by: Balachandar Swami <w60013@motorola.com>
Reviewed-on: https://gerrit.mot.com/1227600
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-17 13:02:11 -05:00
yangjq
ca568d14d4 Support specified seq and extra for various vibrating effect
Change-Id: I1b99f7abdfa722f611b06bce2d7c3f3472ba248b
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1229028
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-17 06:19:24 -05:00
xuwt2
b1232dce25 power: adjust 27w charge policy and parameters
-1, add force pmic chg functions.
-2, change the thermal policy, force to only pmic chg
    when the thermal level equal the max level.
-3, change the debug print level, only print MOTO_INTERRUPT

Change-Id: I2fb37bbdb9bbd32866e5a7e7af773dfea72f5e99
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1229055
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
2018-08-17 05:06:16 -05:00
cuijy2
a14c10ceaa Sensors:add capsense sx933x usb and headset calibrate
Change-Id: I7ba74f85deb6fc4eb427a80e470fbdf6ca9fd34e
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1229005
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-08-17 03:37:40 -05:00
cuijy2
96258b2712 Sensors: fix capsense sx9331 vdd and remove issue
Change-Id: Ic52a43641f86201d384fca089144550d80b9d28b
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228158
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-08-17 03:36:59 -05:00
haojl2
ba02b5b500 synaptics_tcm: fix issue: skip sleep function.
Fix compile issue.

Change-Id: I379b297fe20a56afbcebf473ec7bb6a267481cf9
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228915
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-17 01:22:06 -05:00
haojl2
94f8da3134 synaptics_tcm: skip sleep function.
Sleep function may cause system hungup when resume.
Skip this function as a WA for this issue.

Change-Id: Ia0d7ea61ae530d0b59c9298bcc02913adf1e741f
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1228833
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-16 22:25:36 -05:00
wengjun1
84178c0c7a DLKM: Improve novatek touch driver
- Will setting default resolution via device tree because
after firmware was broken and we need to need to update
firmware and reset resolution again, and considering
compatibility, the resolutions of different projects maybe
different.

Change-Id: I7ac34a5108c5941e1b92e0cfd792afbfd3d5bc04
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1227228
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-08-16 02:52:47 -05:00
jixj
16024815e4 watchdog_cpu_ctx: Add 32bit support
Change-Id: I9d1c9f561bd64ac9ec120b747b50993b6cc90804
Reviewed-on: https://gerrit.mot.com/1216713
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Submit-Approved: Jira Key
2018-08-15 20:33:31 -05:00
liaohj
37c9c3d8d7 DLKM:audio:tfa987x:modify send_calib_values as mono mode.
- sync vendor code.
  modify send_calib_values as mono mode.

Change-Id: Idd94f77967ea4a94a569a6332ffc45242b36b625
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1226988
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-08-15 05:11:21 -05:00
Wen Xie
c247ac524d ASoC: Tas2560: Close the debug log
Close the debug log.

Change-Id: Idd91ac48de92b7fc840ce35c79242958cd9fda20
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1227254
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-08-15 04:20:06 -05:00
yangjq
46a8234670 Vibrate 1 second when booting in driver instead in rc
The EVT1A phone with TI's drv2624 vibrator controller would
vibrate twice when booting which is not good.
So move vibrating from init.mmi.overlay.rc here as TI drv2624's
auto-calibration does on boot time.

Change-Id: Ie4dd78615fb88785a12c0b523832de17e30da4e2
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1227043
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-08-14 22:26:15 -05:00
dengwei1
d8f5ccbb1e channel input: add nova touch charger state support
Change-Id: I3c2c98cee203f4213c9796a349ec0bf45d1357e4
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1226905
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-08-14 22:24:37 -05:00
Konstantin Makariev
939dd20bb0 synaptics_mmi: support splash screen mode
DRM framework not following full display power up sequence when
splash screen enabled and thus first unblank notification is missing.
This change enables interrupts handling on F34 load to work around
that deficiency

Change-Id: I00c2a93417e66ebce58ff5e85c7d0baafc9af14d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1224646
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-14 14:01:03 -05:00
wengjun1
09e1d33c18 DLKM: Update base code for novatek
Change code base for keep consistency.
- Add comments for code readability.
- Remove redundant code.
- Set initial value for global variables.
- Move memory map and trim id table to one file. (nt36xxx_mem_map.h)
- Refine gesture part to fit latest FW protocol.
- Refine ESD function.
- Refine trim ID and product id part.
- Add CRC support function.
- Refine FW update routine.
- Refine selftest function and add support for notch panel.

Change-Id: Id7dfd3d5d29d44deaccb8f7666094c0ff5e1f8d3
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1220466
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>
Submit-Approved: Jira Key
2018-08-14 06:05:47 -05:00
Guoyue Liu
48a707c56e Revert "(CR) Sensors:add capsense sx933x usb calibrate"
This reverts commit bba073fe7861ff07e7bcb30426d7c889249f4511.

Change-Id: Icdb673ebc2683d5b25e3068b05d039e53aa3cd67
Reviewed-on: https://gerrit.mot.com/1225926
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-08-14 02:26:35 -05:00
liugy11
0c6e9c1d62 Sensors:add capsense sx933x usb calibrate
Change-Id: I32e82656b837cf450d536d99451db75624bbbcff
Signed-off-by: liugy11 <liugy11@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1225783
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-08-13 22:46:25 -05:00
chenlj2
d365e24d5b motorola: dlkm: write NA or ROW reg after FW updated
-write NA or ROW reg after FW updated

Change-Id: I902485d805067d74b8d2590e85bf3e8aeb8d41da
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1224745
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Yi Cao <caoyi1@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2018-08-13 21:59:19 -05:00
xuwt2
46f0c31d73 power: adjust 27w charge policy and parameters
-1, ESR pulse cycle adjust to 60s
-2, ESR pulse remain 5s each cycle
-3, both pps voltage and pps current reduce to generate ESR pulse
    during in the CV state

Change-Id: I67c704581312081c314dc3aa6e8c9a0a985fcf2d
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1222901
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
2018-08-13 21:44:24 -05:00
yangjq
b529a9a016 vibrator: Vibrate 1 second when booting
Undefine AWINIC_RAM_UPDATE_DELAY to load ram earlier in order to
vibrate 1 second at boot time with the already loaded waveform.

Change-Id: I3f398d6bf019123ccc404fde2542a740b469eb98
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1225158
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-08-13 06:26:23 -05:00
haojl2
214de1c9b0 himax_mmi: add write permission to self_test entry
Add owner and group write permission to self_test entry

Change-Id: Iefbdf02f1e735dd147236c12971acec432a05ea2
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1223644
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Haichao Li <liuhc3@motorola.com>
Submit-Approved: Jira Key
2018-08-13 06:18:37 -05:00