1. 10 Mar, 2022 3 commits
    • Shengjiu Wang's avatar
      ASoC: fsl_spdif: Disable TX clock when stop · 6ddf6112
      Shengjiu Wang authored
      The TX clock source may be changed in next case, need to
      disable it when stop, otherwise the TX may not work after
      changing the clock source, error log is:
      
      aplay: pcm_write:2058: write error: Input/output error
      
      Fixes: a2388a49 ("ASoC: fsl: Add S/PDIF CPU DAI driver")
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Link: https://lore.kernel.org/r/1646879863-27711-1-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      6ddf6112
    • Mark Brown's avatar
      Clean ups and preparation for IPC abstraction in the SOF driver · 233d2c4a
      Mark Brown authored
      Merge series from Ranjani Sridharan <ranjani.sridharan@linux.intel.com>:
      
      In preparation for adding support for the new IPC version that has been
      introduced in the SOF firmware, this patch set includes some clean ups
      and necessary modifications to commonly used functions that will be
      re-used across different IPC-specific code.
      233d2c4a
    • Mark Brown's avatar
      ALSA/ASoC/SOF/Intel: improve support for ES8336-based platforms · efb1a2d3
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset adds a number of improvements for ES8336-based Intel
      platforms, which are not well supported at all in Linux. Since
      Christmas 2021, we've seen dozens of reports of broken audio [1].
      
      The fundamental problem is that those platforms were built for Windows
      but using an I2S codec - instead of the HDaudio traditional
      solution. As a result, we are missing all the usual information needed
      to configure the audio card (which I2S, what configuration, DMICs or
      not, etc). The situation is similar to Baytrail with all possible
      permutations enabled.
      
      Some of the information can be discovered by checking the contents of
      the 'NHLT' ACPI table. This helps discover at run-time which SSP to
      use, and the number of microphones present. This NHLT-based solution
      helps remove quirks that were added earlier.
      
      Unfortunately, there are still a number of platform properties that
      are not described by ACPI, just as GPIOs used for speakers, jack
      detection inversion, etc. For some case, quirks are still provided in
      the machine drivers.
      
      Additional work will likely be needed, e.g. to detect which MCLK needs
      to be used, refine the UCM settings, add the ES8326 codec driver, but
      this is a first-step towards an 'out of the box' experience on Intel
      platforms.
      
      This patchset touches the sound/hda/intel-nhlt parts but should IMHO
      be merged in the ASoC tree.
      
      I would like to acknowledge the help of Nikolai Kostrigin, Mauro
      Carvalho Chehab, Huajun Li, David Yang (@yangxiaohua2009) and other
      GitHub testers.
      
      [1] https://github.com/thesofproject/linux/issues?q=is%3Aissue+is%3Aopen+label%3A%22codec+ES8336%22
      efb1a2d3
  2. 09 Mar, 2022 35 commits
  3. 08 Mar, 2022 2 commits
    • Mark Brown's avatar
      Clean ups and preparation for IPC abstraction in the SOF driver · 73d9cf7c
      Mark Brown authored
      Merge series from Ranjani Sridharan <ranjani.sridharan@linux.intel.com>:
      
      In preparation for adding support for the new IPC version that has been
      introduced in the SOF firmware, this patch set includes some clean ups
      and necessary modifications to commonly used functions that will be
      re-used across different IPC-specific code.
      73d9cf7c
    • Mark Brown's avatar
      Add driver for SAMA7G5's PDMC · 6b1b0f7d
      Mark Brown authored
      Merge series from Codrin Ciubotariu <codrin.ciubotariu@microchip.com>:
      
      This patch series adds support for Pulse Density Microphone Controller
      (PDMC), present on Microchip's SAMA7G5.
      The PDMC interfaces up to 4 digital microphones having Pulse Density
      Modulated (PDM) outputs. It generates a single clock line and samples 1 or
      2 data lines. The signal path includes an audio grade programmable
      decimation filter and outputs 24-bit audio words.
      The source of each channel can be independently defined as PDMC_DS0 or
      PDMC_DS1, sampled at the rising or falling edge of PDMC_CLK.
      
      The patch series starts with a fix on the ASoC DMA engine support. Then
      continues with the bindings and the driver of PDMC. It is followed by the
      DT nodes for SAMA7G5 and SAMA7G5-EK. In the end, the drivers for PDMC
      and PDM microphones are enabled in sama7_defconfig.
      6b1b0f7d