Commit graph

214 commits

Author SHA1 Message Date
Konstantin Makariev
43cc8043c7 fpc1020: fingerprint sensor driver
Change-Id: I02d7c7a7700ba6764385a1141b403c1ce7ea21de
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210251
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-07-19 15:34:14 -05:00
Ryan Lattrel
997916843f modules: mmi_info: fix machine name
Update the machine name property in the unit info
sub module - remove the machine name from 32
bit implementations.

Change-Id: Iaf31d8d9c3861fd652fb2226cc89a239da626968
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210671
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Yue Sun <sunyue5@lenovo.com>
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-07-19 15:07:09 -05:00
haojl2
d4a82573e6 himax_mmi: Add initial TP FW
This commit need revert later.

Change-Id: I64213c4d5f9cebc8be9e5d4bda37e2f4198b2dc5
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1212443
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-19 06:05:13 -05:00
xuwt2
424f60c2ac power: disable bq2597x_mmi ADC during shutdown
Disable bq2597x_mmi ADC function during the phone shutdown

Change-Id: Icfa828624296979daca6dc810f9230ade1cac600
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1212343
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-19 04:15:41 -05:00
huangys
fbb0f913be extcon-madera: enable some key logs
- for better trouble shotting

Change-Id: I7b4435b7a67705b1e855924f12ccc666fa57b51b
Signed-off-by: huangys <huangys@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210929
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-18 06:33:55 -05:00
haojl2
322492c19e himax_mmi: Free gpio if request failed
If gpio init failed in probe routine, already inited gpio should
be free.

Change-Id: I5522be9b763eb0ae2d7d084a9be805219e3f0458
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1211145
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-18 03:40:59 -05:00
haojl2
f9b5039438 himax_mmi: Porting Himax TP driver.
Vendor driver version is 0.2.13.0_ABCD1234_01

Change-Id: I576150ab1f8894b533cbd5179abf43519bcc0b4e
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210979
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-18 03:40:44 -05:00
haojl2
9b736c7f56 nova_mmi: add active pinctrl
Nova TP reset pin is connected to VDDI in TP module.
So this pin should set to input float pin if nova IC is used.

Change-Id: Id8e71487603504661a8a87e0ea066636e99f2f17
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210685
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-17 21:03:39 -05:00
haojl2
2c5755f025 nova_mmi: Add support to copy ko files to vendor path.
Add a macro to select the destination path for copying ko files.

Change-Id: Ibc353474064e25541d6cfe3c8e5a846740e406a4
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210322
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-17 03:56:15 -05:00
wengjun1
a4c7f23c61 DLKM: Change novatek touch driver
Update novatek touch driver base code for nt36672a

Change-Id: I455b4a49345a117ff76009a3a630ad09351d12c9
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208690
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-07-17 02:49:29 -05:00
cuijy2
c2d40d8b75 sensors:fix sx933x first val unreported
report a unused val in probe

Change-Id: I4fc5852823a66c6ceedb6d6729d3e5597f3a0914
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1210327
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ningkai Zhuang <zhuangnk1@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-07-17 01:22:06 -05:00
Vlad Karpovich
ea61ad7739 extcon: madera: Fix MICD polarity check
If first MICD key range max is configured too high then
impedence will fall into the first MICD range and MICBIAS
will not be changed for polarity check.
Before skipping the polarity change, make sure the first range max
is low enough to put a wrong polarity headset in the second range.

Change-Id: I42e56172ec6d49ec66290a8ad1e531014908a8d8
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@motorola.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: Ic8db2e8da71b98b3b1da09d515ad0a25fa08df16
Reviewed-on: https://gerrit.mot.com/1209640
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-16 15:01:24 -05:00
Ravi Vembu
20efdbc310 extcon-madera: Handle USBC Audio Connections
Add support for detecting USBC Audio adapters
Change-Id: Iaf632b4171b98f7c014a7c11e22720929a1a1216
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: Iaf632b4171b98f7c014a7c11e22720929a1a1216
Reviewed-on: https://gerrit.mot.com/1209639
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-07-16 15:01:19 -05:00
Ryan Lattrel
9588dc216f modules: watchdog_cpu_ctx update for 4.14
Remove the stack pointer reference from the stackframe
struct as it has been removed from the kernel.

