[Sound-open-firmware] [PATCH v5 0/7] Multiple DAI type support in topology

Ranjani Sridharan ranjani.sridharan at linux.intel.com
Thu May 31 19:34:41 CEST 2018


This patchset adds the changes required for multiple DAI types in
topology. The main changes are as follows:

1. The tplg build script was hardwired for SSP DAI type. Make changes to
accomodate other types.
2. Changes to DAI_CONFIG to accomodate more than just SSP type DAI.
3. The test m4 files similarly were hardwired for SSP. This patchset
makes them DAI type agnostic
4. Add DMIC DAI type config definition
5. Add DMIC specific tokens. This is the preliminary version. More
tokens will be added as needed.
6. Add DMIC test topology

v3 changes:
- Added an extra token for fifo word length

v4 changes:
- Added PDM controller tokens and the number of active PDM controllers
  are configurable in topology

v5 changes:
- rebased on top of latest master

Tested with:

APL based Up squared board:

SOF Kernel: https://github.com/ranj063/sound branch: topic/dmic
SOF: https://github.com/ranj063/sof branch: ranjani/topic/dmic
SOFT: master

Ranjani Sridharan (7):
  topology: scripts: changes to accommodate different DAI types
  topology: separate ssp params from dai common params
  topology: add DMIC tokens
  topology: make m4 filenames dai type agnostic
  topology: scripts: add dmic test topology
  topology: add DMIC config definition to DAI config
  topology: add DMIC dai support in test capture m4

 topology/m4/dai.m4                            | 100 ++++++++--
 topology/sof-apl-nocodec.m4                   |  11 +-
 topology/sof-apl-tdf8532.m4                   |  79 ++++----
 topology/sof-bdw-rt286.m4                     |  11 +-
 topology/sof-bdw-rt5640.m4                    |  11 +-
 topology/sof-byt-da7213.m4                    |  11 +-
 topology/sof-byt-nocodec.m4                   |  11 +-
 topology/sof-byt-rt5640.m4                    |  11 +-
 topology/sof-byt-rt5645.m4                    |  11 +-
 topology/sof-byt-rt5651.m4                    |  12 +-
 topology/sof-cht-max98090.m4                  |  11 +-
 topology/sof-cht-nocodec.m4                   |  11 +-
 topology/sof-cnl-rt274.m4                     |  11 +-
 topology/sof-hsw-rt5640.m4                    |  11 +-
 topology/sof/tokens.m4                        |  21 ++
 topology/test/{test-ssp.m4 => test-all.m4}    |  39 ++--
 .../{test-capture-ssp.m4 => test-capture.m4}  |  41 ++--
 ...{test-playback-ssp.m4 => test-playback.m4} |  31 +--
 ...-playback-ssp.m4 => test-tone-playback.m4} |  25 +--
 topology/test/tplg-build.sh                   | 181 +++++++++++-------
 20 files changed, 413 insertions(+), 237 deletions(-)
 rename topology/test/{test-ssp.m4 => test-all.m4} (65%)
 rename topology/test/{test-capture-ssp.m4 => test-capture.m4} (54%)
 rename topology/test/{test-playback-ssp.m4 => test-playback.m4} (65%)
 rename topology/test/{test-tone-playback-ssp.m4 => test-tone-playback.m4} (64%)

-- 
2.17.0



More information about the Sound-open-firmware mailing list