Commit Graph

462 Commits

Author SHA1 Message Date
Linux Build Service Account
e7abe2550c Merge "asoc: audio-ext-clk: Add support for multiple lpass clock nodes" 2018-07-23 06:53:42 -07:00
Mangesh Kunchamwar
d7c45292ba asoc: qcs405: Fix FE DAIs for hostless
Fix hostless FE DAIs for HFP and speaker protection usecases

Change-Id: If57b1d02f89923d9ce2fbefcec600e7f833a7c91
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-22 23:17:05 +05:30
Linux Build Service Account
79fd4c3603 Merge "asoc: qcs405: Update wsa cpu dai names" 2018-07-20 05:28:28 -07:00
Linux Build Service Account
511613fe72 Merge "asoc: bolero: Fix wsa playback mute issue" 2018-07-19 23:19:52 -07:00
Laxminath Kasam
2a935198bd asoc: qcs405: Update wsa cpu dai names
In qcs405 machine driver, fix cpu dai names
same as created in dai q6 driver.

Change-Id: I364864ceac8bc555d0a1c982a06629bd5bc774ef
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:51:35 +05:30
Laxminath Kasam
0c85700fdb asoc: bolero: Fix wsa playback mute issue
Update volatile registers list of bolero
VA and WSA macros. Fix sequence for wsa mute
and register access in regmap read/write.

Change-Id: I7984f7e2309933536f3855f6fd4a2e2fd1c4d13b
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:50:26 +05:30
Laxminath Kasam
d712cc7c15 asoc: audio-ext-clk: Add support for multiple lpass clock nodes
In bolero, for VA and WSA macros require multiple
lpass clock sources. Update audio clock driver
to support lpass clocks instances as required for
VA and WSA.

Change-Id: I7bb676dcbd5c0db09079dd73a30d1b47ce0f8ace
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2018-07-19 11:47:28 +05:30
Linux Build Service Account
9456ce8b53 Merge "asoc: ext-clk: dynamically configure clk parent name" 2018-07-18 15:05:58 -07:00
Linux Build Service Account
f205f9ccd7 Merge "asoc: dsp: add support for aptX adaptive" 2018-07-18 10:16:11 -07:00
Surendar Karka
0a915f8c68 asoc: ext-clk: dynamically configure clk parent name
Add support to dynamically configure clk parent name
from device tree.

Change-Id: I9ae0c34c248503625523a2d1e33d800b2138ed39
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
2018-07-17 15:00:41 +05:30
Linux Build Service Account
8a3699b9ac Merge "asoc: qcs405: update tasha codec dais" 2018-07-16 11:36:29 -07:00
Linux Build Service Account
eeb16c7b73 Merge "asoc: Enable VAD in QCS405" 2018-07-13 01:24:29 -07:00
Sharad Sangle
82777e54d5 asoc: dsp: add support for aptX adaptive
Add support for new A2DP profile aptX adaptive.
This is just like any other A2DP profiles.

CRs-fixed: 2272343
Change-Id: I219dec038e84b7b98ebb2d5233ddf576c8bbe70a
Signed-off-by: Sharad Sangle <assangle@codeaurora.org>
2018-07-12 22:26:40 -07:00
Linux Build Service Account
d6750c1933 Merge "asoc: Add Hostless DAI for WSA CDC DMA Rx interface" 2018-07-12 09:59:51 -07:00
Linux Build Service Account
1ff7b2cd8e Merge "asoc: compilation fix for qcs403" 2018-07-12 09:59:47 -07:00
Mangesh Kunchamwar
2d84e4aedc asoc: Enable VAD in QCS405
Add AFE HW CAL dep node in config and fix the set sampling rate
for codec dma interface

Change-Id: I9165a80da00bfb5b61bbf4f0391ff794d8fba352
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 21:27:07 +05:30
Mangesh Kunchamwar
1603e0d72b asoc: compilation fix for qcs403
Fix compilation issue with qcs403 variant compilation

Change-Id: Iae877e1a1c3c81edd9c26c9bb143216e2d3550d6
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 19:19:18 +05:30
Mangesh Kunchamwar
91c2173c2f asoc: Add Hostless DAI for WSA CDC DMA Rx interface
Enable hostless DAI for WSA CDC DMA Rx interface for hands free
profile use case.