Change-Id: Ib0c55d1e84854e7a61e70f347b8d4171c61ca130
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1209023
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-07-16 10:15:32 -05:00
haojl2
befb746866 synaptics_tcm: Add support to copy ko files to vendor path.
Add a macro to select the destination pathc for copying ko files.

Change-Id: I555d27010deeabd5d95c5a9c690616fa8226aa24
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1209204
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-16 04:47:06 -05:00
sunyue5
9ec07a3e00 drivers: fix compile error for 32 bits
change zx% instead of lx% for print pdata->mem_size which type is size_t

Change-Id: I42500d60c02ab75bd27450967aa57f299bb7a13d
Signed-off-by: sunyue5 <sunyue5@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208529
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Hao Li <lihao24@motorola.com>
2018-07-15 20:40:29 -05:00
Ryan Lattrel
180d45f326 modules: muc_uart driver bootmode update
Add hwid to muc_uart bootinfo. Export the hwrev
function from the bootinfo driver to make this
information available.

Also update when bootinfo is sent, it may be
requested by the muc.  With this, a change has
been made to cover the whole request processing
by a mutex to try to prevent sending a message
from the queue when the muc is expecting a
response instead.

Change-Id: I5087b69c9fd89fac5fcaba16f095c2c8e0c4f8ad
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1209493
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-07-13 15:05:02 -05:00
Kenny Kessler
b36f44f3a0 power: qpnp-smbcharger-mmi: Add Robust Platform Support
Add the support to run factory interfaces and other parts of the
driver based on PMIC version.  This will allow this module to be
used in a cross platform fashion.

Change-Id: I0544fd0cbdd4f1ccdcf2596356d36b88d8fc00fd
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208956
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Reviewed-by: Curtis Porter <porterc@motorola.com>
Submit-Approved: Jira Key
2018-07-13 15:02:59 -05:00
Konstantin Makariev
27c7458edd fixup! (CR) Optimize awinic vibrator driver
Mot-CRs-Fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: I86689be9e84cf6ff6c24105df1912f008cd31c63
Reviewed-on: https://gerrit.mot.com/1209581
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-07-13 14:15:32 -05:00
Konstantin Makariev
c7ede3e172 fixup! (CR) aw869x: Set default playing rate for ram and rtp mode
Mot-CRs-Fixed: (CR)

Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Change-Id: Ie5284047d597bb8465630036b9a3421cc747015c
Reviewed-on: https://gerrit.mot.com/1209571
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-13 13:55:17 -05:00
yangjq
88cf875e1e vibrator: Extract aw869x_vibrate() from vibrator_enable()
To simplify the vibrating for both timed_output and leds, make
vibrator_enable() and aw869x_activate_store() call the same function
aw869x_vibrate().

Change-Id: Ideea1302d041d61c8a0a9c78586c38801077ea9b
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1209308
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-13 04:05:51 -05:00
liaohj
ce18f6fd1f Ocean NA:audio: resolve Handset no sound.
- voice call handset mode, no capture ,cannot start dsp.
   sync with FAE ,move start dsp to playback.

Change-Id: I2abb563609f00e2ebe92ee3401cdc47cf05ca11b
Signed-off-by: liaohj <liaohj@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208856
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-07-13 03:37:33 -05:00
wangyq13
9dab917b02 input: nova_mmi: update firmware when version is not equal
Update firmware when version of bin and touch module is not equal
in order to follow moto tradition, also can do flexible firmware update.

Change-Id: I448fc6b82785731046ec2ea4fcdab4be0a715e26
Signed-off-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206766
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-13 02:38:56 -05:00
yangjq
c35d7d09d5 aw869x: Set default playing rate for ram and rtp mode
Set 12K for rtp mode playing and 48K for ram playing

Change-Id: I1485589cddf2f9dd2a220017b220cf214ed18d82
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1208742
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-12 20:34:13 -05:00
Konstantin Makariev
775bfee7af aw869x: set config explicitly
Use explicit boost and PWM clock mode configuration

Change-Id: Icaa1e0e0496b29cac522b31e84c71dbacccae94d
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208943
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-12 19:39:57 -05:00
Karpovich@cirrus.com
4d34365898 extcon: madera: Add support for 2 gpio mic bias switch.
This is port from switch-madera driver.

