Skip to content

ASoC: Intel: Add support for Baytrail SST DSP

Jarkko Nikula alsa-devel 1 version Applied

Status from this message: I've applied all these, thanks - please look at the machine driver

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7ASoC: Intel: Add Baytrail SST ID and Baytrail specific register bitssound/soc/intel/sst-dsp.h+11 -00 replies
2/7ASoC: Intel: Add Intel Baytrail SST DSP supportsound/soc/intel/sst-baytrail-dsp.c sound/soc/intel/sst-dsp-priv.h+373 -00 replies
3/7ASoC: Intel: Add Intel Baytrail SST DSP IPC supportsound/soc/intel/sst-baytrail-ipc.c sound/soc/intel/sst-baytrail-ipc.h+935 -00 replies
4/7ASoC: Intel: Add Intel Baytrail SST PCM platform driversound/soc/intel/sst-baytrail-pcm.c+422 -00 replies
5/7ASoC: Intel: Add machine driver for Baytrail SST with RT5640 codecsound/soc/intel/byt-rt5640.c+194 -01 reply
6/7ASoC: Intel: Add Baytrail SST and byt-rt5640 machine driver probingsound/soc/intel/sst-acpi.c+17 -00 replies
7/7ASoC: Intel: Add build support for Baytrail SSTsound/soc/intel/Kconfig sound/soc/intel/Makefile+18 -10 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLiam Girdwood
SeriesA-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] ASoC: Intel: Add support for Baytrail SST DSP

This set adds support for Baytrail SST DSP with RT5640 based machine driver. Design is quite similar and is actually inherited from Intel Haswell SST DSP drivers that were posted recently. Reason for another implementation is that there are more differences than similarities between Haswell and Baytrail.

First difference comes from the SHIM registers that are 32-bit on Haswell and 64-bit on Baytrail. Also memory map and message mailbox is different. Second difference is message passing and message headers between host and SST DSP. For instance the DSP notifies the host using different SHIM registers and bits than on Haswell.

Biggest difference comes from the DSP firmware. It has different IPC messages, stream setup and how DMA pointer is tracked. Currently firmware has less features than Haswell DSP firmware and it doesn't support compress offload and volume controls support.

The RT5640 based machine driver is for our customer reference boards but at quick test it appears to work on Asus T100 too. Note currently the SST is the I2S master on this machine driver and codec is set to use I2C BCLK as it's input clock.

Jarkko Nikula (7):
ASoC: Intel: Add Baytrail SST ID and Baytrail specific register bits
ASoC: Intel: Add Intel Baytrail SST DSP support
ASoC: Intel: Add Intel Baytrail SST DSP IPC support
ASoC: Intel: Add Intel Baytrail SST PCM platform driver
ASoC: Intel: Add machine driver for Baytrail SST with RT5640 codec
ASoC: Intel: Add Baytrail SST and byt-rt5640 machine driver probing
ASoC: Intel: Add build support for Baytrail SST

 sound/soc/intel/Kconfig            |  14 +-
 sound/soc/intel/Makefile           |   5 +
 sound/soc/intel/byt-rt5640.c       | 194 +++++++++
 sound/soc/intel/sst-acpi.c         |  17 +
 sound/soc/intel/sst-baytrail-dsp.c | 372 ++++++++++++++++
 sound/soc/intel/sst-baytrail-ipc.c | 866 +++++++++++++++++++++++++++++++++++++
 sound/soc/intel/sst-baytrail-ipc.h |  69 +++
 sound/soc/intel/sst-baytrail-pcm.c | 422 ++++++++++++++++++
 sound/soc/intel/sst-dsp-priv.h     |   1 +
 sound/soc/intel/sst-dsp.h          |  11 +
 10 files changed, 1970 insertions(+), 1 deletion(-)
 create mode 100644 sound/soc/intel/byt-rt5640.c
 create mode 100644 sound/soc/intel/sst-baytrail-dsp.c
 create mode 100644 sound/soc/intel/sst-baytrail-ipc.c
 create mode 100644 sound/soc/intel/sst-baytrail-ipc.h
 create mode 100644 sound/soc/intel/sst-baytrail-pcm.c
Signature · 1 line
1.8.5.3