1. 26 Aug, 2021 20 commits
  2. 25 Aug, 2021 5 commits
    • Shengjiu Wang's avatar
      ASoC: imx-rpmsg: change dev_err to dev_err_probe for -EPROBE_DEFER · a8946f03
      Shengjiu Wang authored
      Change dev_err to dev_err_probe for no need print error message
      when defer probe happens.
      
      Fixes: 39f8405c ("ASoC: imx-rpmsg: Add machine driver for audio base on rpmsg")
      Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
      Link: https://lore.kernel.org/r/1629875681-16373-1-git-send-email-shengjiu.wang@nxp.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      a8946f03
    • Derek Fang's avatar
      ASoC: rt5682: Fix the vol+ button detection issue · 8d3019b6
      Derek Fang authored
      Fix the wrong button vol+ detection issue with some brand headsets
      by fine tuning the threshold of button vol+ and SAR ADC button accuracy.
      Signed-off-by: default avatarDerek Fang <derek.fang@realtek.com>
      Link: https://lore.kernel.org/r/20210825040346.28346-1-derek.fang@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      8d3019b6
    • Peter Ujfalusi's avatar
      ASoC: Intel: bytcr_rt5640: Make rt5640_jack_gpio/rt5640_jack2_gpio static · dc2d01c7
      Peter Ujfalusi authored
      Marking the two jack gpio as static fixes the following Sparse errors:
      sound/soc/intel/boards/bytcr_rt5640.c:468:26: error: symbol 'rt5640_jack_gpio' was not declared. Should it be static?
      sound/soc/intel/boards/bytcr_rt5640.c:475:26: error: symbol 'rt5640_jack2_gpio' was not declared. Should it be static?
      
      Fixes: 9ba00856 ("ASoC: Intel: bytcr_rt5640: Add support for HP Elite Pad 1000G2 jack-detect")
      Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
      Link: https://lore.kernel.org/r/20210825122519.3364-1-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      dc2d01c7
    • Mark Brown's avatar
      Merge branch 'for-5.14' of... · 2d02e7d7
      Mark Brown authored
      Merge branch 'for-5.14' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.15
      2d02e7d7
    • Mark Brown's avatar
      Merge series "ASoC: mediatek: Add support for MT8195 SoC" from Trevor Wu <trevor.wu@mediatek.com>: · 88939e73
      Mark Brown authored
      This series of patches adds support for Mediatek AFE of MT8195 SoC.
      Patches are based on broonie tree "for-next" branch.
      
      Changes since v4:
        - removed sof related code
      
      Changes since v3:
        - fixed warnings found by kernel test robot
        - removed unused critical section
        - corrected the lock protected sections on etdm driver
        - added DPTX and HDMITX audio support
      
      Changes since v2:
        - added audio clock gate control
        - added 'mediatek' prefix to private dts properties
        - added consumed clocks to dt-bindins and adopted suggestions from Rob
        - refined clock usage and remove unused clock and control code
        - fixed typos
      
      Changes since v1:
        - fixed some problems related to dt-bindings
        - added some missing properties to dt-bindings
        - added depency declaration on dt-bindings
        - fixed some warnings found by kernel test robot
      
      Trevor Wu (11):
        ASoC: mediatek: mt8195: update mediatek common driver
        ASoC: mediatek: mt8195: support audsys clock control
        ASoC: mediatek: mt8195: support etdm in platform driver
        ASoC: mediatek: mt8195: support adda in platform driver
        ASoC: mediatek: mt8195: support pcm in platform driver
        ASoC: mediatek: mt8195: add platform driver
        dt-bindings: mediatek: mt8195: add audio afe document
        ASoC: mediatek: mt8195: add machine driver with mt6359, rt1019 and
          rt5682
        ASoC: mediatek: mt8195: add DPTX audio support
        ASoC: mediatek: mt8195: add HDMITX audio support
        dt-bindings: mediatek: mt8195: add mt8195-mt6359-rt1019-rt5682
          document
      
       .../bindings/sound/mt8195-afe-pcm.yaml        |  184 +
       .../sound/mt8195-mt6359-rt1019-rt5682.yaml    |   47 +
       sound/soc/mediatek/Kconfig                    |   24 +
       sound/soc/mediatek/Makefile                   |    1 +
       sound/soc/mediatek/common/mtk-afe-fe-dai.c    |   22 +-
       sound/soc/mediatek/common/mtk-base-afe.h      |   10 +-
       sound/soc/mediatek/mt8195/Makefile            |   15 +
       sound/soc/mediatek/mt8195/mt8195-afe-clk.c    |  441 +++
       sound/soc/mediatek/mt8195/mt8195-afe-clk.h    |  109 +
       sound/soc/mediatek/mt8195/mt8195-afe-common.h |  158 +
       sound/soc/mediatek/mt8195/mt8195-afe-pcm.c    | 3281 +++++++++++++++++
       sound/soc/mediatek/mt8195/mt8195-audsys-clk.c |  214 ++
       sound/soc/mediatek/mt8195/mt8195-audsys-clk.h |   15 +
       .../soc/mediatek/mt8195/mt8195-audsys-clkid.h |   93 +
       sound/soc/mediatek/mt8195/mt8195-dai-adda.c   |  830 +++++
       sound/soc/mediatek/mt8195/mt8195-dai-etdm.c   | 2639 +++++++++++++
       sound/soc/mediatek/mt8195/mt8195-dai-pcm.c    |  389 ++
       .../mt8195/mt8195-mt6359-rt1019-rt5682.c      | 1087 ++++++
       sound/soc/mediatek/mt8195/mt8195-reg.h        | 2796 ++++++++++++++
       19 files changed, 12350 insertions(+), 5 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/mt8195-afe-pcm.yaml
       create mode 100644 Documentation/devicetree/bindings/sound/mt8195-mt6359-rt1019-rt5682.yaml
       create mode 100644 sound/soc/mediatek/mt8195/Makefile
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-afe-clk.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-afe-clk.h
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-afe-common.h
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-afe-pcm.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-audsys-clk.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-audsys-clk.h
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-audsys-clkid.h
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-dai-adda.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-dai-etdm.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-dai-pcm.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-mt6359-rt1019-rt5682.c
       create mode 100644 sound/soc/mediatek/mt8195/mt8195-reg.h
      
      --
      2.18.0
      88939e73
  3. 24 Aug, 2021 13 commits
  4. 23 Aug, 2021 2 commits
    • Mark Brown's avatar
      Merge series "ASoC: Intel: Skylake: Fix and support complex" from Cezary... · 6f02c089
      Mark Brown authored
      Merge series "ASoC: Intel: Skylake: Fix and support complex" from Cezary Rojewski <cezary.rojewski@intel.com>:
      
      Existing skylake-driver supports very basic scenarios with limited range
      of modules and their control. Attached changes first fix code as several
      advanced configurations are 'mentioned' throughout the files but are not
      actually functional. Follow up are changes adding missing support for
      said configurations.
      
      Cezary Rojewski (5):
        ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373
        ASoC: Intel: Skylake: Leave data as is when invoking TLV IPCs
        ASoC: Intel: Skylake: Fix module resource and format selection
        ASoC: Intel: Skylake: Fix module configuration for KPB and MIXER
        ASoC: Intel: Skylake: Select first entry for singular pipe config
          arrays
      
      Gustaw Lewandowski (2):
        ASoC: Intel: Skylake: Fix passing loadable flag for module
        ASoC: Intel: Skylake: Simplify m_state for loadable modules
      
      Kareem Shaik (1):
        ASoC: Intel: Skylake: Support multiple format configs
      
      Pawel Harlozinski (1):
        ASoC: Intel: Skylake: Properly configure modules with generic
          extension
      
      Piotr Maziarz (1):
        ASoC: Intel: Skylake: Select proper format for NHLT blob
      
      Szymon Mielczarek (1):
        ASoC: Intel: Skylake: Support modules with generic extension
      
       include/uapi/sound/snd_sst_tokens.h          |   6 +-
       sound/soc/intel/boards/kbl_da7219_max98927.c |  55 +------
       sound/soc/intel/skylake/skl-messages.c       | 155 ++++++++++++-------
       sound/soc/intel/skylake/skl-pcm.c            |  25 ++-
       sound/soc/intel/skylake/skl-topology.c       | 155 +++++++++++--------
       sound/soc/intel/skylake/skl-topology.h       |  26 +++-
       6 files changed, 231 insertions(+), 191 deletions(-)
      
      --
      2.25.1
      6f02c089
    • Tzung-Bi Shih's avatar
      ASoC: rt1015: remove possible unused variable `bclk_ms' · d019403a
      Tzung-Bi Shih authored
      bclk_ms is possible unused by using the given config (see [1]).
      
      sound/soc/codecs/rt1015.c:724:2: warning: Value stored to 'bclk_ms' is
      never read [clang-analyzer-deadcode.DeadStores]
                 bclk_ms = frame_size > 32;
                 ^         ~~~~~~~~~~~~~~~
      
      In addition, bclk_ms is meaningless and confusing after applying commit
      a5db2ca5 ("ASoC: rt1015: remove unneeded variables in rt1015_priv").
      The "> 32" in the expression looks like a typo but it was not.
      
      Let's remove the confusing variable bclk_ms.
      
      [1]: https://lkml.org/lkml/2021/8/23/305Reported-by: default avatarkernel test robot <lkp@intel.com>
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20210823153323.1297723-1-tzungbi@google.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d019403a