ASoC: Intel: kbl: Add new FEs for Multi-Playback & Echo-Reference
authorNaveen Manohar <naveen.m@intel.com>
Wed, 2 Aug 2017 06:13:33 +0000 (11:43 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 3 Aug 2017 10:06:33 +0000 (11:06 +0100)
Adding new frontends to support:
1. Parallel playback on 2 ports simultaneously
2. Echo reference capture capability

Signed-off-by: Naveen M <naveen.m@intel.com>
Signed-off-by: Sathya Prakash M R <sathya.prakash.m.r@intel.com>
Acked-By: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-pcm.c

index b1f2dba..debdaac 100644 (file)
@@ -675,6 +675,32 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
        },
 },
 {
+       .name = "System Pin2",
+       .ops = &skl_pcm_dai_ops,
+       .playback = {
+               .stream_name = "Headset Playback",
+               .channels_min = HDA_MONO,
+               .channels_max = HDA_STEREO,
+               .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 |
+                       SNDRV_PCM_RATE_8000,
+               .formats = SNDRV_PCM_FMTBIT_S16_LE |
+                       SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,
+       },
+},
+{
+       .name = "Echoref Pin",
+       .ops = &skl_pcm_dai_ops,
+       .capture = {
+               .stream_name = "Echoreference Capture",
+               .channels_min = HDA_STEREO,
+               .channels_max = HDA_STEREO,
+               .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_16000 |
+                       SNDRV_PCM_RATE_8000,
+               .formats = SNDRV_PCM_FMTBIT_S16_LE |
+                       SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE,
+       },
+},
+{
        .name = "Reference Pin",
        .ops = &skl_pcm_dai_ops,
        .capture = {