Skip to content

ASoC: Intel: Baytrail SST suspend/resume support

Jarkko Nikula alsa-devel 1 version Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ASoC: Intel: Sample Baytrail DSP DMA pointer only after each periodsound/soc/intel/sst-baytrail-pcm.c+13 -130 replies
2/7ASoC: Intel: Simplify Baytrail stream control IPC constructionsound/soc/intel/sst-baytrail-ipc.c+15 -190 replies
3/7ASoC: Intel: Pass stream start position to sst_byt_stream_start()sound/soc/intel/sst-baytrail-ipc.c sound/soc/intel/sst-baytrail-ipc.h sound/soc/intel/sst-baytrail-pcm.c+6 -40 replies
4/7ASoC: Intel: Move Baytrail extended fw address saving to sst_byt_boot()sound/soc/intel/sst-baytrail-dsp.c+7 -70 replies
5/7ASoC: Intel: Allow Rx/Tx message list can be cleared prior to suspendsound/soc/intel/sst-baytrail-ipc.c+18 -00 replies
6/7ASoC: Intel: Add Baytrail suspend/resume supportsound/soc/intel/sst-baytrail-ipc.c sound/soc/intel/sst-baytrail-ipc.h sound/soc/intel/sst-baytrail-pcm.c+179 -10 replies
7/7ASoC: Intel: Allow byt-5640 machine driver and SST core go to suspendsound/soc/intel/byt-rt5640.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] ASoC: Intel: Baytrail SST suspend/resume support

This set adds suspend/resume support to Baytrail SST. This is implemented by putting the DSP into reset and by releasing driver resources before suspend. In resume path the DSP is rebooted in normal boot state. Active streams are restored by restarting them from last known buffer position before suspend.

Patches 1-5 are preparing for the suspend/resume and patch 6 implements the core logic that takes care of stopping the DSP before suspend and restarting it again after resume. Patch 7 removes ignore_suspend flag from byt-rt5640 machine driver since it doesn't have use at the moment and adds suspend/resume callbacks that are hooked to ASoC core. This takes care that active stream will be paused and resumed over suspend/resume cycle on byt-rt5640 machine.

Jarkko Nikula (5):
ASoC: Intel: Sample Baytrail DSP DMA pointer only after each period
ASoC: Intel: Simplify Baytrail stream control IPC construction
ASoC: Intel: Pass stream start position to sst_byt_stream_start()
ASoC: Intel: Move Baytrail extended fw address saving to

    sst_byt_boot()

ASoC: Intel: Allow byt-5640 machine driver and SST core go to suspend

Liam Girdwood (2):
ASoC: Intel: Allow Rx/Tx message list can be cleared prior to suspend
ASoC: Intel: Add Baytrail suspend/resume support

 sound/soc/intel/byt-rt5640.c       |  14 +++-
 sound/soc/intel/sst-baytrail-dsp.c |  14 ++--
 sound/soc/intel/sst-baytrail-ipc.c | 124 ++++++++++++++++++++++++++++------
 sound/soc/intel/sst-baytrail-ipc.h |   7 +-
 sound/soc/intel/sst-baytrail-pcm.c | 135 ++++++++++++++++++++++++++++++++-----
 5 files changed, 249 insertions(+), 45 deletions(-)
Signature · 1 line
2.0.0.rc0