1. 22 May, 2023 2 commits
  2. 19 May, 2023 5 commits
  3. 18 May, 2023 15 commits
  4. 17 May, 2023 7 commits
  5. 16 May, 2023 2 commits
  6. 15 May, 2023 9 commits
    • Mark Brown's avatar
      ASoC: SOF: ipc4-topology: Improve the audio format · fc1d62b3
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      Improve the logic to account for the current restrictions in topology while
      making it extensible for future topology modifications.
      
      The current topology definitions assume that input/output formats come in pairs.
      For example even if there's only 1 output format for a module, we add 3 output
      formats to match that of the input format count with the same parameters.
      This is unnecessary but we have to deal with it until the topologies are
      modified. Additionally, choosing the input/output audio format should
      depend only on the pipeline params or the runtime FE hw_params depending
      on where the module is in the pipeline.
      
      This series modifies the logic for selection based on this and removes
      unnecessary dependencies between the input and output formats.
      fc1d62b3
    • Mark Brown's avatar
      ASoC: mediatek: mt8188: revise AFE driver · 25428a9d
      Mark Brown authored
      Merge series from Trevor Wu <trevor.wu@mediatek.com>:
      
      The series of patches consists of four major changes.
      First, remove redundant supply for ADDA DAI dirver. Second, revise ETDM
      control including APLL dynamic switch via DAPM, so APLL can be enabled
      when it is really required. Third, update AFE probe function. Bus
      protection change was dropped at the previous patch because the dependent
      change was not accepted at that time. Finally, correct some binding errors
      and add required clocks.
      25428a9d
    • Mark Brown's avatar
      ASoC: Factor out control notification support · fe0d5b9a
      Mark Brown authored
      Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
      
      This series introduces and uses a helper for notifying control changes
      to userspace.
      fe0d5b9a
    • Mark Brown's avatar
      ASoC: SOF: Intel/ipc4: Do not reset BE DAI pipeline · 8d7c1a57
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      Do not reset pipelines during the stop/suspend triggers in the BE DAI
      ops as the BE DAI pipeline needs to be left in the PAUSED state. It should
      only be reset during hw_free. This simplification is already done for
      the FE pipelines and the DAI trigger only toggles the states between
      PAUSED and RUNNING.
      8d7c1a57
    • Mark Brown's avatar
      ASoC: SOF: Intel: hda-dai: prepare LNL support · 3959cd3d
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      The HDAudio support has not changed much since CometLake/2019: the
      code was reshuffled for IPC4 support and we used hdac_hda for external
      and Display Audio codec, but the hda-dai code was only used for
      HDAudio codecs.
      
      In the LunarLake architecture, all endpoints (HDaudio, SSP, DMIC,
      SoundWire) are handled with the HDaudio DMA, which requires us to
      revisit the definitions of HDA_LINK, and remove the mutual exclusion
      between NOCODEC and HDA_LINK: we do want the ability to test SSP/DMIC
      in NOCODEC mode even with an HDA DMA.
      
      This code change exposed a number of issues, with a useless .prepare
      callback, a DAI number mismatch and the need to support SoundWire
      which is handled by a different component in
      drivers/soundwire/intel_ace2.c.
      3959cd3d
    • Mark Brown's avatar
      ASoC: Intel: machine driver updates · 6f599018
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      Several updates for RPL/MTL/LNL, and one fix for SoundWire TGL device.
      6f599018
    • Ranjani Sridharan's avatar
      ASoC: SOF: ipc4-pcm: reset all pipelines during FE DAI hw_free · 225f37b5
      Ranjani Sridharan authored
      Do not reset pipelines during the stop/suspend triggers in the BE DAI
      ops as the BE DAI pipeline needs to be left in the PAUSED state. It should
      only be reset during hw_free. This simplification is already done for
      the FE pipelines and the DAI trigger only toggles the states between
      PAUSED and RUNNING.
      
      But because the FE DAI hw_free is invoked first and all the pipelines are
      freed during this op, we need to make sure that the BE DAI pipeline also
      gets reset before it is freed. So do not skip the pipelines that have the
      skip_during_fe_trigger flag set when resetting pipelines.
      
      Also, because the pipeline state changes are split between the FE and BE
      DAI ops now, protect the BE DAI pipeline state changes with the
      pipeline_state_mutex as well.
      
      Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
      Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
      Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
      Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
      Link: https://lore.kernel.org/r/20230515112022.30297-3-peter.ujfalusi@linux.intel.com
      Signed-off-by: Mark Brown <broonie@kernel.org
      225f37b5
    • Ranjani Sridharan's avatar
      ASoC: SOF: Intel: hda-dai-ops: Split the get_hext_stream() op for IPC4 · 81a5d699
      Ranjani Sridharan authored
      Introduce a separate op implementation for get_hext_stream() for IPC4.
      This op will also be used to set the skip_during_fe_trigger flag for the
      BE DAI pipeline. With this change, we can remove the flag setting in
      sof_ipc4_dai_config() which will further simplify support for
      DMIC/SSP/Soundwire in the LunarLake platform.
      
      Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
      Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
      Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com
      Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
      Link: https://lore.kernel.org/r/20230515112022.30297-2-peter.ujfalusi@linux.intel.com
      Signed-off-by: Mark Brown <broonie@kernel.org
      81a5d699
    • Jiapeng Chong's avatar
      ASoC: SOF: Simplify the calculation of variables · d904942a
      Jiapeng Chong authored
      ./sound/soc/sof/pcm.c:372:27-29: WARNING !A || A && B is equivalent to !A || B.
      
      Reported-by: Abaci Robot <abaci@linux.alibaba.com
      Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4938
      Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com
      Reviewed-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com
      Link: https://lore.kernel.org/r/20230512064225.75358-1-jiapeng.chong@linux.alibaba.com
      Signed-off-by: Mark Brown <broonie@kernel.org
      d904942a