Change-Id: I491a03a9cebfca1ff8ee9f71d6c9a3000e21d5a8
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: I491a03a9cebfca1ff8ee9f71d6c9a3000e21d5a8
Reviewed-on: https://gerrit.mot.com/1209118
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-12 17:27:48 -05:00
Ravi Vembu
6896ea4fc2 madera: Add boot delay for Moon
Moon also requires a delay before reading the boot done bit and clearing
the boot done interrupt. Otherwise the interrupt line gets pulled low
forever.

Change-Id: Ie4fbdd36d13e5ac2c75bf2171fbd44690773c1f4
Signed-off-by: Ravi Vembu <raviv@motorola.com>

Mot-CRs-Fixed: (CR)
Change-Id: Ie4fbdd36d13e5ac2c75bf2171fbd44690773c1f4
Reviewed-on: https://gerrit.mot.com/1209117
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Submit-Approved: Jira Key
2018-07-12 17:27:42 -05:00
haojl2
8b1391eb4e synaptics_tcm: add necessary sys entries for moto fw update
Moto FW update script needs some sys entries to accomplish FW update
work. Add those sys entries to synaptics TCM driver.

Change-Id: I101a5c9695f51ab1e8b93dcb787b0361d56fcf78
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206470
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-12 06:53:52 -05:00
cuijy2
9bc348ff33 sensors:fix sx9331 ph2 body detect error
Change-Id: I862dd6854f047f52058f0d1aeb802688b04dd61c
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208778
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ningkai Zhuang <zhuangnk1@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-07-12 06:48:56 -05:00
haojl2
5a93d307cd synaptics_tcm: resume TP in workqueue
Change-Id: I90ca3808a01dab77d8bf78561df92b3243583611
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1208807
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-12 06:15:18 -05:00
jixj
664d87ba88 watchdog_cpu_ctx: Get kaslr address from dts
Not all platforms are same imem address.

Change-Id: I570ea34c96d928de6f0cf83b13a5d02757693d30
Reviewed-on: https://gerrit.mot.com/1207825
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-07-11 21:06:33 -05:00
chenlj2
311ef336d3 sar sensor:config parameter update
-config parameter update according to EVT DUT

Change-Id: I20fdec0cae22b4ef8537a1b2246fdbf532db1ec1
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1207939
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yi Cao <caoyi1@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-07-11 03:27:47 -05:00
chenlj2
cba0406394 sar sensor:optimise code flow for sx9325
-enable  PM suspend and resume process
-enable body/table detect

Change-Id: Ic58fbe40b0b2245087753ed32018350290f34eaf
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1207882
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: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-07-11 03:27:35 -05:00
cuijy2
5f7eeb4fb6 add capsense sx933x dlkm driver
Change-Id: Ice3448a9920048a3bf43274d36153eed4e3da20a
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206782
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2018-07-10 20:56:03 -05:00
liaohj
38eb09194c ocean NA:audio add pilot tone fade function in nxp driver.
- modify tfa98xx_mute() for pilot tone function.
- optimize logs print.

Change-Id: I8e521e96eca7121b30cfd3e1328e8b3c1ceeb571
Signed-off-by: liaohj <liaohj@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206545
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
2018-07-10 20:40:03 -05:00
Kenny Kessler
089a4c52c2 power: qpnp-smbcharger-mmi: Fix Factory Kill
Factory Kill was being tripped when USB is suspended.

Fix this by checking USBIN Voltage when in suspend rather
then the online status.

Change-Id: I138db13c0e14b29d887a0dda0dbfdb1d4deffaef
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1206691
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: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-07-09 17:39:14 -05:00
Adam Brickman
ef0bf3d418 ASoC: cs35l41: Specify CSPL_CMD address
The CSPL_CMD address may change depending on the firmware/chip revision.
This is now handled by assigning the correct address in probe based
on the chip's revision ID.

Mot-CRs-Fixed: (CR)

Change-Id: I4d0e4cb80dabe7cc98475b444471c42df96566fc
Signed-off-by: Adam Brickman <Adam.Brickman@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1204800
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1206183
2018-07-09 03:30:36 -05:00
haojl2
7048fe0b64 input: nova_mmi: Port Novatech TP driver.
Change-Id: If054ed3d888b751902476e3c2cf3466500826f38
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203863
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-05 05:21:33 -05:00
Wen Xie
02914d0825 ASoC: Tas2560: according to TAS2560 series macro build calib driver.
According to TAS2560 series macro build calib driver.

