Commit graph

185 commits

Author SHA1 Message Date
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
David Rhodes
191c7d0a88 ASoC: cs35l41: Regmap Updates
Corrected or removed various register defaults
and added GPIO status as volatile.

Change-Id: I9e0eabed1864a56f4a3645a569f6914200ef0761
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/1202251
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:54 -05:00
David Rhodes
bea183bb0e ASoC: cs35l41: Interrupt Handling Fixes
-- Use regmap_write instead of regmap_update_bits
   when clearing interrupt status (clear on write)
-- Toggle BST_EN when clearing boost errors

Change-Id: Ie14e9cd39e0170a8903e1d226abcf5cc4e5340cb
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/1202250
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:48 -05:00
Jeff LaBundy
9258f3b38a misc: cs40l2x: Use dev_get_drvdata for runtime suspend
Adopted use of dev_get_drvdata within suspend and resume callbacks
for both timed output and LED trigger flavors.

Change-Id: I3e18a50b85d2cd8972b1c4abdb1f521f112fa661
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202249
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:42 -05:00
Jeff LaBundy
84a9420150 misc: cs40l2x: Retry writes to ENDPLAYBACK
Added a safety check to retry writes to ENDPLAYBACK in the
event of an I/O error, parking the device in a reset state
following multiple failed attempts.

Change-Id: I4847f81ee7809b5a0bd0f86f65c631f8dc7d65ec
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202248
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:38 -05:00
Jeff LaBundy
58e01af0a2 misc: cs40l2x: Add bounds checking to click comp. enable control
Added a safety check such that all non-zero values written to the
comp_enable control are translated to '1' when passed to the DSP.

Change-Id: I359def9737eeb8e1f77abdd76ce8d7a3ef069ee5
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202247
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:33 -05:00
Jeff LaBundy
fa036da139 misc: cs40l2x: Add GPIO1 enable/disable support
* Added a sysfs control for enabling and disabling GPIO1.
* Added a means to disable GPIO1 by default based on a device tree
  entry.
* Added a means to automatically control GPIO1 as a function of the
  host's power state based on a device tree entry.
* Updated the minimum supported firmware revision to 4.2.0.

Change-Id: I654da852bc9982cbc6628666b82141363651ea72
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202246
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:24 -05:00
Jeff LaBundy
2b00d444a3 Documentation: cs40l2x: Add GPIO1 enable/disable support
Added device tree binding documentation for GPIO1 mode device tree
entry.

Change-Id: I42378692ff2ed6cbe62d0f9eba161615196a2a21
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202245
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:18 -05:00
Jeff LaBundy
f6dc8a1ae8 misc: cs40l2x: Add IMON and TEMPMON trim errata
Added errata support for updated IMON temperature coefficient trim
values and TEMPMON gain/offset trim values (revisions B0/B1 only).

Change-Id: I830f177d5462bb8c3764c6b63f4f2e91bf67e754
Signed-off-by: Jeff LaBundy <jeff.labundy@cirrus.com>
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1202244
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-07-02 11:22:13 -05:00
xuwt2
d87e797026 power/driver: upload mmi parallel charge manager driver
upload mmi parallel charge manager driver

Change-Id: Id34950931f75430c8d13bbdb66f1310c0f0994a1
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1197169
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1202300
Reviewed-by: Ling Jin <lingjin@motorola.com>
2018-06-30 13:01:54 -05:00
xuwt2
4e5372dc1e power/driver: add bq2597x_mmi driver
Add Ti bq2597x_mmi driver

Change-Id: I3c7b42f4b478eb022b228a2be6c12c17ea831646
Signed-off-by: xuwt2 <xuwt2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1197165
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yonghua Yan <yanyh2@motorola.com>
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1202298
Reviewed-by: Ling Jin <lingjin@motorola.com>
2018-06-30 12:45:35 -05:00
wengjun1
5b22dd7178 dlkm: input: Port focaltech touch driver
Add focaltech driver into dlkm.
- The dependency on CONFIG_TOUCHSCREEN_FOCALTECH*
are removed in the driver
- Add focaltech,fw-update-mmi in dts for moto firmware update
process
- Changes related to resource release to prevent kernel panic

Change-Id: Ib38c51969e58f827e2996de1a0550bade39036e7
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1200328
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2018-06-28 21:28:18 -05:00
Kenny Kessler
1f328b563e power: max170xx: Update CGAIN
Change default profile CGAIN to 0x7FFF.

Change-Id: I370bec696b91b8559f4e563fc9baa9e6e9416eec
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1201224
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-06-28 10:44:26 -05:00
Weilong Wu
7f188b3d94 dlkm: nfc: add st21nfc driver
Add new vendor NFC st21nfc driver.

Change-Id: I68ecf09272480b62faca365db0d4e3284af94fbe
Signed-off-by: Weilong Wu <wuwl10@motorola.com>
Reviewed-on: https://gerrit.mot.com/1200342
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-06-27 21:10:23 -05:00
Kenny Kessler
94e2472fb0 power: qpnp-smbcharger-mmi: Add Initial MMI Charging driver
Add the dlkm for mmi control over the qcom smb charger.
This initial drop only gives access to the factory
interfaces but over time will be granted more control
over total system charging.

Change-Id: I408a4e36dab976697d1f98499bf33b6378deaf96
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1200750
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-06-27 20:43:21 -05:00
yangjq
3634bf64d3 Optimize awinic vibrator driver
Optimize awinic vibrator driver on rio_h(lake)

