1. Aug 22, 2023
    • Kuninori Morimoto's avatar
      ASoC: pxa: merge DAI call back functions into ops · 2cbd5304
      Kuninori Morimoto authored
      
      
      ALSA SoC merges DAI call backs into .ops.
      This patch merge these into one.
      
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202308151142.hoM5o9LV-lkp@intel.com/
      Fixes: 446b31e8
      
       ("ASoC: soc-dai.h: remove unused call back functions")
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/878ra3ubid.wl-kuninori.morimoto.gx@renesas.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      2cbd5304
    • Mark Brown's avatar
      ASoC: SOF: ipc4-topology: Fixes for pipelines with SRC · 4244cf39
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      The SRC component in a pipeline provides flexibility on the sampling
      rate which was not handled previously.  This series will improve the
      kernel side with the needed logic to be able to deal with the SRC type
      of components in pipelines.
      4244cf39
    • Mark Brown's avatar
      Add cs42l43 PC focused SoundWire CODEC · 0bbe0649
      Mark Brown authored
      Merge series from Charles Keepax <ckeepax@opensource.cirrus.com>:
      
      This patch chain adds support for the Cirrus Logic cs42l43 PC focused
      SoundWire CODEC. The chain is currently based of Lee's for-mfd-next
      branch.
      
      This series is mostly just a resend keeping pace with the kernel under
      it, except for a minor fixup in the ASoC stuff.
      
      Thanks,
      Charles
      
      Charles Keepax (4):
        dt-bindings: mfd: cirrus,cs42l43: Add initial DT binding
        mfd: cs42l43: Add support for cs42l43 core driver
        pinctrl: cs42l43: Add support for the cs42l43
        ASoC: cs42l43: Add support for the cs42l43
      
      Lucas Tanure (2):
        soundwire: bus: Allow SoundWire peripherals to register IRQ handlers
        spi: cs42l43: Add SPI controller support
      
       .../bindings/sound/cirrus,cs42l43.yaml        |  313 +++
       MAINTAINERS                                   |    4 +
       drivers/mfd/Kconfig                           |   23 +
       drivers/mfd/Makefile                          |    3 +
       drivers/mfd/cs42l43-i2c.c                     |   98 +
       drivers/mfd/cs42l43-sdw.c                     |  239 ++
       drivers/mfd/cs42l43.c                         | 1188 +++++++++
       drivers/mfd/cs42l43.h                         |   28 +
       drivers/pinctrl/cirrus/Kconfig                |   11 +
       drivers/pinctrl/cirrus/Makefile               |    2 +
       drivers/pinctrl/cirrus/pinctrl-cs42l43.c      |  609 +++++
       drivers/soundwire/bus.c                       |   32 +
       drivers/soundwire/bus_type.c                  |   12 +
       drivers/spi/Kconfig                           |    7 +
       drivers/spi/Makefile                          |    1 +
       drivers/spi/spi-cs42l43.c                     |  284 ++
       include/linux/mfd/cs42l43-regs.h              | 1184 +++++++++
       include/linux/mfd/cs42l43.h                   |  102 +
       include/linux/soundwire/sdw.h                 |    9 +
       include/sound/cs42l43.h                       |   17 +
       sound/soc/codecs/Kconfig                      |   16 +
       sound/soc/codecs/Makefile                     |    4 +
       sound/soc/codecs/cs42l43-jack.c               |  946 +++++++
       sound/soc/codecs/cs42l43-sdw.c                |   74 +
       sound/soc/codecs/cs42l43.c                    | 2278 +++++++++++++++++
       sound/soc/codecs/cs42l43.h                    |  131 +
       26 files changed, 7615 insertions(+)
       create mode 100644 Documentation/devicetree/bindings/sound/cirrus,cs42l43.yaml
       create mode 100644 drivers/mfd/cs42l43-i2c.c
       create mode 100644 drivers/mfd/cs42l43-sdw.c
       create mode 100644 drivers/mfd/cs42l43.c
       create mode 100644 drivers/mfd/cs42l43.h
       create mode 100644 drivers/pinctrl/cirrus/pinctrl-cs42l43.c
       create mode 100644 drivers/spi/spi-cs42l43.c
       create mode 100644 include/linux/mfd/cs42l43-regs.h
       create mode 100644 include/linux/mfd/cs42l43.h
       create mode 100644 include/sound/cs42l43.h
       create mode 100644 sound/soc/codecs/cs42l43-jack.c
       create mode 100644 sound/soc/codecs/cs42l43-sdw.c
       create mode 100644 sound/soc/codecs/cs42l43.c
       create mode 100644 sound/soc/codecs/cs42l43.h
      
      --
      2.30.2
      0bbe0649
    • Senhong Liu's avatar
      8e665715
  2. Aug 21, 2023
  3. Aug 19, 2023
  4. Aug 18, 2023
    • Alper Nebi Yasak's avatar
      ASoC: amd: acp: Add kcontrols and widgets per-codec in common code · 919a4a94
      Alper Nebi Yasak authored
      Commit 7ac3404c ("ASoC: amd: acp: Map missing jack kcontrols") adds
      card kcontrols and DAPM widgets corresponding to jacks for Headphone and
      Headset Mic. But these were already being added in acp-legacy-mach.c and
      acp-sof-mach.c, so this causes a probe error:
      
        sof_mach rt5682s-hs-rt1019: control 2:0:0:Headphone Jack Switch:0 is already present
        sof_mach rt5682s-hs-rt1019: ASoC: Failed to add Headphone Jack Switch: -16
        sof_mach rt5682s-hs-rt1019: devm_snd_soc_register_card(sof-rt5682s-hs-rt1019) failed: -16
        sof_mach: probe of rt5682s-hs-rt1019 failed with error -16
      
      Removing the new duplicates from the common code might be enough to fix
      the issue. But some of the codecs use different kcontrols and widgets.
      NAU8821 alone has an "Int Mic". MAX98360A has a single "Spk", while
      RT1019 has "Left Spk" and "Right Spk" (and two codec instances with name
      prefixes).
      
      Since there are per-codec differences, add the kcontrols and widgets
      in the common code as each dai-link is being initialized, instead of in
      the two machine drivers' probe().
      
      Also, MAX98388 has Left and Right instances, but uses a single "SPK"
      widget. That seems weird, so normalize it to use two widgets (one per
      each instance like RT1019) while we're adding controls.
      
      Fixes: 7ac3404c
      
       ("ASoC: amd: acp: Map missing jack kcontrols")
      Signed-off-by: default avatarAlper Nebi Yasak <alpernebiyasak@gmail.com>
      Link: https://lore.kernel.org/r/20230818080314.32991-1-alpernebiyasak@gmail.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      919a4a94
    • Shuming Fan's avatar
      ASoC: rt5645: improve the depop sequences of CBJ detection · aa98697c
      Shuming Fan authored
      
      
      This patch will improve the depop function of CBJ detection before the headphone playback
      when the system resumes.
      We also want to complete the CBJ detection in the system-level resume function.
      It could avoid triggering the detection at the playing state of headphones.
      
      Signed-off-by: default avatarShuming Fan <shumingf@realtek.com>
      Link: https://lore.kernel.org/r/20230818023732.2153170-1-shumingf@realtek.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      aa98697c
    • Mark Brown's avatar
      ASoC: Merge up fixes · cfee987c
      Mark Brown authored
      For the benefit of CI.
      cfee987c
    • Mark Brown's avatar
      ASoC: Convert remaining Realtek codecs to GPIO · 44cb08fd
      Mark Brown authored
      Merge series from Linus Walleij <linus.walleij@linaro.org>:
      
      After dropping unused headers a few Realtek devices
      actually using the GPIO descriptors remain.
      
      Converting them to use optional GPIO descriptors is
      pretty straight-forward.
      44cb08fd
    • Mark Brown's avatar
      ASoC: cs35l56: Update ACPI HID and property · ab0b5072
      Mark Brown authored
      Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
      
      These two patches add an ACPI HID and update the way the platform-
      specific firmware identifier is extracted from the ACPI.
      ab0b5072
  5. Aug 17, 2023
  6. Aug 16, 2023