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 b1f2dba642c40dd99dfb10df3d403d4efc2d03bb..debdaac2c3a2d9750cb849a9fadd2e26506a1cb0 100644 (file)
@@ -674,6 +674,32 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
                .sig_bits = 32,
        },
 },
+{
+       .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,