summaryrefslogtreecommitdiffstats
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2016-11-03 12:37:18 +0100
committerMark Brown <broonie@kernel.org>2016-11-03 18:14:22 +0100
commit8a0cb2360ddb941e0a2fbe33d400d2985e4f2fff (patch)
tree8cbbc7147df4021e428e2cde24b82c1eecdd96c4 /include/uapi/sound
parentASoC: Intel: Skylake: Add D0iX callbacks (diff)
downloadlinux-8a0cb2360ddb941e0a2fbe33d400d2985e4f2fff.tar.xz
linux-8a0cb2360ddb941e0a2fbe33d400d2985e4f2fff.zip
ASoC: Intel: Skylake: Add support for LPMode
For D0i3, we need to tell DSP to run the pipelines in LP mode. This information is kept in topology and passed to driver as an attribute for pipe. So add a new tuple for lpmode and program the pipe based on value set. Signed-off-by: Jayachandran B <jayachandran.b@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r--include/uapi/sound/snd_sst_tokens.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/uapi/sound/snd_sst_tokens.h b/include/uapi/sound/snd_sst_tokens.h
index 1ee2e943d66a..f4b8b34de519 100644
--- a/include/uapi/sound/snd_sst_tokens.h
+++ b/include/uapi/sound/snd_sst_tokens.h
@@ -157,6 +157,8 @@
*
* %SKL_TKN_STR_LIB_NAME: Specifies the library name
*
+ * %SKL_TKN_U32_PMODE: Specifies the power mode for pipe
+ *
* module_id and loadable flags dont have tokens as these values will be
* read from the DSP FW manifest
*/
@@ -208,7 +210,8 @@ enum SKL_TKNS {
SKL_TKN_U32_PROC_DOMAIN,
SKL_TKN_U32_LIB_COUNT,
SKL_TKN_STR_LIB_NAME,
- SKL_TKN_MAX = SKL_TKN_STR_LIB_NAME,
+ SKL_TKN_U32_PMODE,
+ SKL_TKN_MAX = SKL_TKN_U32_PMODE,
};
#endif