Change-Id: Ie8c1a5cb6d55d37dd9df322c8a528e034e26fbf2
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1205041
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2018-07-05 04:14:32 -05:00
huangys
d196618a41 ASoC: Tas2560: define TAS2560 series macro according product.
- Currently we suppose only channel use TAS2560
 - Fix river build error
   error: implicit declaration of function 'tas2560_algo_afe_apr_send_pkt' [-Werror=implicit-function-declaration]


Change-Id: Ie272ac03cb41a0b8123779c5eb132ab1811dc2af
Reviewed-on: https://gerrit.mot.com/1205011
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-07-05 04:01:09 -05:00
xuwt2
ce6de67522 Add a macro for copying drive.ko to vendor/lib/modules
In order to ensure that dynamic drive.ko can be output
/vendor/lib/modules, define a new macro DLKM_INSTALL_TO_VENDOR_OUT

Change-Id: I0aad283865f5831e577c388a214174db645ed63e
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1204366
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-07-05 01:02:27 -05:00
Wen Xie
3d4a09ba8b ASoC: Tas2560: Add codec algo.
Add audio codecs Tas2560 algo driver.

Change-Id: Ib2aa0b0594fd551345b5bccde192ba9e7be9c062
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203896
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Reviewed-by: Zhengming Yao <yaozm1@lenovo.com>
Submit-Approved: Jira Key
2018-07-04 21:18:24 -05:00
yangjq
dc688a2e60 Add a macro for copying aw869x.ko to vendor/lib/modules
Add a macro to select the destination path for copying aw869x.ko

Change-Id: I7efbb1933f158673c049a1a0f2aaf64f6421144e
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1204257
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Reviewed-by: Wentao Xu <xuwt2@motorola.com>
Submit-Approved: Jira Key
2018-07-04 07:48:39 -05:00
Kenny Kessler
8a5164c1cd power: smbmmi: Add Factory Kill
Setup the Factory Kill and Disable interfaces.

Change-Id: I9986bb3b50c79a0cc8f57f66947a657d4e656279
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1203739
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-07-03 17:25:38 -05:00
Ryan Lattrel
9684c2a207 drivers: mmi_annotate: fix 4.14 build error
Update includes to resolve kernel 4.14 build.

Change-Id: I8236ab966120d42292916ccc2f5177f9e32aa8d6
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1201402
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-07-03 11:19:38 -05:00
Ryan Lattrel
e88aad3983 modules: mmi_info: use smem.c, delete socinfo
Use the smem.c modules to access shared memory,
qcom has removed the msm_smem.c api.

Also delete socinfo.  It requires too many exports in the
kernel and l(CR) won't be missed.

Change-Id: Icd31bf4862b45758ced4c98f7fe35112a092b56e
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1201411
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-07-03 09:17:41 -05:00
David Rhodes
208ec3f1d6 ASoC: cs35l41: Remove DAPM route for ASP TX zero-fill
Remove DAPM routes for ASP TX widgets when zero-fill
is selected as the source. "Zero" should be selected
for the ASP TX source whenever that channel is inactive.

For example, when capturing one channel of data from
each amp in a stereo setup, ASP TX2, TX3, and TX4 should
all have source set to "Zero".

Change-Id: I2d1c81307f8d88c4676f458fcfdbfa6a0bcbf750
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202255
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:23:13 -05:00
Stuart Henderson
6374cd53af ASoC: wm_adsp: Move coeff_sync from boot_work to the POST_PMU event
If a control is written between preload and core enable, the value
doesn't currently get synced on the bus when we start the DSP.

SQA-991

Change-Id: Ie41c83150a40eae870b529fe319bf03bc20630c1
Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202254
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:23:07 -05:00
David Rhodes
ebdb9ddf8d ASoC: cs35l41: Support mute on Digital PCM Volume control
Add mute item to volume control

Change-Id: Ic46b2bf1e680f16d37bebd49683b79cfc9fac1a4
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202253
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:23:03 -05:00
David Rhodes
6224ece969 ASoC: cs35l41: Move OTP_BOOT_DONE wait
Wait for OTP_BOOT_DONE as the first operation
out of reset. This is to facilitate B0 parts that
may have DEVID programmed by OTP.

SQA-856

Change-Id: I43484188c74aa0ae3bebcfdafe6f87e5cbe8bd25
Signed-off-by: David Rhodes <david.rhodes@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202252
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:58 -05:00