Skip to content

Intel SST driver restructure

Jie Yang alsa-devel 3 versions – Applied

Status from this message: Applied all, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyApplied
  2. v25 patches 2 repliesApplied
  3. v15 patches 11 repliesSuperseded

Changes in v3 from the cover letter

Fix ATT43256.config 0day build issue.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/5ASoC: Intel: create common folder and move common files insound/soc/intel/Makefile sound/soc/intel/common/Makefile sound/soc/intel/common/sst-acpi.c +11 more+14 -120 replies
2/5ASoC: Intel: create haswell folder and move haswell platform files insound/soc/intel/Makefile sound/soc/intel/haswell/Makefile sound/soc/intel/haswell/sst-haswell-dsp.c +3 more+13 -110 replies
3/5ASoC: Intel: create boards folder and move sst boards files insound/soc/intel/Makefile sound/soc/intel/boards/Makefile sound/soc/intel/boards/broadwell.c +7 more+31 -300 replies
4/5ASoC: Intel: create baytrail folder and move baytrail platform files insound/soc/intel/Makefile sound/soc/intel/baytrail/Makefile sound/soc/intel/baytrail/sst-baytrail-dsp.c +3 more+11 -100 replies
5/5ASoC: Intel: create atom folder and move atom platform files insound/soc/intel/Makefile sound/soc/intel/atom/Makefile sound/soc/intel/atom/sst-atom-controls.c +18 more+18 -200 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchJarkko NikulaLiam GirdwoodVinod Koul
1/5A-b T-b
2/5R-b
3/5A-b T-b A-b
4/5A-b T-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/5] Intel SST driver restructure

In order to prepare for the upstreaming of Skylake drivers and to allow reuse of code between different Intel audio DSP products, this patch series restructures the Intel directory as follows:

1. Create "common" directory. Move common files into this directory.

2. Create "boards" directory. Move all machine drivers into this directory.

3. Create "haswell" directory. Move all remaining hsw/bdw code into this directory.

4. Create "baytrail" directory. Move remaining baytrail driver to this directory.

5. Create "atom" directory. Move all MCG platform drivers(including sst/ folder) to this directory.

Changes in v3:
Fix ATT43256.config 0day build issue.

Changes in v2:
Add "Reviewed-by" and "Acked-by" items from each platforms' maintainer.

Todo next step:
1. Change and move atom related codes(in atom/sst/) to corresponding and try share as many as possible codes(e.g. sst_acpi.c).
2. Share more common codes about IPC for different platforms, e.g. The methods for queueing and sending/reciving Tx/Rx messages, The methods for mailbox IO, The IPC error return codes, etc.

