1. 26 Mar, 2024 8 commits
    • Mark Brown's avatar
      ASoC: dmaengine_pcm: Allow passing component name via config · 37d69839
      Mark Brown authored
      Merge series from Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>:
      
      At the moment we cannot instantiate two dmaengine_pcms with the same
      parent device, as the components will be named the same, leading to
      conflicts.
      
      Add 'name' field to the snd_dmaengine_pcm_config, and use that (if
      defined) as the component name instead of deriving the component name
      from the device.
      37d69839
    • Mark Brown's avatar
      ASoC: Harden DAPM route checks and Intel fixes · d7e6a980
      Mark Brown authored
      Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:
      
      Set of loosely connected patches. Most impactful change is dropping any
      permisiveness when snd_soc_dapm_add_routes() fails in soc-topology.c To
      do it safely, disable route checks for all skylake-driver boards.
      
      Relevant background:
      
      Since commit daa480bd ("ASoC: soc-core: tidyup for
      snd_soc_dapm_add_routes()") route checks are no longer permissive. Probe
      failures for Intel boards have been partially addressed by commit
      a22ae72b ("ASoC: soc-core: isable route checks for legacy devices")
      and its follow up but only skl_nau88l25_ssm4567.c is patched. The rest
      of the boards still need fixing.
      
      After that, removal of copy-pastas found in ssm4567.c and redundant code
      in i2s_test.c for avs-boards.
      
      Changes in v2:
      - glk_rt5682_max98357a.c and skl_hda_dsp_generic.c now disable route
        checks only for the skylake-drvier
      - asoc now logs failures of snd_soc_dapm_add_routes() in soc-topology.c
      
      Amadeusz Sławiński (1):
        ASoC: Intel: avs: i2s_test: Remove redundant dapm routes
      
      Cezary Rojewski (4):
        ASoC: Intel: Disable route checks for Skylake boards
        ASoC: topology: Do not ignore route checks when parsing graphs
        ASoC: Intel: avs: ssm4567: Do not ignore route checks
        ASoC: Intel: avs: ssm4567: Board cleanup
      
       sound/soc/intel/avs/boards/i2s_test.c         | 79 -------------------
       sound/soc/intel/avs/boards/ssm4567.c          |  5 +-
       sound/soc/intel/boards/bxt_da7219_max98357a.c |  1 +
       sound/soc/intel/boards/bxt_rt298.c            |  1 +
       sound/soc/intel/boards/glk_rt5682_max98357a.c |  2 +
       sound/soc/intel/boards/kbl_da7219_max98357a.c |  1 +
       sound/soc/intel/boards/kbl_da7219_max98927.c  |  4 +
       sound/soc/intel/boards/kbl_rt5660.c           |  1 +
       sound/soc/intel/boards/kbl_rt5663_max98927.c  |  2 +
       .../intel/boards/kbl_rt5663_rt5514_max98927.c |  1 +
       sound/soc/intel/boards/skl_hda_dsp_generic.c  |  2 +
       .../soc/intel/boards/skl_nau88l25_max98357a.c |  1 +
       sound/soc/intel/boards/skl_rt286.c            |  1 +
       sound/soc/soc-topology.c                      | 11 ++-
       14 files changed, 27 insertions(+), 85 deletions(-)
      
      --
      2.25.1
      d7e6a980
    • Mark Brown's avatar
      ASoC: fsl: Support register and unregister rpmsg · ef71b330
      Mark Brown authored
      Merge series from Chancel Liu <chancel.liu@nxp.com>:
      
      	echo /lib/firmware/fw.elf > /sys/class/remoteproc/remoteproc0/firmware
      (A)	echo start > /sys/class/remoteproc/remoteproc0/state
      (B)	echo stop > /sys/class/remoteproc/remoteproc0/state
      
      The rpmsg sound card is registered in (A) and unregistered in (B).
      After "start", imx-audio-rpmsg registers devices for ASoC platform driver
      and machine driver. Then sound card is registered. After "stop",
      imx-audio-rpmsg unregisters devices for ASoC platform driver and machine
      driver. Then sound card is unregistered.
      ef71b330
    • Mark Brown's avatar
      ASoC: Intel: boards: updates for 6.10 - part1 · 22247e40
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This series from Brent Lu adds common helpers and board configurations
      to reduce the number of quirks.
      22247e40
    • Mark Brown's avatar
      SoC: Cleanup MediaTek soundcard machine drivers · 6c26dac5
      Mark Brown authored
      Merge series from AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>:
      
      This is the start of a series cleaning up the Mediatek drivers with some
      preparatory cleanups and improvements.
      6c26dac5
    • John Watts's avatar
      ASoC: soc-dai: Note valid values of sysclock direction · 1e90a846
      John Watts authored
      Clock direction is marked as 'unsigned int' but only two values are
      currently used in practice. Note these down in the documentation.
      Signed-off-by: default avatarJohn Watts <contact@jookia.org>
      Link: https://msgid.link/r/20240326-dai_mclk_hint-v1-1-653cbd2d78d9@jookia.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      1e90a846
    • Pierre-Louis Bossart's avatar
      ASoC: hdac_hda: improve error logs · ea5fee22
      Pierre-Louis Bossart authored
      We have a couple of duplicate logs and missing information, add
      __func__ consistently and make sure useful error codes are logged.
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
      Reviewed-by: default avatarPéter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Link: https://msgid.link/r/20240325221925.206507-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      ea5fee22
    • Andy Shevchenko's avatar
      ASoC: fsl: imx-es8328: Remove leftover gpio initialisation · 6a928341
      Andy Shevchenko authored
      The gpio field is not used anymore, remove the leftover.
      This also fixes the compilation error after the ...
      
      Fixes: 9855f05e ("ASoC: fsl: imx-es8328: Switch to using gpiod API")
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Link: https://msgid.link/r/20240325191341.3977321-1-andriy.shevchenko@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      6a928341
  2. 25 Mar, 2024 32 commits