asoc: kona: Add dai links for DP and USB

Change-Id: I33b46806b4fa1c8a127fd1999a1a92395db05a6d
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
This commit is contained in:
Rohit kumar
2020-02-04 18:05:20 +05:30
committed by Gerrit - the friendly Code Review server
parent 2e2e457029
commit d6fb96d20b

View File

@@ -624,6 +624,44 @@ static struct snd_soc_dai_link msm_common_dai_links[] = {
.ignore_pmdown_time = 1,
.init = &msm_wcn_init,
},
{
.name = LPASS_BE_DISPLAY_PORT_RX,
.stream_name = LPASS_BE_DISPLAY_PORT_RX,
.cpu_dai_name = "snd-soc-dummy-dai",
.codec_name = "msm-ext-disp-audio-codec-rx",
.codec_dai_name = "msm_dp_audio_codec_rx_dai",
.dpcm_playback = 1,
.async_ops = ASYNC_DPCM_SND_SOC_PREPARE,
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
SND_SOC_DPCM_TRIGGER_POST},
.ignore_pmdown_time = 1,
.ignore_suspend = 1,
},
{
.name = LPASS_BE_USB_AUDIO_RX,
.stream_name = LPASS_BE_USB_AUDIO_RX,
.cpu_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
.codec_dai_name = "snd-soc-dummy-dai",
.dpcm_playback = 1,
.async_ops = ASYNC_DPCM_SND_SOC_PREPARE,
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
SND_SOC_DPCM_TRIGGER_POST},
.ignore_pmdown_time = 1,
.ignore_suspend = 1,
},
{
.name = LPASS_BE_USB_AUDIO_TX,
.stream_name = LPASS_BE_USB_AUDIO_TX,
.cpu_dai_name = "snd-soc-dummy-dai",
.codec_name = "snd-soc-dummy",
.codec_dai_name = "snd-soc-dummy-dai",
.dpcm_capture = 1,
.async_ops = ASYNC_DPCM_SND_SOC_PREPARE,
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
SND_SOC_DPCM_TRIGGER_POST},
.ignore_suspend = 1,
},
};
static struct snd_soc_dai_link msm_kona_dai_links[