aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKeyon Jie <yang.jie@linux.intel.com>2019-10-25 17:41:04 -0500
committerMark Brown <broonie@kernel.org>2019-10-28 14:42:07 +0000
commit4a94940988cc44adeb383401dea0beeac4abbe63 (patch)
treedfd39cfa0dceb0a42aebd7f22fe23129131b24ef /include
parentASoC: SOF: add flag to snd_sof_pcm_stream for D0i3 compatible stream (diff)
downloadlinux-dev-4a94940988cc44adeb383401dea0beeac4abbe63.tar.xz
linux-dev-4a94940988cc44adeb383401dea0beeac4abbe63.zip
ASoC: SOF: token: add tokens for PCM compatible with D0i3 substate
Add stream token SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 and SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 to denote if the stream can be opened at low power d0i3 status or not. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191025224122.7718-9-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/sound/sof/tokens.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/sound/sof/tokens.h b/include/uapi/sound/sof/tokens.h
index d65406f34361..76883e6fb750 100644
--- a/include/uapi/sound/sof/tokens.h
+++ b/include/uapi/sound/sof/tokens.h
@@ -113,6 +113,10 @@
/* ESAI */
#define SOF_TKN_IMX_ESAI_MCLK_ID 1100
+/* Stream */
+#define SOF_TKN_STREAM_PLAYBACK_COMPATIBLE_D0I3 1200
+#define SOF_TKN_STREAM_CAPTURE_COMPATIBLE_D0I3 1201
+
/* Led control for mute switches */
#define SOF_TKN_MUTE_LED_USE 1300
#define SOF_TKN_MUTE_LED_DIRECTION 1301