clear-pkgs-linux-iot-lts2018/0254-ASoC-Intel-CNL-Add-new...

48 lines
1.5 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Guneshwor Singh <guneshwor.o.singh@intel.com>
Date: Mon, 26 Jun 2017 12:12:48 +0530
Subject: [PATCH] ASoC: Intel: CNL: Add new BE dai for ALC701 HS plyaback
Change-Id: I64ef09b6147472ce8a78e5a689413b8f4384132c
Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com>
---
sound/soc/intel/skylake/skl-pcm.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
index e684d67109a6..1cceaa5187a9 100644
--- a/sound/soc/intel/skylake/skl-pcm.c
+++ b/sound/soc/intel/skylake/skl-pcm.c
@@ -1351,6 +1351,28 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
.formats = SNDRV_PCM_FMTBIT_S16_LE,
},
},
+{
+ /* Currently adding 1 playback and 1 capture pin, ideally it
+ * should be coming from CLT based on endpoints to be supported
+ */
+ .name = "SDW10 Pin",
+ .id = SDW_BE_DAI_ID_MSTR0,
+ .ops = &skl_sdw_dai_ops,
+ .playback = {
+ .stream_name = "SDW Tx10",
+ .channels_min = HDA_STEREO,
+ .channels_max = HDA_STEREO,
+ .rates = SNDRV_PCM_RATE_48000,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ },
+ .capture = {
+ .stream_name = "SDW Rx10",
+ .channels_min = HDA_STEREO,
+ .channels_max = HDA_STEREO,
+ .rates = SNDRV_PCM_RATE_48000,
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
+ },
+},
{
/* Currently adding 1 capture pin, for PDM ideally it
* should be coming from CLT based on endpoints to be supported
--
https://clearlinux.org