ASoC: msm: add FE DAIs for HFP for SDM660
Add new frontend DAI links for HFP client in both internal and external variants of SDM660. CRs-Fixed: 1117314 Change-Id: If56ce8827c8677c35a49e70be1bfafa373b84f79 Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
This commit is contained in:
parent
af883d4db0
commit
a73b1632b1
2 changed files with 52 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2015-2017, 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
|
||||
|
@ -1302,6 +1302,39 @@ static struct snd_soc_dai_link msm_ext_common_fe_dai[] = {
|
|||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
},
|
||||
{/* hw:x,35 */
|
||||
.name = "SLIMBUS7 Hostless",
|
||||
.stream_name = "SLIMBUS7 Hostless",
|
||||
.cpu_dai_name = "SLIMBUS7_HOSTLESS",
|
||||
.platform_name = "msm-pcm-hostless",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
|
||||
.ignore_suspend = 1,
|
||||
.ignore_pmdown_time = 1,
|
||||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
},
|
||||
{/* hw:x,36 */
|
||||
.name = "SDM660 HFP TX",
|
||||
.stream_name = "MultiMedia6",
|
||||
.cpu_dai_name = "MultiMedia6",
|
||||
.platform_name = "msm-pcm-loopback",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.ignore_suspend = 1,
|
||||
.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
|
||||
.ignore_pmdown_time = 1,
|
||||
.be_id = MSM_FRONTEND_DAI_MULTIMEDIA6,
|
||||
},
|
||||
};
|
||||
|
||||
static struct snd_soc_dai_link msm_ext_common_be_dai[] = {
|
||||
|
|
|
@ -2294,11 +2294,28 @@ static struct snd_soc_dai_link msm_int_dai[] = {
|
|||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
},
|
||||
{/* hw:x,39 */
|
||||
.name = "SDM660 HFP TX",
|
||||
.stream_name = "MultiMedia6",
|
||||
.cpu_dai_name = "MultiMedia6",
|
||||
.platform_name = "msm-pcm-loopback",
|
||||
.dynamic = 1,
|
||||
.dpcm_playback = 1,
|
||||
.dpcm_capture = 1,
|
||||
.codec_dai_name = "snd-soc-dummy-dai",
|
||||
.codec_name = "snd-soc-dummy",
|
||||
.trigger = {SND_SOC_DPCM_TRIGGER_POST,
|
||||
SND_SOC_DPCM_TRIGGER_POST},
|
||||
.ignore_suspend = 1,
|
||||
.no_host_mode = SND_SOC_DAI_LINK_NO_HOST,
|
||||
.ignore_pmdown_time = 1,
|
||||
.be_id = MSM_FRONTEND_DAI_MULTIMEDIA6,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
static struct snd_soc_dai_link msm_int_wsa_dai[] = {
|
||||
{/* hw:x,39 */
|
||||
{/* hw:x,40 */
|
||||
.name = LPASS_BE_INT5_MI2S_TX,
|
||||
.stream_name = "INT5_mi2s Capture",
|
||||
.cpu_dai_name = "msm-dai-q6-mi2s.12",
|
||||
|
|
Loading…
Add table
Reference in a new issue