Change-Id: Id29f711a81fcb21f591f33c085583e9b6930f9da
Signed-off-by: yangjq <yangjq@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1197624
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit 64be27fd213d5b329654c9ecc5d8317b570a5c0f)
Reviewed-on: https://gerrit.mot.com/1200186
2018-06-27 03:46:19 -05:00
Ryan Lattrel
b1d1de9b5b modules: Add muc uart driver
Add the driver to talk to the muc via uart.

Change-Id: I4f2b0b1a99d6834b668a15c594ccd4f0188a8eaa
signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1174586
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-06-25 15:58:28 -05:00
Kenny Kessler
ba6eb8c580 power: max170xx: Enable DBFS entries
Enable the entries for DBFS direct register access.

Change-Id: I23213a739e85bdb3d9ed73f4686ee55ccb537c25
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1197884
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-06-22 15:32:13 -05:00
Ravi Vembu
baf3d1b4fc madera: Add ref clk for codec
Enable the ref clk when the codec is not in reset.

Mot-CRs-Fixed: (CR)
Change-Id: Ic6d0d3f869621b193747f7ba309c2fb18b6a2573
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Reviewed-on: https://gerrit.mot.com/1197391
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-06-22 12:43:24 -05:00
chenlj2
3fad82963b motorola:dlkm:sx9325 regs modification
-regs:0x28,0x29,0x2A modified

Change-Id: I71ca7b87917d46e8e738c4860c5a554ffd8e6e4f
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1197589
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-06-22 03:02:31 -05:00
Kenny Kessler
f8997df374 power: max170xx: Add MAX170XX driver
Create initial drop for MAX170XX which is based on
based on teh max17042 driver.

Change-Id: Ide3cd2e8fd0dc5585c0c10665873b66845b2c45e
Signed-off-by: Kenny Kessler <kenny.kessler@motorola.com>
Reviewed-on: https://gerrit.mot.com/1197354
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-06-21 17:46:07 -05:00
Ravi Vembu
20fae43331 codec: Don't default to CS35L41 SPI codec.
Some targets may not use CS35L41 AMP. Do not default to the
SPI codec as it may break the build.

Change-Id: Ie5e0da0e9a7318a99480f97df73620ea51e11d28
Signed-off-by: Ravi Vembu <raviv@motorola.com>
Mot-CRs-Fixed: (CR)
Reviewed-on: https://gerrit.mot.com/1196742
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Submit-Approved: Jira Key
2018-06-20 15:45:19 -05:00
haojl2
25fb12224c input: ets_fps_mmi: Inital egis fps driver
Poring Egis fps driver.

Change-Id: I6313631950869d7d44dc155538034ba4a85f323f
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1181700
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-06-20 04:58:18 -05:00
Wen Xie
87709cb9cd ASoC: Tas2560: Add audio codecs
Add audio codecs Tas2560 driver.

Change-Id: I0806dc5427b7c8bdd3447e06ebd1e92d9a8ec22c
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1196381
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-06-20 02:54:39 -05:00
haojl2
de28d59ec4 misc: Port TI drv2624 haptic driver
This driver is ported from moto kernel branch bomr1-8998

Change-Id: I930cfda493ad081fbd6a3383211043bb5ad4488f
Signed-off-by: haojl2 <haojl2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1190730
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2018-06-20 02:22:07 -05:00
liaohj
9a099837ee Ocean : audio close tfa98xx debug macro
- close tfa98xx debug macro.
- fix complie error,if no define TFA9874_NONDSP_STEREO

Change-Id: I14ffe544a6a5a25db106a9a7a68df725bf3223a8
Signed-off-by: liaohj <liaohj@motorola.com>
Reviewed-on: https://gerrit.mot.com/1195735
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yuesheng Huang <huangys@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2018-06-19 03:56:38 -05:00
Vlad Karpovich
ead2ce4336 ASoC: cs35l41: Set DSP FW name suffix to an empty string
DSP preload function adds "(NULL)" string to the control
name if a dsp suffix is not set. As result the control
could not be find. Zero lenght string will fix that issue.

Mot-CRs-fixed: (CR)

Change-Id: I9e8f88fb2ac10d7143b0434926dc9b589138c298
Signed-off-by: Vlad Karpovich <Vlad.Karpovich@cirrus.com>
Reviewed-on: https://gerrit.mot.com/1193402
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
2018-06-19 03:00:44 -05:00
Konstantin Makariev
20934360c1 utags: add kernel version independent read call
Function kernel_read prototype is different in kernel 4.9 and 4.14.
Adding conversion function based on LINUX_VERSION_CODE

Change-Id: Ic993ae91ddbc4db4608822009954208923abe205
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1194418
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-06-18 14:18:40 -05:00
liaohj
27e46b7985 Ocean NA: audio bringup ,add tfa9874 driver
add tfa9874 driver as modules.

Change-Id: I53bc97d1435f44033cb4a17a7258ce38905a5b2f
Signed-off-by: liaohj <liaohj@motorola.com>
Reviewed-on: https://gerrit.mot.com/1194107
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-06-15 08:17:13 -05:00
Konstantin Makariev
145fc10ebb aw896x: awinic haptics driver
Initial DLKM code

Change-Id: Ib6f27aa7deeb9807d46fbf2264181c5612c14a41
Signed-off-by: Konstantin Makariev <hcv867@motorola.com>
Reviewed-on: https://gerrit.mot.com/1193016
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2018-06-14 14:21:46 -05:00