summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSujin Panicker <spanic@codeaurora.org>2020-03-13 11:56:29 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2020-03-20 00:30:09 -0700
commitc16bf516e1d9740678caa3a5ed4d0459ef44687e (patch)
treec0c77d41d775853354f49c06070b1c16ee3bae9f
parentb51434354d9c6d47fd5cfa04eb71353cbd9aac0b (diff)
downloadmsm-extra-c16bf516e1d9740678caa3a5ed4d0459ef44687e.tar.gz
asoc: sm8150: add proxy ports for call screening in machine driver
add machine driver changes for proxy port changes. Change-Id: I04146717ee68f7c2dac719d5e4b2bbefea1797b8 Signed-off-by: Sujin Panicker <spanic@codeaurora.org>
-rw-r--r--asoc/sm6150.c29
-rw-r--r--asoc/sm8150.c27
2 files changed, 55 insertions, 1 deletions
diff --git a/asoc/sm6150.c b/asoc/sm6150.c
index b8f579bc..7c146927 100644
--- a/asoc/sm6150.c
+++ b/asoc/sm6150.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -6936,6 +6936,33 @@ static struct snd_soc_dai_link msm_common_be_dai_links[] = {
.ignore_suspend = 1,
.ignore_pmdown_time = 1,
},
+ /* Proxy Tx BACK END DAI Link */
+ {
+ .name = LPASS_BE_PROXY_TX,
+ .stream_name = "Proxy Capture",
+ .cpu_dai_name = "msm-dai-q6-dev.8195",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "msm-stub-codec.1",
+ .codec_dai_name = "msm-stub-tx",
+ .no_pcm = 1,
+ .dpcm_capture = 1,
+ .id = MSM_BACKEND_DAI_PROXY_TX,
+ .ignore_suspend = 1,
+ },
+ /* Proxy Rx BACK END DAI Link */
+ {
+ .name = LPASS_BE_PROXY_RX,
+ .stream_name = "Proxy Playback",
+ .cpu_dai_name = "msm-dai-q6-dev.8194",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "msm-stub-codec.1",
+ .codec_dai_name = "msm-stub-rx",
+ .no_pcm = 1,
+ .dpcm_playback = 1,
+ .id = MSM_BACKEND_DAI_PROXY_RX,
+ .ignore_pmdown_time = 1,
+ .ignore_suspend = 1,
+ },
{
.name = LPASS_BE_USB_AUDIO_RX,
.stream_name = "USB Audio Playback",
diff --git a/asoc/sm8150.c b/asoc/sm8150.c
index b0d62ef8..14d65162 100644
--- a/asoc/sm8150.c
+++ b/asoc/sm8150.c
@@ -6017,6 +6017,33 @@ static struct snd_soc_dai_link msm_common_be_dai_links[] = {
.ignore_suspend = 1,
.ignore_pmdown_time = 1,
},
+ /* Proxy Tx BACK END DAI Link */
+ {
+ .name = LPASS_BE_PROXY_TX,
+ .stream_name = "Proxy Capture",
+ .cpu_dai_name = "msm-dai-q6-dev.8195",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "msm-stub-codec.1",
+ .codec_dai_name = "msm-stub-tx",
+ .no_pcm = 1,
+ .dpcm_capture = 1,
+ .id = MSM_BACKEND_DAI_PROXY_TX,
+ .ignore_suspend = 1,
+ },
+ /* Proxy Rx BACK END DAI Link */
+ {
+ .name = LPASS_BE_PROXY_RX,
+ .stream_name = "Proxy Playback",
+ .cpu_dai_name = "msm-dai-q6-dev.8194",
+ .platform_name = "msm-pcm-routing",
+ .codec_name = "msm-stub-codec.1",
+ .codec_dai_name = "msm-stub-rx",
+ .no_pcm = 1,
+ .dpcm_playback = 1,
+ .id = MSM_BACKEND_DAI_PROXY_RX,
+ .ignore_pmdown_time = 1,
+ .ignore_suspend = 1,
+ },
{
.name = LPASS_BE_USB_AUDIO_RX,
.stream_name = "USB Audio Playback",