Change-Id: I3c4246414dc477cdad382b46a6dbe6770dc5b89e
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 15:43:02 +05:30
Mangesh Kunchamwar
2f39a329bf asoc: bolero: Bringup fixes for qcs405
Add bringup fixes for va-macro micbias property setting.

Change-Id: Ie1c35d8519f819bed227885e1c2a18e3de7fd82a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-11 00:47:57 +05:30
Linux Build Service Account
ab8586d542 Merge "asoc: bolero: Bringup fixes in Vipertooth" 2018-07-09 20:42:38 -07:00
Linux Build Service Account
8e4d9058d3 Merge "ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump" 2018-07-09 11:56:34 -07:00
Linux Build Service Account
b09db5c08c Merge "asoc: msm-pcm-routing: add support for a2dp echo ref" 2018-07-09 11:56:33 -07:00
Mangesh Kunchamwar
a9c69199a7 asoc: bolero: Bringup fixes in Vipertooth
Add bringup fixes for bolero regmap and va-macro
micbias property setting.

Change-Id: I536b7bf6ff625da1f2f639a93cf1f9174cfd6447
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 09:16:20 -07:00
Linux Build Service Account
b73517def0 Merge "asoc: fix lsm_event_handler function type" 2018-07-09 08:32:03 -07:00
Surendar Karka
c31faba93b asoc: qcs405: update tasha codec dais
Updating tasha codec backend dai links.

Change-Id: I293685c44455ec3b8ed61af24ec6be06201bd2f6
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-09 16:52:21 +05:30
Zhou Song
b167db1aee asoc: msm-pcm-routing: add support for a2dp echo ref
Add support for a2dp echo reference for SVA. This is
used to cancel a2dp playback echo from voice activation
input samples.
When phone connects to A2DP speaker like car kit,
selecting A2DP as echo reference can have better VA
performance.

Change-Id: I287ded27421cbda9621f2b2846c3ec8350f080dc
Signed-off-by: Zhou Song <zhous@codeaurora.org>
2018-07-09 13:53:29 +08:00
Linux Build Service Account
25963c0e7c Merge "asoc: Fix compilation errors" 2018-07-07 16:10:24 -07:00
Linux Build Service Account
88691a4c53 Merge "asoc: qcs405: Add support for CSRA66X0 device" 2018-07-07 13:54:33 -07:00
Linux Build Service Account
029bb3d3aa Merge "asoc: codecs: codec driver support for CSRA66X0" 2018-07-07 13:54:32 -07:00
Linux Build Service Account
2781db307a Merge "lsm: miscellaneous fixes for multi-stage adsp VA" 2018-07-07 13:19:47 -07:00
Ramu Gottipati
d8d43d2490 asoc: Fix compilation errors
Compiler throwing compilation erros for uninitialized
variables. So, initialized with default error value.

Change-Id: I7d90e739ae8e174bfb4d2c50e5eead338b66fec9
Signed-off-by: Ramu Gottipati <ramug@codeaurora.org>
2018-07-07 23:32:38 +05:30
Mangesh Kunchamwar
ca8ac8a57a asoc: qcs405: Add support for CSRA66X0 device
Add support for CSRA66X0 amplifier to glue as
aux codec in asoc qcs405 machine driver

Change-Id: I3413a0df52149da84c05d703226a3845119ab8b2
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Signed-off-by: Srikanth Katta <skatta@codeaurora.org>
2018-07-07 19:14:08 +05:30
Linux Build Service Account
81e65923e6 Merge "asoc: msm-pcm-routing: Add TDM ext ec ref route" 2018-07-06 16:13:00 -07:00
Dhananjay Kumar
66ae4136f5 lsm: miscellaneous fixes for multi-stage adsp VA
Fix compilation warnings from multi-stage VA code changes.
Correct sound model param size value to avoid failure from
second stage sound model registration.

Change-Id: I7f589f0ddece167233b61236b3e5b6585927f62d
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2018-07-07 01:36:05 +05:30
Linux Build Service Account
4fae34670a Merge "asoc: ext-clk: Allow clock probe without pinctrl for lpass nodes" 2018-07-06 11:57:21 -07:00
Mangesh Kunchamwar
82f6168cf5 asoc: codecs: codec driver support for CSRA66X0
Codec driver to support direct digital
feedback amplifier (DDFA) CSRA66X0

