Browse Source

asoc: sm8150: Add MultiMedia17 FE with capture support

Add MultiMedia17 FE to support compress capture usecase.
This can be used to enable recording on compress offload path.

Change-Id: I2a570ec9f4950128aba77a257e98569c714c778c
Signed-off-by: Vikram Panduranga <[email protected]>
Vikram Panduranga 6 years ago
parent
commit
3f030f19f9
1 changed files with 15 additions and 0 deletions
  1. 15 0
      asoc/sm8150.c

+ 15 - 0
asoc/sm8150.c

@@ -5668,6 +5668,21 @@ static struct snd_soc_dai_link msm_common_misc_fe_dai_links[] = {
 		.codec_dai_name = "snd-soc-dummy-dai",
 		.codec_name = "snd-soc-dummy",
 	},
+	{
+		.name = "Compress Capture",
+		.stream_name = "Compress9",
+		.cpu_dai_name = "MultiMedia17",
+		.platform_name = "msm-compress-dsp",
+		.dynamic = 1,
+		.dpcm_capture = 1,
+		.trigger = {SND_SOC_DPCM_TRIGGER_POST,
+			    SND_SOC_DPCM_TRIGGER_POST},
+		.codec_dai_name = "snd-soc-dummy-dai",
+		.codec_name = "snd-soc-dummy",
+		.ignore_suspend = 1,
+		.ignore_pmdown_time = 1,
+		.id = MSM_FRONTEND_DAI_MULTIMEDIA17,
+	},
 };
 
 static struct snd_soc_dai_link msm_common_be_dai_links[] = {