aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/boards
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2015-12-17 21:35:45 -0500
committerMark Brown <broonie@kernel.org>2015-12-19 06:49:56 -0500
commitd35eb96a95dc82befe2d9d1533728506b0847f14 (patch)
tree7f502eadab4f9d85275e592e278f039bbd55f886 /sound/soc/intel/boards
parent8788f83929ca1dbfa640ac17aec78b2e36cf493d (diff)
ASoC: Intel: boards: add DEEP_BUFFER support for BYT/CHT/BSW
Add dai links to enable additional playback stream with deeper buffer for lower power consumption. The normal and DEEP_buffer streams are not mutually exclusive, content will be mixed by the DSP. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/boards')
-rw-r--r--sound/soc/intel/boards/bytcr_rt5640.c13
-rw-r--r--sound/soc/intel/boards/cht_bsw_max98090_ti.c12
-rw-r--r--sound/soc/intel/boards/cht_bsw_rt5645.c12
-rw-r--r--sound/soc/intel/boards/cht_bsw_rt5672.c12
4 files changed, 49 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/bytcr_rt5640.c b/sound/soc/intel/boards/bytcr_rt5640.c
index 944283f569c6..a81389d10e17 100644
--- a/sound/soc/intel/boards/bytcr_rt5640.c
+++ b/sound/soc/intel/boards/bytcr_rt5640.c
@@ -267,6 +267,19 @@ static struct snd_soc_dai_link byt_rt5640_dais[] = {
267 .dpcm_capture = 1, 267 .dpcm_capture = 1,
268 .ops = &byt_rt5640_aif1_ops, 268 .ops = &byt_rt5640_aif1_ops,
269 }, 269 },
270 [MERR_DPCM_DEEP_BUFFER] = {
271 .name = "Deep-Buffer Audio Port",
272 .stream_name = "Deep-Buffer Audio",
273 .cpu_dai_name = "deepbuffer-cpu-dai",
274 .codec_dai_name = "snd-soc-dummy-dai",
275 .codec_name = "snd-soc-dummy",
276 .platform_name = "sst-mfld-platform",
277 .ignore_suspend = 1,
278 .nonatomic = true,
279 .dynamic = 1,
280 .dpcm_playback = 1,
281 .ops = &byt_rt5640_aif1_ops,
282 },
270 [MERR_DPCM_COMPR] = { 283 [MERR_DPCM_COMPR] = {
271 .name = "Baytrail Compressed Port", 284 .name = "Baytrail Compressed Port",
272 .stream_name = "Baytrail Compress", 285 .stream_name = "Baytrail Compress",
diff --git a/sound/soc/intel/boards/cht_bsw_max98090_ti.c b/sound/soc/intel/boards/cht_bsw_max98090_ti.c
index e36dad302bed..90588d6e64fc 100644
--- a/sound/soc/intel/boards/cht_bsw_max98090_ti.c
+++ b/sound/soc/intel/boards/cht_bsw_max98090_ti.c
@@ -232,6 +232,18 @@ static struct snd_soc_dai_link cht_dailink[] = {
232 .dpcm_capture = 1, 232 .dpcm_capture = 1,
233 .ops = &cht_aif1_ops, 233 .ops = &cht_aif1_ops,
234 }, 234 },
235 [MERR_DPCM_DEEP_BUFFER] = {
236 .name = "Deep-Buffer Audio Port",
237 .stream_name = "Deep-Buffer Audio",
238 .cpu_dai_name = "deepbuffer-cpu-dai",
239 .codec_dai_name = "snd-soc-dummy-dai",
240 .codec_name = "snd-soc-dummy",
241 .platform_name = "sst-mfld-platform",
242 .nonatomic = true,
243 .dynamic = 1,
244 .dpcm_playback = 1,
245 .ops = &cht_aif1_ops,
246 },
235 [MERR_DPCM_COMPR] = { 247 [MERR_DPCM_COMPR] = {
236 .name = "Compressed Port", 248 .name = "Compressed Port",
237 .stream_name = "Compress", 249 .stream_name = "Compress",
diff --git a/sound/soc/intel/boards/cht_bsw_rt5645.c b/sound/soc/intel/boards/cht_bsw_rt5645.c
index 1d2525a53bff..2d3afddb0a2e 100644
--- a/sound/soc/intel/boards/cht_bsw_rt5645.c
+++ b/sound/soc/intel/boards/cht_bsw_rt5645.c
@@ -260,6 +260,18 @@ static struct snd_soc_dai_link cht_dailink[] = {
260 .dpcm_capture = 1, 260 .dpcm_capture = 1,
261 .ops = &cht_aif1_ops, 261 .ops = &cht_aif1_ops,
262 }, 262 },
263 [MERR_DPCM_DEEP_BUFFER] = {
264 .name = "Deep-Buffer Audio Port",
265 .stream_name = "Deep-Buffer Audio",
266 .cpu_dai_name = "deepbuffer-cpu-dai",
267 .codec_dai_name = "snd-soc-dummy-dai",
268 .codec_name = "snd-soc-dummy",
269 .platform_name = "sst-mfld-platform",
270 .nonatomic = true,
271 .dynamic = 1,
272 .dpcm_playback = 1,
273 .ops = &cht_aif1_ops,
274 },
263 [MERR_DPCM_COMPR] = { 275 [MERR_DPCM_COMPR] = {
264 .name = "Compressed Port", 276 .name = "Compressed Port",
265 .stream_name = "Compress", 277 .stream_name = "Compress",
diff --git a/sound/soc/intel/boards/cht_bsw_rt5672.c b/sound/soc/intel/boards/cht_bsw_rt5672.c
index 77fb3c419ca4..2e5347f8f96c 100644
--- a/sound/soc/intel/boards/cht_bsw_rt5672.c
+++ b/sound/soc/intel/boards/cht_bsw_rt5672.c
@@ -248,6 +248,18 @@ static struct snd_soc_dai_link cht_dailink[] = {
248 .dpcm_capture = 1, 248 .dpcm_capture = 1,
249 .ops = &cht_aif1_ops, 249 .ops = &cht_aif1_ops,
250 }, 250 },
251 [MERR_DPCM_DEEP_BUFFER] = {
252 .name = "Deep-Buffer Audio Port",
253 .stream_name = "Deep-Buffer Audio",
254 .cpu_dai_name = "deepbuffer-cpu-dai",
255 .codec_dai_name = "snd-soc-dummy-dai",
256 .codec_name = "snd-soc-dummy",
257 .platform_name = "sst-mfld-platform",
258 .nonatomic = true,
259 .dynamic = 1,
260 .dpcm_playback = 1,
261 .ops = &cht_aif1_ops,
262 },
251 [MERR_DPCM_COMPR] = { 263 [MERR_DPCM_COMPR] = {
252 .name = "Compressed Port", 264 .name = "Compressed Port",
253 .stream_name = "Compress", 265 .stream_name = "Compress",