Exposure of driver bind/unbind to userspace via sysfs may
lead to unexpected behavior.
Hide bind and unbind by driver attribute.
Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
AFE TX loopback is used to capture playback data from RX port
and use it for echo reference. Add new control to configure
Rx port to read data from in this case. Existing control was
re-using EC Ref rx port control and can lead to far end
configuration in undesired cases. Extend existing
MultiMedia1 Output Channel control to support 10channels.
Change-Id: I98f11d315e97d761ac2c8f8bf3ef387568c85082
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Add support for dais and routing for Senary MI2S, AUXPCM and TDM
interfaces.
Change-Id: Ifa4a9c7163330a18d22d3a5c7d75fe99d189ba49
Signed-off-by: Karthikeyan Mani <kmani@codeaurora.org>
Add mixer control to configure multi channel map for
each backend separately.
Change-Id: Ie114fa38ee5ce47841cda4cd7f31349905f5c2c7
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Add support for speech codec which is similar to a2dp aptx adaptive.
Change-Id: Ibfbcf086f009fdb561e26aaf92cefc92f1bd16ca
Signed-off-by: Zhou Song <zhous@codeaurora.org>
Add Tx mixer routes for Quaternary and Quinary MI2S
to support voice call over these interfaces.
CRs-Fixed: 2194204
Change-Id: I33b0c0528fbbfe8cf17ce3fe14dbf2230f05d860
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Fix errors shown during bootup to ensure robustness and enable
cleaner bootup process.
Change-Id: I6d705afc3dbed9ae34ab8473c6b4ae402f7a0df2
Signed-off-by: Bala Kishore Pati <balakishorepati@codeaurora.org>
Add mixer controls and port id for PRIMARY_TDM interface
to support source tracking with TDM mics.
CRs-Fixed: 2193330
Change-Id: I62fd250e0feb3fbc190fb63d1398fc3082506f47
Signed-off-by: Surendar karka <sukark@codeaurora.org>
If data size is not greater than required size
while getting topology in routing driver, it leads
to invalid size pointer access. Add proper
size check to avoid this.
CRs-Fixed: 2384972
Change-Id: I8cd71a4ae866aca57c6d711cfd07e20c5edee3ae
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Set/clear correct FE/BE route for LSM in LSM put funtion
to avoid mixer control initial value is not set from userspace
after audio server restart.
Change-Id: Ic415bb51cbaf887c4ddacf9e7062ec28a36674e4
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Routing driver searches CAL_TYPE list for a matching
topology and then searches the LSM_CAL_TYPE list if
no entry is found in the first list.
If it so happens that a capture type cal block is
present in the CAL_TYPE list, it will be picked even
though the correct entry is present in the LSM_CAL_TYPE list.
Flip the order to give priority to LSM_CAL_TYPE list.
We expect only LSM clients to populate this list and
also enforce exact match for LSM clients.
CRs-Fixed: 2250684
Change-Id: I2ab3481b43a5d8b059a20cb919ff097fc8cf2774
Signed-off-by: Haynes Mathew George <hgeorge@codeaurora.org>
Add support to process ec at channel count other than the
playback channel count by providing ability to set downmixed
channel count and downmixing weights to be used to downmix
ec ref data obtained from playback path.
These configs would be used to explicitly configure MFC module
present in ec ref path, for usecases where ec processing cannot
be done at playback channel count due to algorithmic or resource
limitations.
Also increase the ec ref channel count support to Sixteen from
current max of Eight.
Change-Id: I2297508aedd177580b1c9b2bed3c7c8421507629
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Add connection for RX_CDC_DMA_RX_0 and WSA_CDC_DMA_RX_0
to suppport FM playback.
Change-Id: I406faecd089e063848e9e8b507b1e1a0d1c21454
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Enhance Channel Mixer control for MultiMedia Frontends to
get custom channel mixer coefficients from userspace and
use it during device routings to control stream to device
channel mappings.
Change-Id: Icf950377dede46b097c8656174af5eb311bf719a
Signed-off-by: Cong Tang <congt@codeaurora.org>
Signed-off-by: Dhananjay Kumar <dhakumar@codeaurora.org>
Add SEC_MI2S, PRI_SPDIF and SEC_SPDIF as source to dai links for
concurrent audio recordings.
Change-Id: I9c4a46fa4657222ce80b21fd4320715b8c89f36a
Signed-off-by: Ralf Herz <rherz@codeaurora.org>
Some new backends are added and update be_name for channel mixer.
Update adm_programable_channel_mixer parameter to support record
echo from RX.
Change-Id: I628292112f558eca9301c67b36e6de41924f27d5
Signed-off-by: Meng Wang <mengw@codeaurora.org>
VA macro on Kona has three DMA TX ports. Add support routing
for the third VA macro DMA TX port to add backend and the
corresponding front ends.
Change-Id: I07298045292443af1220d9b95f4cd7aee0b79c66
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
- AFE_LOOPBACK_TX BE is the dummy backend created to
establish the EC reference capture path. While
opening COPP pass playback port id instead of
AFE_LOOPBACK_TX to get reference stream data from
AFE RX port.
- Add session type support in creating new COPP and
while checking for existing COPP.
CRs-Fixed: 2080421
Change-Id: I979f3ce1009cc18ff14130bebb8bd51a78fbe5ac
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Add support to get DOA tracking monitor data.
This is required to support SVA LED display feature with
FFECNS/FFNS enabled.
Change-Id: I819cdd2971195653a955b22597d35b0fe521ec51
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
Add dai driver and routing driver changes for
afe loopback BE. This BE is used to capture
EC reference data.
Change-Id: Ia57f335bde5f8a47de0030fbf1cdb784c8821e17
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Add support for AFE loopback between DMA backends
and tertiary mi2s tx on Kona.
This is required for FM playback usecase.
Change-Id: Idc0a1afc522365d15f3cdf28f01ea49f5c399850
Signed-off-by: Meng Wang <mengw@codeaurora.org>
snd_soc_platform_driver is removed in kernel-4.19.
Update snd_soc_platform_driver to snd_soc_component_driver.
Change-Id: I434b6fd173d1f4365a610d9164342d5d04d6c5bc
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Switch audio drivers to SPDX identifier on msm-4.19.
Change-Id: Ic3f0230a516db251b8d81e8a7e73dbc04d66fe1b
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Update app type config get function and userspace can
get the app type config with mixer control.
Change-Id: I78eda2963161936ae1dbf90dad1bfb64cb079e8d
Signed-off-by: Meng Wang <mengw@codeaurora.org>
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>