Skip to content
  1. Feb 14, 2022
  2. Feb 11, 2022
  3. Feb 10, 2022
  4. Feb 09, 2022
    • Jayesh Choudhary's avatar
      ASoC: dt-bindings: davinci-mcasp: convert McASP bindings to yaml schema · 8be90641
      Jayesh Choudhary authored
      
      
      Convert the bindings for McASP controllers for TI SoCs from txt
      to YAML schema.
      
      Adds additional properties 'clocks', 'clock-names', 'power-domains',
      '#sound-dai-cells' and 'port' which were missing from the txt file.
      Removes properties 'sram-size-playback' and 'sram-size-capture'
      since they are not used.
      Adds 'dmas' and 'dma-names' in the example which were missing from
      the txt file.
      Changes 'interrupts' and 'interrupt-names' from optional to
      required properties.
      Changes 'op-modes', 'serial-dir' to optional properties as they are
      not needed if the McASP is used only as GPIO.
      Changes 'tdm-slots' to required property only for I2S operation mode.
      
      Adds the yaml file in the 'MAINTAINERS' under the heading 'TEXAS
      INSTRUMENTS ASoC DRIVERS'
      
      Signed-off-by: default avatarJayesh Choudhary <j-choudhary@ti.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@gmail.com>
      Link: https://lore.kernel.org/r/20220209063008.2928-1-j-choudhary@ti.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      8be90641
    • Pierre-Louis Bossart's avatar
      ASoC: SOF: Intel: hdac_ext_stream: consistent prefixes for variables/members · 7d88b960
      Pierre-Louis Bossart authored
      
      
      The existing code maximizes confusion by using 'stream' and 'hstream'
      variables of different types, e.g:
      
      struct hdac_stream *stream;
      struct hdac_ext_stream *stream;
      struct hdac_stream *hstream;
      struct hdac_ext_stream *hstream;
      
      This confusion is partly inherited from legacy code but SOF
      contributors added their own creative spin, e.g.
      
      struct hdac_ext_stream *link_dev;
      struct hdac_ext_stream *dsp_stream;
      struct hdac_ext_stream hda_stream;
      
      and my personal favorite:
      
      stream = &hda_stream->hda_stream;
      
      This patch suggests a consistent naming across all Intel code related
      to HDAudio stream management. The convention is - by hierarchical
      order:
      
      struct sof_intel_hda_stream *hda_stream;
      struct hdac_ext_stream *hext_stream;
      struct hdac_stream *hstream;
      
      No functionality change - just renaming of variables/members.
      
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
      Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Link: https://lore.kernel.org/r/20220209063104.9971-1-peter.ujfalusi@linux.intel.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      7d88b960
    • Mark Brown's avatar
      ASoC: SOF: dma-trace: Change trace_init() ops parameter list · 960a8904
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      Hi,
      
      the DMA trace implementation on AMD platform assumes that the stream_tag pointer
      is pointing the stream_tag member of struct sof_ipc_dma_trace_params_ext, which
      is true at the moment, but it can not be guarantied and a change in the dtrace
      core can cause out of bound accesses for AMD.
      
      For this reason, change the API to pass the struct itself which will remove the
      assumption and makes it clear from both sides what is expected to be sent via the
      parameter list.
      
      This opens up a window to clean up the intel and AMD implementation at the same
      time.
      
      Regards,
      Peter
      ---
      
      Peter Ujfalusi (2):
        ASoC: SOF: intel: hda-trace: Pass the dma buffer pointer to
          hda_dsp_trace_prepare
        ASoC: SOF: dma-trace: Pass pointer to params_ext struct in
          trace_init()
      
       sound/soc/sof/amd/acp-trace.c   | 38 ++++++++-------------------------
       sound/soc/sof/amd/acp.h         |  3 ++-
       sound/soc/sof/intel/hda-trace.c | 17 ++++++++-------
       sound/soc/sof/intel/hda.h       |  3 ++-
       sound/soc/sof/ops.h             |  4 ++--
       sound/soc/sof/sof-priv.h        |  2 +-
       sound/soc/sof/trace.c           |  2 +-
       7 files changed, 26 insertions(+), 43 deletions(-)
      
      --
      2.35.0
      960a8904
    • Mark Brown's avatar
      ASoC: Fix gpiolib dependencies · dcc2c012
      Mark Brown authored
      Merge series from Mark Brown <broonie@kernel.org>:
      
      This series removes a bunch of spurious selects of gpiolib that were
      causing noise in randconfig build tests.
      
      Mark Brown (6):
        ASoC: dmic: Remove spurious gpiolib select
        ASoC: rt9120: Remove spurious gpiolib select
        ASoC: simple-amplifier: Remove spurious gpiolib select
        ASoC: max9759: Remove spurious gpiolib select
        ASoC: zl38060: Remove spurious gpiolib select
        ASoC: simple-mux: Depend on gpiolib rather than selecting it
      
       sound/soc/codecs/Kconfig | 8 ++------
       1 file changed, 2 insertions(+), 6 deletions(-)
      
      base-commit: e783362e
      --
      2.30.2
      dcc2c012
  5. Feb 08, 2022