1. 21 Apr, 2020 11 commits
  2. 20 Apr, 2020 15 commits
  3. 17 Apr, 2020 3 commits
  4. 16 Apr, 2020 6 commits
  5. 15 Apr, 2020 5 commits
    • Mark Brown's avatar
      Merge series "ASoC: SOF: topology and firmware IPC updates for 5.8" from... · 217a5879
      Mark Brown authored
      Merge series "ASoC: SOF: topology and firmware IPC updates for 5.8" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      Long series made of a relatively small changes from multiple SOF
      contributors. I didn't find a good way to split this series since it
      tracks SOF minor ABI changes (backwards-compatible with older firmware
      files) and needs to be kept in-order. Future series should be much
      shorter.
      
      The main addition is support for an extended firmware manifest, which
      helps retrieve capabilities directly from the firmware file instead of
      the current IPC mechanism (still supported but will be deprecated).
      
      The IPC is realigned with the firmware, along with type cleanups, and
      the DMIC interface is simplified.
      
      The topology changes are mainly about a multi-cpu DAI fix, a new DC
      blocking component, better parsing of tuples and new parameters for
      ALH (SoundWire) and HDaudio DAIs. New tokens are also added to clarify
      the firmware behavior in the case of dependent pipelines, e.g. for
      echo reference generation.
      
      Artur Kloniecki (1):
        ASoC: SOF: Add XRUN flags field to struct sof_ipc_buffer.
      
      Bard Liao (5):
        ASoC: SOF: topology: fix: handle DAI widget connections properly with
          multiple CPU DAI's
        ASoC: SOF: align sof_ipc_dai_alh_params with FW
        ASoC: SOF: topology: Get ALH rate amd channels from topology
        ASoC: SOF: topology: fix: parse hda_tokens to &config->hda
        ASoC: SOF: topology: Get HDA rate and channels from topology
      
      Jaska Uimonen (2):
        ASoC: SOF: topology: stop parsing when all tokens have been found
        ASoC: SOF: topology: handle multiple sets of tuple arrays
      
      Karol Trzcinski (6):
        ASoC: SOF: Mark get_ext* function ext_hdr arguments as const
        ASoC: SOF: Introduce offset in firmware data
        ASoC: SOF: Introduce extended manifest
        ASoC: SOF: ext_manifest: parse firmware version
        ASoC: SOF: ext_manifest: parse windows
        ASoC: SOF: ext_manifest: parse compiler version
      
      Pan Xiuli (6):
        ASoC: SOF: add probe support extend data
        ASoC: SOF: add debug ABI version
        ASoC: SOF: change type char to uint8_t in info.h
        ASoC: SOF: change type char to uint8_t in trace.h
        ASoC: SOF: change type char to uint8_t in topology.h
        ASoC: SOF: make sof_ipc_cc_version to fixed length
      
      Sebastiano Carlucci (1):
        ASoC: SOF: topology: Add support for DC Blocker
      
      Seppo Ingalsuo (3):
        ASoC: SOF: Intel: Fix typo in header file comment text
        ASoC: SOF: Intel: Change DMIC load IPC to fixed length
        ASoC: SOF: Intel: Rename deprecated DMIC IPC struct field
      
       include/sound/sof.h                   |   3 +
       include/sound/sof/dai-intel.h         |  20 +-
       include/sound/sof/info.h              |  26 ++-
       include/sound/sof/topology.h          |  16 +-
       include/sound/sof/trace.h             |   2 +-
       include/uapi/sound/sof/abi.h          |   2 +-
       include/uapi/sound/sof/ext_manifest.h |  91 ++++++++
       include/uapi/sound/sof/tokens.h       |   8 +
       sound/soc/sof/intel/hda-loader.c      |   9 +-
       sound/soc/sof/loader.c                | 226 ++++++++++++++++--
       sound/soc/sof/topology.c              | 323 ++++++++++++++++----------
       11 files changed, 568 insertions(+), 158 deletions(-)
       create mode 100644 include/uapi/sound/sof/ext_manifest.h
      
      base-commit: 83b35f45
      --
      2.20.1
      217a5879
    • Mark Brown's avatar
      Merge series "Add support for SOF on i.MX8M" from Daniel Baluta <daniel.baluta@oss.nxp.com> · 72161e0e
      Mark Brown authored
      Daniel Baluta <daniel.baluta@nxp.com>:
      
      From: Daniel Baluta <daniel.baluta@nxp.com>
      
      This patch series adds support for SOF on i.MX8M family. First board
      from this family that has a DSP is i.MX8MP.
      
      First 2 patches are trying to fix some compilation issues, the next two
      are adding the imx8m support and the last one adds the devicetree
      binding.
      
      Changes since v2:
       - add reviewed by from Rob to DT patch
       - fix ownership for patch 2
      
      Daniel Baluta (3):
        ASoC: SOF: imx: Add i.MX8M HW support
        ASoC: SOF: Add i.MX8MP device descriptor
        dt-bindings: dsp: fsl: Add fsl,imx8mp-dsp entry
      
      Pierre-Louis Bossart (1):
        ASoC: SOF: imx: fix undefined reference issue
      
      YueHaibing (1):
        ASoC: SOF: imx8: Fix randbuild error
      
       .../devicetree/bindings/dsp/fsl,dsp.yaml      |   2 +
       sound/soc/sof/imx/Kconfig                     |  32 +-
       sound/soc/sof/imx/Makefile                    |   2 +
       sound/soc/sof/imx/imx8m.c                     | 279 ++++++++++++++++++
       sound/soc/sof/sof-of-dev.c                    |  14 +
       5 files changed, 325 insertions(+), 4 deletions(-)
       create mode 100644 sound/soc/sof/imx/imx8m.c
      
      --
      2.17.1
      72161e0e
    • Jaska Uimonen's avatar
      ASoC: SOF: topology: handle multiple sets of tuple arrays · a1687c68
      Jaska Uimonen authored
      Widget's parameters are set in topology and they usually consist of
      several different types of tuple arrays like strings, words and bytes.
      Here this kind of combination is called a "set".
      
      Lately we've seen more complex widget definitions with multiple
      identical sets of tuple arrays. One example is the dmic pdm
      configuration, which is currently handled as a special case in token
      parsing. This is not scalable for other components with multiple sets.
      
      So add a new function sof_parse_token_sets, which can be used to parse
      multiple sets. This function defines the number of sets and an offset to
      copy the tokens to correct positions in the destination ipc struct. Old
      sof_parse_token function will be a special case of calling
      sof_parse_token_sets to parse 1 set with offset 0.
      
      Finally modify the dmic dai link loading to use the new
      sof_parse_array_sets to load multiple pdm configs.
      Signed-off-by: default avatarJaska Uimonen <jaska.uimonen@linux.intel.com>
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
      Reviewed-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
      Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Link: https://lore.kernel.org/r/20200415202816.934-25-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a1687c68
    • Jaska Uimonen's avatar
    • Bard Liao's avatar
      ASoC: SOF: topology: Get HDA rate and channels from topology · 18aaab64
      Bard Liao authored
      FW interface for HDA DAI parameters was extended with information on
      sampling rate and channel count in version 3.16. Align kernel header
      with the FW change. This change is backwards compatible. Old firmware
      will ignore the values.
      Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
      Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Link: https://lore.kernel.org/r/20200415202816.934-23-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      18aaab64