Commit graph

1,355 commits

Author SHA1 Message Date
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
xizx
5374d3a28d utags:add one null byte length for range check
The userspace string length count includes the null-byte,
but the length of range doesn't include the terminator byte.

When the range is has only one value,the utag cannot be written.

Change-Id: Id4a17bf93198fd3230a2d265fa779ff8c4dda9ef
Reviewed-on: https://gerrit.mot.com/1224383
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-10 12:01:45 -05:00
Konstantin Makariev
68335e0ca4 ldc2114: distinguish device ids
Report real device ID based on value reported in DEVICE_ID LSB

Change-Id: Ic34ad750d2c1c251579a4a9ee2c679c76f85839e
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1223893
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-09 16:29:57 -05:00
haojl2
c53c7f9fba himax_mmi: Add support to set csv file name
Change-Id: Ic6a4c7dd31282fea921be142010c764c456883e1
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1223385
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-09 02:08:02 -05:00
haojl2
3279465361 nova_mmi: Add support to copy ko files to vendor path.
Add a macro to select the destination path for copying ko file.

Change-Id: I8437ec3c200734e9c1db10e5430c951a93ca4035
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1221888
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yan Zhang <zhangy26@motorola.com>
Reviewed-by: Srihari Sathyanarayana <sriharis@motorola.com>
Reviewed-by: Lei Chen <chenl18@motorola.com>
Reviewed-by: Jichao Zou <zoujc@motorola.com>
Submit-Approved: Jira Key
2018-08-07 21:11:52 -05:00
Kenny Kessler
7cae21ac9e power: smbcharger-mmi: Change Power Supply Type
To prevent invalid reporting by healthd, switch to
POWER_SUPPLY_TYPE_MAIN so that it does not
accidentally use mmi_battery as the reporting interface.

Change-Id: Iaf0f2b37de02932994d5826c5b7f2aff777b8d28
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1221855
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-08-06 17:25:25 -05:00
Kenny Kessler
2924498e51 power: max170xx: Change Power Supply Type
To prevent invalid reporting by healthd, switch to
POWER_SUPPLY_TYPE_MAIN so that it does not
accidentally use max170xx as the reporting interface.

Change-Id: Ic4c5815a31a0fd00345bb45d58a3c51474ef1629
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1221854
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Curtis Porter <porterc@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-08-06 17:25:21 -05:00
a17671
f3cbb755a7 moto_f_usbnet:Release skb if bulk_in is NULL
Ip link tearing down is later than the usbnet disabling.
Kernel will panic if bulk_in endpoint is NULL and ip stack still has data
Free the skb in this case.

Change-Id: Icc987551da4a8b9c1998b0c09f19fbed49ea58ee
Signed-off-by: a17671 <a17671@motorola.com>
Reviewed-on: https://gerrit.mot.com/1220589
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-06 07:07:40 -05:00
wunan3
9e945d5c93 sx9310: update reset method
Change-Id: Icbb364cfb824f77f4173eaff615175ce9b133108
Reviewed-on: https://gerrit.mot.com/1219450
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2018-08-06 02:05:35 -05:00
Ryan Lattrel
712e14928a modules: muc_uart: add power status msg
Add the power status response to the muc uart driver.

Change-Id: Ib3c4327d4329be930eb540474546b19d57fd7415
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1217749
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-03 14:14:37 -05:00
Ryan Lattrel
8a5ebd949b modules: muc_uart: fix low power panic
Could potentially sleep with a spinlock if
we try to wake the muc while holding the queue
spinlock. This reworks the wake code to no longer
call the power mode set ioctl with a spinlock.

Also fixes -11 errors seen on the first transmit
attempt after coming out of low power mode.

Change-Id: Ibc86420bea042d0e1118588519fb32f635248769
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1219179
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-03 14:14:32 -05:00
Konstantin Makariev
e40806f870 fixup! (CR) synaptics_mmi: DSI bound suspend/resume
Include MSM DRM header conditionally

Mot-CRs-fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I64e2a373dd09c23e1946eeff67070d7377875aa3
Reviewed-on: https://gerrit.mot.com/1220842
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-03 12:52:08 -05:00
Konstantin Makariev
47f462d36a Revert "fixup! (CR) synaptics_mmi: DSI bound suspend/resume"
Reverting commit, since it's impeding compilation

Mot-CRs-fixed: (CR)

This reverts commit 6b155d0caca7970dcb3746dbc43eed4342803036.

Change-Id: If71394f0cda3f0a6ca6180f551ff8b54ed5b27f6
Reviewed-on: https://gerrit.mot.com/1220829
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-08-03 12:52:03 -05:00
Yoon (Seungyoon) Lee
21b27604d3 sdm632: cirrus-playback: filter ioctl compat
There are other programs in DLKM kernel which don't define
IOCTL_COMPAT. This is not to include compat ioctl on those.

Change-Id: Ie463dd624febb6b0db9319634991a36f533b1f10
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1220802
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Yin-Jun Chen <a7301c@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-08-03 11:08:45 -05:00
Yoon (Seungyoon) Lee
f20a95ede9 modules: cirrus_playback: add Speaker Enhancement
add Cirrus Speaker Enhanement driver as DLKM.

Change-Id: Ibad2b4d5f6cac12ce8d6660cb41928ef8562fe10
Signed-off-by: Yoon (Seungyoon) Lee <w22905@motorola.com>
Reviewed-on: https://gerrit.mot.com/1215912
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-08-03 08:26:37 -05:00
Konstantin Makariev
b3a388ffe8 raydium_mmi: build dlkm
This patch includes necessary changes to the initial driver's code
from Raydium to build DLKM

Change-Id: I2de9c121c907cb45fba83584ca3eaee81f7c560d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1219236
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-08-02 14:19:05 -05:00