aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/intel/sst-dsp.h
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2014-10-29 17:40:43 +0000
committerMark Brown <broonie@kernel.org>2014-10-29 20:50:42 +0000
commit2e4f75919e5a02d605b0d84425251654d48fb056 (patch)
tree781b0e06d9d848c73be4f259936289ca7f1c8a0d /sound/soc/intel/sst-dsp.h
parentaed3c7b77c85ed7060f1f56bfa909d2a86ab2a20 (diff)
ASoC: Intel: Add PM support to HSW/BDW PCM driver
Add PM and RTD3 support to the HSW/BDW PCM driver. The PCM driver will now save DSP context and then power off the DSP when it's not in use. DSP power and context is then restored when it's next used. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/sst-dsp.h')
-rw-r--r--sound/soc/intel/sst-dsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-dsp.h b/sound/soc/intel/sst-dsp.h
index 7bb482053489..2753b85ac863 100644
--- a/sound/soc/intel/sst-dsp.h
+++ b/sound/soc/intel/sst-dsp.h
@@ -30,6 +30,9 @@
#define SST_DMA_TYPE_DW 1
#define SST_DMA_TYPE_MID 2
+/* autosuspend delay 5s*/
+#define SST_RUNTIME_SUSPEND_DELAY (5 * 1000)
+
/* SST Shim register map
* The register naming can differ between products. Some products also
* contain extra functionality.