Ver código fonte

asoc: qcs405: add machine driver support for SLIMBUS_9_TX

Add machine driver code to support SLIMBUS_9_TX port.
SLIMBUS_9_TX BE port is used for split A2DP sink usecase.

Change-Id: I9628a46c4b2b2fe0f5fb8c9861975fd4630bdcdb
Surendar Karka 6 anos atrás
pai
commit
05392ab0da
1 arquivos alterados com 14 adições e 0 exclusões
  1. 14 0
      asoc/qcs405.c

+ 14 - 0
asoc/qcs405.c

@@ -6990,6 +6990,20 @@ static struct snd_soc_dai_link msm_wcn_be_dai_links[] = {
 		.ops = &msm_wcn_ops,
 		.ignore_suspend = 1,
 	},
+	{
+		.name = LPASS_BE_SLIMBUS_9_TX,
+		.stream_name = "Slimbus9 Capture",
+		.cpu_dai_name = "msm-dai-q6-dev.16403",
+		.platform_name = "msm-pcm-routing",
+		.codec_name = "btfmslim_slave",
+		.codec_dai_name = "btfm_bt_split_a2dp_slim_tx",
+		.no_pcm = 1,
+		.dpcm_capture = 1,
+		.id = MSM_BACKEND_DAI_SLIMBUS_9_TX,
+		.be_hw_params_fixup = msm_be_hw_params_fixup,
+		.ops = &msm_wcn_ops,
+		.ignore_suspend = 1,
+	},
 };
 
 static struct snd_soc_dai_link msm_mi2s_be_dai_links[] = {