Add ec reference support for SEC_TDM_TX_0 and
TERT_TDM_RX_2 ports.
Change-Id: I3116b942fbd3c6c7bea14a77fdcd840dcab059aa
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Check the validity of copp index before calling
adm_close. This avoids redundant error logs in
adm_close.
CRs-Fixed: 2330388
Change-Id: I0b1cef5a45298fe9cbc84d9b944f6f10cec562df
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
PCM streams do now support up to 32 channels.
Extend Playback Channel Map mixer control to 32
channels. Use new DSP 32 channel API if DSP version
supports it. If not fall back to 8 channels API.
Change-Id: I74c4f91b0c9fab2a963690ba8143ebea36ad23dd
Signed-off-by: Dieter Luecking <dieterl@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Add new FE dais and their routings to support
compress loopback usecase for HDMI and BT sink.
Change-Id: I95d683ff22cda0e7d52333e7dabbb7694cb254f3
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
Excessive logging causes throttling during bootup.
Update log level from error to debug in get functions to
avoid excessive logging.
CRs-Fixed: 2321589
Change-Id: If2a23144adf76cdd9bb2d9048a967b63186d7f6e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Fix routing error from incorrect usage of passthrough mode
while switching LSM session from direct AFE connection to
path using ADM before AFE connection.
Issue is due to loss of passthrough mode for an FE not opened
with ADM during initial session setup or while moving the FE
from one BE port to another BE port, i.e. device switch usecases.
Since passthrough mode for an FE is supposed to be same for all
the BEs connecting to the FE and is directly decided from FE
driver having single value, decouple passthrough mode from BE
and store the required mode in an FE config independent of BE usage.
This allows storing passthrough mode for future usage irrespective
of initial setup path which can be with or without ADM.
Change-Id: I53106b49effd9b267363aedd77477eed103b317c
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Add routing entries for Multimedia20 Tx mixer in
order to fix boot up warnings in routing driver.
CRs-Fixed: 2281591
Change-Id: I9ac35dab53811bd6ede64d69d221cdc6fbd622f4
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Add routes to support FM playback over speaker and headphones.
Change-Id: I36b992a38602a460319551ba473cbaac604021c0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
Add support for TX codec dma interface to support source
tracking and sound focus mixer controls.
Change-Id: I11dc36a2f86164c7dc3a24357e68a04a8099cb4a
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Add LSM mixer and function related routing changes
for TX_CDC_DMA_TX_3 interface to support SVA.
CRs-Fixed: 2281591
Change-Id: I9ff7e9d51069ec0467c464ddb5c640e533e81d90
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Add port mixer controls corresponding to WSA_CDC_DMA_RX_0
and RX_CDC_DMA_RX_0 to support AFE loopback.
Change-Id: I6e0e19fe45bd6c6060c842d1ed5073de6f4f6ef5
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Add hostless nodes for RX_CDC_DMA_RX_0 and TX_CDC_DMA_TX_3
interfaces to support HFP/FM use cases.
Add missing port-ids in afe driver.
CRs-Fixed: 2281591
Change-Id: I634a6970b7c47320120cb850ad94bd69376ac181
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
New codec dma interfaces have been introduced to connect LPASS and
Codec macros. This change is to add support routing for RX and TX
codec dma interface backends and their corresponding front ends.
CRs-Fixed: 2281591
Change-Id: I625c66352c61176cd82b801e97e9d565919e2715
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Add multimedia21 frontend dai as well as capture
and playback routing support from/to AUXPCM and
TDM interfaces.
CRs-fixed: 2273671
Change-Id: I5c1e3a2a549015636f7160c3cfc3f15420c9727c
Signed-off-by: Derek Chen <chenche@codeaurora.org>
Add route to connect echo reference mux to secondary
tdm port for tdm ec ref use cases.
Change-Id: I8ae7abadca6f19683d689299bc15c41e0e42472f
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Support two SPDIF input and two SPDIF output interfaces in AFE.
Change-Id: Ie2eb97e85c3b21cb112282dbdf0049a271e7cc93
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
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>
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>
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>
Based on the type of pre/post processing, it is possible that
the processed channel count could be different from the input
channel count. As an example, the FFECNS processing block
could accept 3 channel input and has the ability to output
upto 9 channels of processed data. In cases like these, the
stream side needs to know the processed channel count to set
up its own configuration. Change adds functionality in
routing driver to read the processed channel count.
Change-Id: I06c365f8c53270712709631bc23649d37434f405
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Add support to dynamically configure channel mixing weightage
coefficients for both ASM and LSM sessions.
Currently the code is executed only for LSM session and can be
extended to ASM as well.
Change-Id: I727ea6fa2d3a99bbf6811005c5733535f680891b
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
It is required to know the number of output channels for any
particular app_type so that channel mixing can be performed
if the channels do not match as that of the listen stream.
Add new Listen app type config V2 mixer control that reads the
num_out_channels field along with the others.
Change-Id: I49a74004e12dfa5a4c1ebaac4ac065acc6ff5bc3
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>