CRs-Fixed: 2248380
Change-Id: I0aa1b5a2b6e18b6d2dcd5393a10b7d4aebb570e5
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-07-06 18:27:57 +05:30
Linux Build Service Account
a54f5e3777 Merge "asoc: wcd-dsp-mgr: clear work queue for wcd dsp manager" 2018-07-05 14:33:17 -07:00
Linux Build Service Account
cbf2533f95 Merge "ASoC: msm-pcm-routing: Add mixer control for AANC noise level" 2018-07-04 06:18:15 -07:00
Meng Wang
9836489e23 asoc: wcd-dsp-mgr: clear work queue for wcd dsp manager
wdsp_mgr_bind would schedule work to load wdsp firmware.
Before loading wdsp firmware, sound card registeration may fail.
wcd_dsp_cntl_deinit would get called to free cntl which would be used
in wdsp_load_fw_image which would cause kernel panic.
Clear work queue in wdsp_mgr_unbind to avoid kernel panic.

Change-Id: I6c052fa8ea1ff62a8b075ba191085612242a5005
Signed-off-by: Meng Wang <mwang@codeaurora.org>
2018-07-03 12:23:37 -07:00
Sudheer Papothi
c07b37a4c3 ASoC: msm-pcm-routing: Add mixer control for AANC noise level
Add mixer control for AANC noise level to control AANC noise
level from userspace when AANC functionality is enabled.

Change-Id: Id47b77e054008853e5b5ddb0e9cc126626b407b8
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2018-07-03 00:42:00 +05:30
Karthikeyan Mani
3dd07e6937 asoc: mbhc: ignore mbhc event report during ssr
When ssr is in progress, during some race conditions
mbhc events are getting reported when codec is still
coming up. Ignore such events without reporting.

Change-Id: I3d3f78f97c2b855fc36a480f38c166bda2d979f0
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-07-02 11:22:40 -07:00
Linux Build Service Account
ec7e65b420 Merge "dsp: preload voice and copp topologies" 2018-07-01 10:20:31 -07:00
Xiaojun Sang
353723e8e0 ASoC: wcd934x: skip mutex lock for WDSP boot timeout debug dump
In the case of WDSP boot timeout, api_mutex and ssr_mutex have already
been acquired. There is no need to do mutex lock again during debug dump.
Check the signal enum to see if it's the internal WDSP boot timeout case.

Change-Id: I6fe5e77b1bff72ed5ad463bb1df76c6b02c84c92
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2018-06-29 17:17:22 -07:00
Linux Build Service Account
5aa93412f6 Merge "asoc: fix for applying parameters for codec dma" 2018-06-29 13:30:06 -07:00
Linux Build Service Account
948c21b052 Merge "asoc: fix compilation issues" 2018-06-29 03:52:10 -07:00
Vikram Panduranga
6e55ad86b2 dsp: preload voice and copp topologies
Set topology info to q6core service in ADSP so that the
modules in a topology can be loaded before the usecase starts,
thus reducing usecase setup latency. The same topology is
unloaded before vocproc or copp is destroyed or replaced.

Change-Id: I5f8872130fb09f049e080c61edb8bb0b05e5e2de
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2018-06-28 11:05:25 -07:00
Karthikeyan Mani
bfba054b89 asoc: msm-pcm-routing: Add TDM ext ec ref route
Add SEC TDM interface TX to external echo
reference routing.

Change-Id: I79c62cd21e88de67f6f896cb6b7c8651bf1fb3e0
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
2018-06-28 10:34:33 -07:00
Mangesh Kunchamwar
9d2cada0af asoc: fix for applying parameters for codec dma
Fix for getting the parameters for codec dma interface
from mixer controls and apply to port config.

CRs-Fixed: 2248380
Change-Id: I351c32e868b8fd3fde3eabbeef89b625a7bf8598
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-28 20:07:16 +05:30
Mangesh Kunchamwar
daf02b01f2 asoc: fix compilation issues
Fix compilation issues for qcs405.

CRs-Fixed: 2248380
Change-Id: I1a4929dbcd888cb6be30a155d2f492cbf314a25a
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
2018-06-28 19:59:16 +05:30
Dhananjay Kumar
ce6ec5fcf2 lsm: add support for ADSP multi stage VA
Enhance APIs to get instance id and stage info from userspace,
required for multi-stage Voice Activation in ADSP.

Change-Id: Ie39a3d002a56fb8df0c241089a50d55ef700a538
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
2018-06-27 23:39:17 +05:30