Commit graph

335 commits

Author SHA1 Message Date
vkarp
ea40ea0ace Revert "ASoC: cs35l41: Specify CSPL_CMD address"
This reverts commit dedc905d09d87794b2d5040e1ae8c82f75e1ab9b.
Mot-CRs-fixed: (CR): River: AoU bringup on Marley+Prince
Change-Id: Ia7a8ae1bd6d8dfc483ecbc19ed0e984c515fb7f9
Reviewed-on: https://gerrit.mot.com/1238843
Tested-by: Jira Key
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-09-06 16:34:44 -05:00
Kaio Karam Galvao
c4b60083bd Add CCI debug tool as DLKM
Port CCI debug tool code to a dynamic loadable
kernel module.

Change-Id: Ia77903c637456322a7f9531b05d93c47ab3a16a8
Reviewed-on: https://gerrit.mot.com/1236349
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Reviewed-by: Sumit Jamadar <xkbr38@motorola.com>
Submit-Approved: Jira Key
2018-09-06 11:39:14 -05:00
Dharmeshkumar Patel
ccde239e71 Revert "(CR): mmi_muc_uart: set gpio 35 and 59"
This is to fix issue caused in daily #47

This reverts commit cdd5543e7c24f7240aac278aad549789843eab44.

Change-Id: I3d35a3d8a2b1e909bd83128280d02180eb91390f
Reviewed-on: https://gerrit.mot.com/1238352
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Sanjay Dhar <sanjaydhar@motorola.com>
SME-Granted: Sanjay Dhar <sanjaydhar@motorola.com>
Submit-Approved: Sanjay Dhar <sanjaydhar@motorola.com>
2018-09-05 20:17:02 -05:00
Pratik Kamdar
1f5630eba7 ASoC: wm_adsp: Add support for old DTS config
Use old device tree configuration for DSP if wlf,wmfw-file tag
is present.

Change-Id: I1168edd2ea66eadcdef013fb01b40810bb1860fa
Signed-off-by: Prat(CR) Kamdar <djc637@motorola.com>
Reviewed-on: https://gerrit.mot.com/1238183
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-09-05 12:34:11 -05:00
wengjun1
afe045cddc DLKM: Improve focaltech touch driver
- Prevent potential risk that the touch has been updated
successful but display initial code isn't written fully which
will cause display can't work on ft8006u.

Change-Id: I0dd8232a79fb1ced88deb748f656a195d97908ac
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1232123
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-09-05 03:18:17 -05:00
liugy11
3c0d28d4cf capsensor sx9331: add suspend irq shielding
Change-Id: I24f762b45b5b792c659b167fd311e957258a8a03
Signed-off-by: liugy11 <liugy11@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1237354
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-09-05 00:58:19 -05:00
yangjq
8c77f5b3ff aw869x: Disable rtp data changing with battery voltage
RTP data would overflow when being changed according to battery voltage,
so disable this feature.

Change-Id: I457b9ae0b25fa99acc1b2ba05c675d68167d5afb
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1237566
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-09-04 19:19:03 -05:00
Ryan Lattrel
534b70fd13 mmi_muc_uart: set gpio 35 and 59
Set gpio 35 and 59 to indicate kernel entry
to the muc.

Change-Id: I6c2c2999ff4cedb75191d2a2d1d0b0aa49348449
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1235964
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-09-04 09:42:36 -05:00
wengjun1
fbf658b188 Ocean: DLKM: Improve ili9881h touch driver
- Add retry times for unexpected communication errors.
- Change suspend & resume flow for current drain issue.
- Fixed the communication errors when accessing node.

Change-Id: I61db5696637082dd6d576b486b45172c5426a256
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1236756
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2018-09-03 06:08:53 -05:00
haojl2
d28d818543 himax_mmi: Add edge Inhibition sys entry
Add an sys entry to enable different edge inhibition function.
echo 0,1,2,3 to edge_en.
0 turn_off
1 Vertical inhibition
2 Horizental clockwise inhibition
3 Horizental anticlockwise inhibition

Change-Id: Id7023e8952ee7df46b5b77ad564be51dc9e74511
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1235525
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-09-03 04:35:48 -05:00
xizx
560dffb172 utags:sync same owner permission for group
utags needs to be read-write in tcmd daemon whose group id is
system,many operation need group write permission l(CR) root user.

1.tcmd needs to add new node by lock and new operation
2.tcmd needs to access node /proc/config/all/new etc

Change-Id: I6ba335a9490e5cba8ead04a8144b9bdbca8ebba2
Signed-off-by: xizx <xizx@motorola.com>
Reviewed-on: https://gerrit.mot.com/1236562
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Tao Sun <suntao2@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-09-03 01:58:31 -05:00
Yoon (Seungyoon) Lee
56920f6b13 modules: cspl: use QDSP/LPASS multiple tuning tables
make QDSP/LPASS multi tuning tables accessible since LPASS module is
ready for multiple internal tuning tables.

Change-Id: Ic611edb33746b21d316761b30d5b032cc9631fee
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1235228
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-31 20:26:19 -05:00
Kenny Kessler
0cdf7d66c4 power: qpnp-smbcharger-mmi: Add UPDATE_NOW
Add the update_now property so that batt_health can
read and get its polling rate for generic logging.

Change-Id: Ie415fe244d214d09fefedd298b899da0a753ad12
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1234254
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-08-30 16:14:08 -05:00
Kenny Kessler
8d1389d574 mmi_muc_uart: Report Charging
Check the status field on the battery power supply
and then report if charging is occurring.

Change-Id: Iae8a8270264a2ca7d18ea125f95be56c53042554
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1235231
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-08-30 08:52:54 -05:00
xizx
8cbbe2f26d utags:assign access permissions for tcmd
tcmd daemon needs to read and write some node with
system group permission:
1. read reload status
2. write ascii node

subtask:(CR)

Change-Id: Ie6740e1aab5292fe6984f7f12656aeac6d70cde4
Signed-off-by: xizx <xizx@motorola.com>
Reviewed-on: https://gerrit.mot.com/1235016
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Haichao Li <liuhc3@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-30 04:54:29 -05:00
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