2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-10-16 02:05:43 +08:00
|
|
|
From: Hardik T Shah <hardik.t.shah@intel.com>
|
|
|
|
Date: Sat, 23 Apr 2016 18:06:12 +0530
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] ASoC:SKL: Add DAI for the SoundWire PDM interface.
|
2018-10-16 02:05:43 +08:00
|
|
|
|
|
|
|
Add DAI for the PDM Capture between PDM Codec and
|
|
|
|
SoundWire Master.
|
|
|
|
|
|
|
|
Change-Id: I6d7ba95d06ee7143cb303dcf0a8ae436f6aa1742
|
|
|
|
Signed-off-by: Hardik T Shah <hardik.t.shah@intel.com>
|
|
|
|
Reviewed-on:
|
|
|
|
---
|
|
|
|
sound/soc/intel/skylake/skl-pcm.c | 15 +++++++++++++++
|
|
|
|
1 file changed, 15 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/sound/soc/intel/skylake/skl-pcm.c b/sound/soc/intel/skylake/skl-pcm.c
|
2020-10-27 02:14:06 +08:00
|
|
|
index 74ec7e65e5f7..d93191514dca 100644
|
2018-10-16 02:05:43 +08:00
|
|
|
--- a/sound/soc/intel/skylake/skl-pcm.c
|
|
|
|
+++ b/sound/soc/intel/skylake/skl-pcm.c
|
2019-05-23 10:08:33 +08:00
|
|
|
@@ -1120,6 +1120,21 @@ static struct snd_soc_dai_driver skl_platform_dai[] = {
|
2018-10-16 02:05:43 +08:00
|
|
|
.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
|
|
|
|
+ */
|
|
|
|
+ .name = "SDW PDM Pin",
|
|
|
|
+ .ops = &skl_sdw_dai_ops,
|
|
|
|
+ .capture = {
|
|
|
|
+ .stream_name = "SDW Rx1",
|
|
|
|
+ .channels_min = HDA_MONO,
|
|
|
|
+ .channels_max = HDA_QUAD,
|
|
|
|
+ .rates = SNDRV_PCM_RATE_48000,
|
|
|
|
+ .formats = SNDRV_PCM_FMTBIT_S16_LE,
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-16 02:05:43 +08:00
|
|
|
|