1. Aug 23, 2021
  2. Aug 20, 2021
  3. Aug 18, 2021
  4. Aug 17, 2021
  5. Aug 16, 2021
  6. Aug 14, 2021
    • Mark Brown's avatar
      Merge series "ASoC: Intel: boards: use software node API" from Pierre-Louis... · 31e53e13
      Mark Brown authored
      Merge series "ASoC: Intel: boards: use software node API" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This is an update on an earlier contribution from Heikki Krogerus
      
      The function device_add_properties() is going to be removed.
      Replacing it with software node API equivalents.
      
      Thanks for Hans de Goede and Andy Shevchenko for their comments,
      suggestions and Reviewed-by tags on GitHub. The review thread can be
      found at https://github.com/thesofproject/linux/pull/3041)
      
      v3 changes:
      Fixed nit-picks from Andy: label, return value, missing commas/periods.
      Added Andy's Reviewed-by tag
      
      v2 changes: feedback from Andy and Hans
      Better error handling
      Codec reference is kept until the .remove callback
      Remove bus search to find device
      
      v1 changes from Heikki's patches:
      Avoid the use of devm_ routines for Baytrail machine drivers.
      
      Heikki Krogerus (1):
        ASoC: Intel: boards: use software node API in Atom boards
      
      Pierre-Louis Bossart (7):
        ASoC: Intel: boards: harden codec property handling
        ASoC: Intel: boards: handle errors with acpi_dev_get_first_match_dev()
        ASoC: Intel: boards: get codec device with ACPI instead of bus search
        ASoC: Intel: sof_sdw: pass card information to init/exit functions
        ASoC: Intel: sof_sdw_rt711*: keep codec device reference until remove
        ASoC: Intel: use software node API in SoundWire machines
        ASoC: Intel: remove device_properties for Atom boards
      
       sound/soc/intel/boards/bytcht_es8316.c      | 31 ++++++++--
       sound/soc/intel/boards/bytcr_rt5640.c       | 60 +++++++++++++++-----
       sound/soc/intel/boards/bytcr_rt5651.c       | 63 ++++++++++++++-------
       sound/soc/intel/boards/sof_sdw.c            | 20 ++++---
       sound/soc/intel/boards/sof_sdw_common.h     | 37 +++++++-----
       sound/soc/intel/boards/sof_sdw_max98373.c   |  3 +-
       sound/soc/intel/boards/sof_sdw_rt1308.c     |  3 +-
       sound/soc/intel/boards/sof_sdw_rt1316.c     |  3 +-
       sound/soc/intel/boards/sof_sdw_rt5682.c     |  3 +-
       sound/soc/intel/boards/sof_sdw_rt700.c      |  3 +-
       sound/soc/intel/boards/sof_sdw_rt711.c      | 51 +++++++++--------
       sound/soc/intel/boards/sof_sdw_rt711_sdca.c | 52 +++++++++--------
       sound/soc/intel/boards/sof_sdw_rt715.c      |  3 +-
       sound/soc/intel/boards/sof_sdw_rt715_sdca.c |  3 +-
       14 files changed, 223 insertions(+), 112 deletions(-)
      
      --
      2.25.1
      31e53e13
    • Mark Brown's avatar
      Merge series "Add RZ/G2L Sound support" from Biju Das <biju.das.jz@bp.renesas.com>: · f84f6ee0
      Mark Brown authored
      This patch series aims to add ASoC support on RZ/G2L SoC's.
      
      It is based on the work done by Chris Brandt for RZ/A ASoC driver.
      
      v4->v5
       * Moved validation of sample bits in hw_params
       * Removed validation of frame bits as it is redundant
       * split the rz_ssi_start_stop function into rz_ssi_start and rz_ssi_stop.
       * remove the spin_lock around rz_ssi_stream_init.
       * Updated dmas description and removed fixes as it is an enhancement
         now.
       * updated ssi_start functions with setting fifo thresholds
         and ssi_stop function with cancel all dma txn.
      v3->v4:
       * Updated the subject line as per style for the subsystem.
       * Removed select SND_SIMPLE_CARD from Kconfig
       * Added C++ comments for copyright and driver description.
       * Moved validation of channels in hw_params
       * removed asm issue reported by bot as well as Mark
       * replaced master/slave macros with provider/consumer macros
       * Improved locking and added more null pointer checks.
      v2->v3:
       * Fixed the dependency on KCONFIG
       * Merged the binding patch with dma feature added
       * Updated dt binding example with encoded #dma-cells value.
       * Improved Error handling in probe function
       * Removed the passing legacy channel configuration parameters from
         dmaengine_slave_config function
       * started using dma_request_chan instead of deprecated
         dma_request_slave_channel
       * Removed SoC dtsi and config patches from this series. Will send it later.
      v1->v2:
       * Rebased to latest rc kernel
      
      Biju Das (3):
        ASoC: sh: Add RZ/G2L SSIF-2 driver
        ASoC: dt-bindings: renesas,rz-ssi: Update slave dma channel
          configuration parameters
        ASoC: sh: rz-ssi: Add SSI DMAC support
      
       .../bindings/sound/renesas,rz-ssi.yaml        |   22 +-
       sound/soc/sh/Kconfig                          |    6 +
       sound/soc/sh/Makefile                         |    4 +
       sound/soc/sh/rz-ssi.c                         | 1063 +++++++++++++++++
       4 files changed, 1093 insertions(+), 2 deletions(-)
       create mode 100644 sound/soc/sh/rz-ssi.c
      
      --
      2.17.1
      f84f6ee0
    • Mark Brown's avatar
      Merge series "ASoC: SOF: Intel: DMI L1 power optimization for HDaudio... · 6d9d1652
      Mark Brown authored
      Merge series "ASoC: SOF: Intel: DMI L1 power optimization for HDaudio platforms" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset provides an optimization that result in significant power
      savings on Intel HDAudio platforms using SOF (Sound Open Firmware).
      
      We previously prevented the Intel DSP from enabling the DMI_L1
      capability to work-around issues with pause on capture streams. It
      turns out that this also prevented the platform from entering high C
      states in full-duplex usages such as videoconferencing - a rather
      basic use case since the start of the pandemic.
      
      The support for pause_push/release was already a bit controversial for
      Intel platforms, in theory platforms should only enable PAUSE if they
      can resume on the same sample, which is not the case on any Intel
      platform.
      
      With this patchset, when the user enables DMI L1 via a kernel
      parameter, the PAUSE support is disabled for capture streams. A kernel
      parameter is far from ideal but it's a placeholder until we have an
      API to negotiate capabilities between applications and driver, and
      it's far less confusing than a Kconfig option.
      
      Changes since v1:
      Removal of SPIB support since it may conflict with Takashi's memalloc
      changes. These SPIB changes will be provided after rebase.
      Addition of one cleanup for cppcheck warning
      Move all changes to intel/ directory, no changes in shared code
      Flipped the logic: the selection of DMI L1 disables PAUSE
      
      Pierre-Louis Bossart (4):
        ASoC: SOF: Intel: Kconfig: clarify DMI L1 option description
        ASoC: SOF: Intel: hda-stream: remove always true condition
        ASoC: SOF: Intel: simplify logic for DMI_L1 handling
        ASoC: SOF: Intel: make DMI L1 selection more robust
      
       sound/soc/sof/intel/Kconfig      | 10 ----------
       sound/soc/sof/intel/hda-pcm.c    | 16 ++++++++++++++--
       sound/soc/sof/intel/hda-stream.c | 11 +++++------
       3 files changed, 19 insertions(+), 18 deletions(-)
      
      --
      2.25.1
      6d9d1652
  7. Aug 13, 2021