Jie Yang (5):
ASoC: Intel: create common folder and move common files in
ASoC: Intel: create haswell folder and move haswell platform files in
ASoC: Intel: create boards folder and move sst boards files in
ASoC: Intel: create baytrail folder and move baytrail platform files
in
ASoC: Intel: create atom folder and move atom platform files in

 sound/soc/intel/Makefile                           | 42 +++-------------------
 sound/soc/intel/atom/Makefile                      |  7 ++++
 sound/soc/intel/{ => atom}/sst-atom-controls.c     |  0
 sound/soc/intel/{ => atom}/sst-atom-controls.h     |  0
 sound/soc/intel/{ => atom}/sst-mfld-dsp.h          |  0
 .../intel/{ => atom}/sst-mfld-platform-compress.c  |  0
 sound/soc/intel/{ => atom}/sst-mfld-platform-pcm.c |  0
 sound/soc/intel/{ => atom}/sst-mfld-platform.h     |  0
 sound/soc/intel/{ => atom}/sst/Makefile            |  0
 sound/soc/intel/{ => atom}/sst/sst.c               |  2 +-
 sound/soc/intel/{ => atom}/sst/sst.h               |  0
 sound/soc/intel/{ => atom}/sst/sst_acpi.c          |  2 +-
 sound/soc/intel/{ => atom}/sst/sst_drv_interface.c |  2 +-
 sound/soc/intel/{ => atom}/sst/sst_ipc.c           |  2 +-
 sound/soc/intel/{ => atom}/sst/sst_loader.c        |  2 +-
 sound/soc/intel/{ => atom}/sst/sst_pci.c           |  0
 sound/soc/intel/{ => atom}/sst/sst_pvt.c           |  2 +-
 sound/soc/intel/{ => atom}/sst/sst_stream.c        |  2 +-
 sound/soc/intel/baytrail/Makefile                  |  4 +++
 sound/soc/intel/{ => baytrail}/sst-baytrail-dsp.c  |  4 +--
 sound/soc/intel/{ => baytrail}/sst-baytrail-ipc.c  |  4 +--
 sound/soc/intel/{ => baytrail}/sst-baytrail-ipc.h  |  0
 sound/soc/intel/{ => baytrail}/sst-baytrail-pcm.c  |  4 +--
 sound/soc/intel/boards/Makefile                    | 15 ++++++++
 sound/soc/intel/{ => boards}/broadwell.c           |  6 ++--
 sound/soc/intel/{ => boards}/byt-max98090.c        |  2 +-
 sound/soc/intel/{ => boards}/byt-rt5640.c          |  4 +--
 .../{bytcr_dpcm_rt5640.c => boards/bytcr_rt5640.c} |  4 +--
 sound/soc/intel/{ => boards}/cht_bsw_rt5645.c      |  4 +--
 sound/soc/intel/{ => boards}/cht_bsw_rt5672.c      |  4 +--
 sound/soc/intel/{ => boards}/haswell.c             |  6 ++--
 sound/soc/intel/{ => boards}/mfld_machine.c        |  0
 sound/soc/intel/common/Makefile                    |  6 ++++
 sound/soc/intel/{ => common}/sst-acpi.c            |  0
 sound/soc/intel/{ => common}/sst-dsp-priv.h        |  0
 sound/soc/intel/{ => common}/sst-dsp.c             |  0
 sound/soc/intel/{ => common}/sst-dsp.h             |  0
 sound/soc/intel/{ => common}/sst-firmware.c        |  0
 sound/soc/intel/haswell/Makefile                   |  4 +++
 sound/soc/intel/{ => haswell}/sst-haswell-dsp.c    |  6 ++--
 sound/soc/intel/{ => haswell}/sst-haswell-ipc.c    |  4 +--
 sound/soc/intel/{ => haswell}/sst-haswell-ipc.h    |  0
 sound/soc/intel/{ => haswell}/sst-haswell-pcm.c    |  6 ++--
 43 files changed, 77 insertions(+), 73 deletions(-)
 create mode 100644 sound/soc/intel/atom/Makefile
 rename sound/soc/intel/{ => atom}/sst-atom-controls.c (100%)
 rename sound/soc/intel/{ => atom}/sst-atom-controls.h (100%)
 rename sound/soc/intel/{ => atom}/sst-mfld-dsp.h (100%)
 rename sound/soc/intel/{ => atom}/sst-mfld-platform-compress.c (100%)
 rename sound/soc/intel/{ => atom}/sst-mfld-platform-pcm.c (100%)
 rename sound/soc/intel/{ => atom}/sst-mfld-platform.h (100%)
 rename sound/soc/intel/{ => atom}/sst/Makefile (100%)
 rename sound/soc/intel/{ => atom}/sst/sst.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst.h (100%)
 rename sound/soc/intel/{ => atom}/sst/sst_acpi.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst_drv_interface.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst_ipc.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst_loader.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst_pci.c (100%)
 rename sound/soc/intel/{ => atom}/sst/sst_pvt.c (99%)
 rename sound/soc/intel/{ => atom}/sst/sst_stream.c (99%)
 create mode 100644 sound/soc/intel/baytrail/Makefile
 rename sound/soc/intel/{ => baytrail}/sst-baytrail-dsp.c (99%)
 rename sound/soc/intel/{ => baytrail}/sst-baytrail-ipc.c (99%)
 rename sound/soc/intel/{ => baytrail}/sst-baytrail-ipc.h (100%)
 rename sound/soc/intel/{ => baytrail}/sst-baytrail-pcm.c (99%)
 create mode 100644 sound/soc/intel/boards/Makefile
 rename sound/soc/intel/{ => boards}/broadwell.c (98%)
 rename sound/soc/intel/{ => boards}/byt-max98090.c (99%)
 rename sound/soc/intel/{ => boards}/byt-rt5640.c (98%)
 rename sound/soc/intel/{bytcr_dpcm_rt5640.c => boards/bytcr_rt5640.c} (98%)
 rename sound/soc/intel/{ => boards}/cht_bsw_rt5645.c (99%)
 rename sound/soc/intel/{ => boards}/cht_bsw_rt5672.c (99%)
 rename sound/soc/intel/{ => boards}/haswell.c (98%)
 rename sound/soc/intel/{ => boards}/mfld_machine.c (100%)
 create mode 100644 sound/soc/intel/common/Makefile
 rename sound/soc/intel/{ => common}/sst-acpi.c (100%)
 rename sound/soc/intel/{ => common}/sst-dsp-priv.h (100%)
 rename sound/soc/intel/{ => common}/sst-dsp.c (100%)
 rename sound/soc/intel/{ => common}/sst-dsp.h (100%)
 rename sound/soc/intel/{ => common}/sst-firmware.c (100%)
 create mode 100644 sound/soc/intel/haswell/Makefile
 rename sound/soc/intel/{ => haswell}/sst-haswell-dsp.c (99%)
 rename sound/soc/intel/{ => haswell}/sst-haswell-ipc.c (99%)
 rename sound/soc/intel/{ => haswell}/sst-haswell-ipc.h (100%)
 rename sound/soc/intel/{ => haswell}/sst-haswell-pcm.c (99%)
Signature · 1 line
1.9.1