ASoC: msm: add Hostless DAI with SLIMBUS_8

SLIMBUS_8 ports can be used for hostless audio playback and
capture use cases. Add Hostless Front-end DAI definitions
with Slimbus 8 ports.

Change-Id: Idc56625bb8fea263c3d530c8a9488eeb81fdd7e5
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
This commit is contained in:
Banajit Goswami 2015-11-23 23:44:34 -08:00 committed by Jeevan Shriram
parent 6c64afbb2d
commit c3efae69ee

View file

@ -462,6 +462,33 @@ static struct snd_soc_dai_driver msm_fe_dais[] = {
.name = "SLIMBUS6_HOSTLESS", .name = "SLIMBUS6_HOSTLESS",
.probe = fe_dai_probe, .probe = fe_dai_probe,
}, },
{
.playback = {
.stream_name = "SLIMBUS8_HOSTLESS Playback",
.aif_name = "SLIM8_DL_HL",
.rates = SNDRV_PCM_RATE_8000_192000,
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S24_LE),
.channels_min = 1,
.channels_max = 8,
.rate_min = 8000,
.rate_max = 192000,
},
.capture = {
.stream_name = "SLIMBUS8_HOSTLESS Capture",
.aif_name = "SLIM8_UL_HL",
.rates = SNDRV_PCM_RATE_8000_192000,
.formats = (SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_S24_LE),
.channels_min = 1,
.channels_max = 8,
.rate_min = 8000,
.rate_max = 192000,
},
.ops = &msm_fe_dai_ops,
.name = "SLIMBUS8_HOSTLESS",
.probe = fe_dai_probe,
},
{ {
.playback = { .playback = {
.stream_name = "INT_FM_HOSTLESS Playback", .stream_name = "INT_FM_HOSTLESS Playback",