1. 24 Aug, 2020 12 commits
  2. 21 Aug, 2020 5 commits
  3. 20 Aug, 2020 5 commits
  4. 19 Aug, 2020 8 commits
  5. 18 Aug, 2020 10 commits
    • Johan Jonker's avatar
      ASoC: rockchip-spdif: add description for rk3308 · a8535ae7
      Johan Jonker authored
      A test with the command below shows that the compatible string
      
      "rockchip,rk3308-spdif", "rockchip,rk3328-spdif"
      
      is already in use, but is not added to a document.
      The current fallback string "rockchip,rk3328-spdif" points to a data
      set enum RK_SPDIF_RK3366 in rockchip_spdif.c that is not used both
      in the mainline as in the manufacturer kernel.
      (Of the enum only RK_SPDIF_RK3288 is used.)
      So if the properties don't change we might as well use the first SoC
      in line as fallback string and add the description for rk3308 as:
      
      "rockchip,rk3308-spdif", "rockchip,rk3066-spdif"
      
      make ARCH=arm64 dtbs_check
      DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
      Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
      Link: https://lore.kernel.org/r/20200818143727.5882-1-jbx6244@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a8535ae7
    • Charles Keepax's avatar
      ASoC: wm_adsp: Update naming in error handling · a4d328ef
      Charles Keepax authored
      It seems the datasheet has never used the word slave for this error
      status bit and has always used the term address error. So update the
      driver to match the datasheets and also in the process align a bit
      better with avoiding the use of such words where possible.
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20200818160126.4852-1-ckeepax@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a4d328ef
    • Mark Brown's avatar
      Merge series "ASoC: qdsp6: add gapless compressed audio support" from Srinivas... · 28f95795
      Mark Brown authored
      Merge series "ASoC: qdsp6: add gapless compressed audio support" from Srinivas Kandagatla <srinivas.kandagatla@linaro.org>:
      
      This patchset adds gapless compressed audio support on q6asm.
      Gapless on q6asm is implemented using 2 streams in a single q6asm session.
      
      First few patches such as stream id per each command, gapless flags
      and silence meta data are for preparedness for adding gapless support.
      Last patch implements copy callback to allow finer control over buffer offsets,
      specially in partial drain cases.
      
      This patchset is tested on RB3 aka DB845c platform.
      
      This patchset as it is will support gapless however QDSP can also
      support switching decoders on a single stream. Patches to support such feature
      are send in different patchset which involves adding generic interfaces.
      
      Thanks,
      srini
      
      Changes since v2:(mostly suggested by Pierre)
      - removed unnessary kernel style comments,
      - moved TIMESTAMP flag to respective patch.
      - move preparatory code from gapless support patch to new one.
      - fix subject prefix of one patch.
      - add comments to clarify valid stream_ids
      
      Srinivas Kandagatla (10):
        ASoC: q6asm: rename misleading session id variable
        ASoC: q6asm: make commands specific to streams
        ASoC: q6asm: use flags directly from q6asm-dai
        ASoC: q6asm: add length to write command token
        ASoC: q6asm: add support to remove intial and trailing silence
        ASoC: q6asm: add support to gapless flag in q6asm open
        ASoC: q6asm-dai: add next track metadata support
        ASoC: q6asm-dai: prepare set params to accept profile change
        ASoC: q6asm-dai: add gapless support
        ASoC: q6asm-dai: add support to copy callback
      
       sound/soc/qcom/qdsp6/q6asm-dai.c | 414 +++++++++++++++++++++++--------
       sound/soc/qcom/qdsp6/q6asm.c     | 169 +++++++++----
       sound/soc/qcom/qdsp6/q6asm.h     |  49 ++--
       3 files changed, 469 insertions(+), 163 deletions(-)
      
      --
      2.21.0
      28f95795
    • Mark Brown's avatar
      Merge series "ASoC: Intel: fix cppcheck warnings" from Pierre-Louis Bossart... · 5ca8f9a5
      Mark Brown authored
      Merge series "ASoC: Intel: fix cppcheck warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      This patchset tries to reduce the number of warnings on those drivers,
      so that cppcheck can become a viable tool to detect issues (currently
      hundreds of reports).
      
      Most of the problems are related to unnecessary/redundant variable
      assignments, prototypes and one nice logical mistake resulting in an
      always-true condition.
      
      Pierre-Louis Bossart (21):
        ASoC: Intel: Atom: sst-atom-controls: remove redundant assignments
        ASoC: Intel: Atom: compress: remove redundant assignment
        ASoC: Intel: Atom: platform-pcm: remove redundant assignment
        ASoC: Intel: Atom: sst: remove useless NULL assignment
        ASoC: Intel: Atom: remove redundant initialization
        ASoC: Intel: Atom: sst_pvt: remove redundant initialization
        ASoC: Intel: Atom: platform-pcm: fix redundant return
        ASoC: Intel: Atom: remove useless assignment
        ASoC: Intel: Atom: sst_loader: remove always-true condition
        ASoC: Intel: Atom: sst_pvt: simplify return handling
        ASoC: Intel: Atom: (cosmetic) align parameters
        ASoC: Intel: Baytrail: (cosmetic) align function parameters
        ASoC: Intel: common: (cosmetic) align function parameters
        ASoC: Intel: haswell: (cosmetic) align function parameters
        ASoC: Intel: haswell-ipc: remove redundant assignments
        ASoC: Intel: Skylake: skl-nhlt: remove redundant initialization
        ASoC: Intel: Skylake: cldma: remove redundant initialization
        ASoC: Intel: Skylake: sst-utils: remove redundant assignment
        ASoC: Intel: Skylake: skl-topology: remove redundant assignments
        ASoC: Intel: Skylake: skl-topology: remove redundant assignment
        ASoC: Intel: Skylake: (cosmetic) align function parameters
      
       sound/soc/intel/atom/sst-atom-controls.c      |  4 +--
       .../intel/atom/sst-mfld-platform-compress.c   |  3 +-
       sound/soc/intel/atom/sst-mfld-platform-pcm.c  |  4 +--
       sound/soc/intel/atom/sst-mfld-platform.h      |  4 +--
       sound/soc/intel/atom/sst/sst.c                |  5 ++-
       sound/soc/intel/atom/sst/sst.h                | 34 +++++++++----------
       sound/soc/intel/atom/sst/sst_loader.c         |  3 +-
       sound/soc/intel/atom/sst/sst_pvt.c            |  4 +--
       sound/soc/intel/baytrail/sst-baytrail-ipc.h   |  3 +-
       sound/soc/intel/common/sst-dsp-priv.h         |  2 +-
       sound/soc/intel/common/sst-dsp.h              | 15 ++++----
       sound/soc/intel/haswell/sst-haswell-ipc.c     |  4 +--
       sound/soc/intel/haswell/sst-haswell-ipc.h     |  2 +-
       sound/soc/intel/skylake/cnl-sst-dsp.h         |  4 +--
       sound/soc/intel/skylake/skl-nhlt.c            |  2 +-
       sound/soc/intel/skylake/skl-sst-cldma.c       |  2 +-
       sound/soc/intel/skylake/skl-sst-ipc.h         | 16 ++++-----
       sound/soc/intel/skylake/skl-sst-utils.c       |  2 +-
       sound/soc/intel/skylake/skl-topology.c        |  8 ++---
       sound/soc/intel/skylake/skl-topology.h        |  8 ++---
       sound/soc/intel/skylake/skl.h                 |  2 +-
       21 files changed, 63 insertions(+), 68 deletions(-)
      
      --
      2.25.1
      5ca8f9a5
    • Mark Brown's avatar
      Merge series "ASoC: da7219: Reorganise device/codec level probe/remove" from... · ba3e069f
      Mark Brown authored
      Merge series "ASoC: da7219: Reorganise device/codec level probe/remove" from Adam Thomson <Adam.Thomson.Opensource@diasemi.com>:
      
      This patch set reorganises and fixes device and codec level probe/remove
      handling within the driver, to allow clean probe and remove at the codec level.
      
      This set relates to an issue raised by Yong Zhi where a codec level re-probe
      would fail due to clks still being registered from the previous instantiation.
      In addition some improvements around regulator handling and soft reset have
      also been included.
      
      Adam Thomson (3):
        ASoC: da7219: Move required devm_* allocations to device level code
        ASoC: da7219: Move soft reset handling to codec level probe
        ASoC: da7219: Fix clock handling around codec level probe
      
       sound/soc/codecs/da7219-aad.c |  85 +++++---
       sound/soc/codecs/da7219-aad.h |   3 +
       sound/soc/codecs/da7219.c     | 493 +++++++++++++++++++++++-------------------
       sound/soc/codecs/da7219.h     |   1 +
       4 files changed, 328 insertions(+), 254 deletions(-)
      
      --
      1.9.1
      ba3e069f
    • Mark Brown's avatar
      Merge series "refine and clean code for synchronous mode" from Shengjiu Wang... · bf66f140
      Mark Brown authored
      Merge series "refine and clean code for synchronous mode" from Shengjiu Wang <shengjiu.wang@nxp.com>:
      
      refine and clean code for synchronous mode
      
      Shengjiu Wang (3):
        ASoC: fsl_sai: Refine enable/disable TE/RE sequence in trigger()
        ASoC: fsl_sai: Drop TMR/RMR settings for synchronous mode
        ASoC: fsl_sai: Replace synchronous check with fsl_sai_dir_is_synced
      
      changes in v3:
      - Add reviewed-by Nicolin
      - refine the commit log.
      - Add one more patch #3
      
      changes in v2:
      - Split the commit
      - refine the sequence in trigger stop
      
       sound/soc/fsl/fsl_sai.c | 173 +++++++++++++++++++++++-----------------
       1 file changed, 102 insertions(+), 71 deletions(-)
      
      --
      2.27.0
      bf66f140
    • Mark Brown's avatar
      Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit... · cba62c8b
      Mark Brown authored
      Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar <rohitkr@codeaurora.org>:
      
      This patch chain add audio support for SC7180 soc by doing the required
      modification in existing common lpass-cpu/lpass-platform driver.
      This also fixes some concurrency issue.
      
      This patch series is already tested by Srinivas on Dragon Board 410c.
      Changes since v5:
              - Fixed remove api in lpass-sc7180.c
              - Addressed comments by Rob in yaml Documentation.
      
      Ajit Pandey (4):
        ASoC: qcom: Add common array to initialize soc based core clocks
        ASoC: qcom: lpass-platform: Replace card->dev with component->dev
        include: dt-bindings: sound: Add sc7180-lpass bindings header
        ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio
      
      Rohit kumar (8):
        ASoC: qcom: lpass-cpu: Move ahbix clk to platform specific function
        ASoC: qcom: lpass-platform: fix memory leak
        ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers
        ASoC: qcom: lpass-cpu: fix concurrency issue
        dt-bindings: sound: lpass-cpu: Add sc7180 lpass cpu node
        ASoC: qcom: lpass-cpu: Use platform_get_resource
        ASoC: qcom: lpass-platform: Use platform_get_irq
        dt-bindings: sound: lpass-cpu: Move to yaml format
      
       .../devicetree/bindings/sound/qcom,lpass-cpu.txt   |  79 --------
       .../devicetree/bindings/sound/qcom,lpass-cpu.yaml  | 189 ++++++++++++++++++
       include/dt-bindings/sound/sc7180-lpass.h           |  10 +
       sound/soc/qcom/Kconfig                             |   5 +
       sound/soc/qcom/Makefile                            |   2 +
       sound/soc/qcom/lpass-apq8016.c                     |  86 ++++++--
       sound/soc/qcom/lpass-cpu.c                         | 204 ++++++++++---------
       sound/soc/qcom/lpass-ipq806x.c                     |  67 +++++++
       sound/soc/qcom/lpass-lpaif-reg.h                   | 157 ++++++++-------
       sound/soc/qcom/lpass-platform.c                    | 155 +++++++++++----
       sound/soc/qcom/lpass-sc7180.c                      | 216 +++++++++++++++++++++
       sound/soc/qcom/lpass.h                             |  63 +++++-
       12 files changed, 934 insertions(+), 299 deletions(-)
       delete mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-cpu.txt
       create mode 100644 Documentation/devicetree/bindings/sound/qcom,lpass-cpu.yaml
       create mode 100644 include/dt-bindings/sound/sc7180-lpass.h
       create mode 100644 sound/soc/qcom/lpass-sc7180.c
      
      --
      Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
      is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
      cba62c8b
    • Mark Brown's avatar
      Merge series "Codec workaround" from Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>: · 354caf58
      Mark Brown authored
      This patch series enables some features on the tlv3204 codec and also fixes some issues faced while testing
      
      v2: Fixed the build error from snd_soc_component_read32
      v1: initial ASoC: codec: tlv3204: Codec workaround series
      
      Michael Sit Wei Hong (3):
        ASoC: codec: tlv3204: Enable 24 bit audio support
        ASoC: codec: tlv3204: Increased maximum supported channels
        ASoC: codec: tlv3204: Moving GPIO reset and add ADC reset
      
       sound/soc/codecs/tlv320aic32x4.c | 60 +++++++++++++++++++++++---------
       1 file changed, 44 insertions(+), 16 deletions(-)
      
      --
      2.17.1
      354caf58
    • Mark Brown's avatar
      Merge series "ASoC: sun50i-codec-analog: Cleanup and power management" from... · 4782e6cc
      Mark Brown authored
      Merge series "ASoC: sun50i-codec-analog: Cleanup and power management" from Samuel Holland <samuel@sholland.org>:
      
      This series performs some minor cleanup on the driver for the analog
      codec in the Allwinner A64, and hooks up the existing mute switches to
      DAPM widgets, in order to provide improved power management.
      
      Changes since v1:
        - Collected Acked-by/Reviewed-by tags
        - Used SOC_MIXER_NAMED_CTL_ARRAY to avoid naming a widget "Earpiece"
      
      Samuel Holland (8):
        ASoC: sun50i-codec-analog: Fix duplicate use of ADC enable bits
        ASoC: sun50i-codec-analog: Gate the amplifier clock during suspend
        ASoC: sun50i-codec-analog: Group and sort mixer routes
        ASoC: sun50i-codec-analog: Make headphone routes stereo
        ASoC: sun50i-codec-analog: Enable DAPM for headphone switch
        ASoC: sun50i-codec-analog: Make line out routes stereo
        ASoC: sun50i-codec-analog: Enable DAPM for line out switch
        ASoC: sun50i-codec-analog: Enable DAPM for earpiece switch
      
       sound/soc/sunxi/sun50i-codec-analog.c | 176 ++++++++++++++++----------
       1 file changed, 111 insertions(+), 65 deletions(-)
      
      --
      2.26.2
      4782e6cc
    • Mark Brown's avatar
      Merge series "This patch series is to enable multiple features on the Keembay... · 163ae5d1
      Mark Brown authored
      Merge series "This patch series is to enable multiple features on the Keembay Platform" from Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>:
      
      v2: Change channel-max device tree property to use new compatible string
      v1: Initial patch series
      
      Michael Sit Wei Hong (2):
        ASoC: Intel: KMB: Enable TDM audio capture
        dt-bindings: sound: intel,keembay-i2s: Add new compatible string
      
       .../bindings/sound/intel,keembay-i2s.yaml     |   1 +
       sound/soc/intel/keembay/kmb_platform.c        | 145 +++++++++++++-----
       2 files changed, 109 insertions(+), 37 deletions(-)
      
      --
      2.17.1
      163ae5d1