Skip to content
  1. Oct 26, 2021
    • Stephan Gerhold's avatar
      ASoC: qcom: common: Respect status = "disabled" on DAI link nodes · 4b29d5a0
      Stephan Gerhold authored
      
      
      At the moment, the DAI link nodes in the device tree always have to be
      specified completely in each device tree. However, the available
      interfaces (e.g. Primary/Secondary/Tertiary/Quaternary MI2S) are common
      for all devices of a SoC, so the majority of the definitions can be
      placed in a common device tree include to reduce boilerplate.
      
      Make it possible to define such stubs in device tree includes by
      respecting the "status" property for the DAI link nodes. This is
      a trivial change that just requires switching to the _available_
      OF functions that check the "status" property additionally.
      
      This allows defining a stub like:
      
      	sound_dai_quaternary: dai-link-quaternary {
      		link-name = "Quaternary MI2S";
      		status = "disabled"; /* Needs extra codec configuration */
      		cpu {
      			sound-dai = <&q6afedai QUATERNARY_MI2S_RX>;
      		};
      		platform {
      			sound-dai = <&q6routing>;
      		};
      	};
      
      where the codec would be filled in by the device-specific device tree.
      
      For existing device trees this change does not make any difference.
      A missing "status" property is treated like status = "okay".
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Signed-off-by: default avatarStephan Gerhold <stephan@gerhold.net>
      Reviewed-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Link: https://lore.kernel.org/r/20211025105503.49444-1-stephan@gerhold.net
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      4b29d5a0
    • Srinivasa Rao Mandadapu's avatar
      ASoC: dt-bindings: lpass: add binding headers for digital codecs · de6e9190
      Srinivasa Rao Mandadapu authored
      
      
      Add header defining for lpass internal digital codecs rx,tx and va
      dai node id's.
      
      Signed-off-by: default avatarSrinivasa Rao Mandadapu <srivasam@codeaurora.org>
      Link: https://lore.kernel.org/r/1633670491-27432-1-git-send-email-srivasam@codeaurora.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      de6e9190
    • Mark Brown's avatar
      Merge series "ASoC: wm8962: Conversion to json-schema and fix" from Geert... · 141b64f4
      Mark Brown authored
      Merge series "ASoC: wm8962: Conversion to json-schema and fix" from Geert Uytterhoeven <geert+renesas@glider.be>:
      
      	Hi all,
      
      This patch series converts the Wolfson WM8962 Device Tree binding
      documentation to json-schema, after fixing an issue in the imx8mn-beacon
      DTS file.
      
      Thanks for your comments!
      
      Geert Uytterhoeven (2):
        arm64: dts: imx: imx8mn-beacon: Drop undocumented clock-names
          reference
        ASoC: dt-bindings: wlf,wm8962: Convert to json-schema
      
       .../devicetree/bindings/sound/wlf,wm8962.yaml | 118 ++++++++++++++++++
       .../devicetree/bindings/sound/wm8962.txt      |  43 -------
       .../freescale/imx8mn-beacon-baseboard.dtsi    |   1 -
       3 files changed, 118 insertions(+), 44 deletions(-)
       create mode 100644 Documentation/devicetree/bindings/sound/wlf,wm8962.yaml
       delete mode 100644 Documentation/devicetree/bindings/sound/wm8962.txt
      
      --
      2.25.1
      
      Gr{oetje,eeting}s,
      
      						Geert
      
      --
      Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
      
      In personal conversations with technical people, I call myself a hacker. But
      when I'm talking to journalists I just say "programmer" or something like that.
      							    -- Linus Torvalds
      141b64f4
  2. Oct 25, 2021
  3. Oct 24, 2021
    • Mark Brown's avatar
      Merge series "ASoC: Add common modules support for ACP hw block" from Ajit... · e8e8c4a5
      Mark Brown authored
      Merge series "ASoC: Add common modules support for ACP hw block" from Ajit Kumar Pandey <AjitKumar.Pandey@amd.com>:
      
      changes since v3:
      - rebase and fixes merge conflict.
      - Fixed kernel autobot warning.
      
      Ajit Kumar Pandey (8):
        ASoC: amd: Add common framework to support I2S on ACP SOC
        ASoC: amd: acp: Add I2S support on Renoir platform
        ASoC: amd: acp: Add callback for machine driver on ACP
        ASoC: amd: acp: Add generic machine driver support for ACP cards
        ASoC: amd: acp: Add legacy sound card support for Chrome audio
        ASoC: amd: acp: Add SOF audio support on Chrome board
        ASoC: amd: acp: Add support for Maxim amplifier codec
        ASoC: amd: acp: Add support for RT5682-VS codec
      
       sound/soc/amd/Kconfig                |   2 +
       sound/soc/amd/Makefile               |   1 +
       sound/soc/amd/acp/Kconfig            |  51 +++
       sound/soc/amd/acp/Makefile           |  26 ++
       sound/soc/amd/acp/acp-i2s.c          | 340 +++++++++++++++
       sound/soc/amd/acp/acp-legacy-mach.c  | 104 +++++
       sound/soc/amd/acp/acp-mach-common.c  | 600 +++++++++++++++++++++++++++
       sound/soc/amd/acp/acp-mach.h         |  57 +++
       sound/soc/amd/acp/acp-platform.c     | 315 ++++++++++++++
       sound/soc/amd/acp/acp-renoir.c       | 144 +++++++
       sound/soc/amd/acp/acp-sof-mach.c     | 131 ++++++
       sound/soc/amd/acp/amd.h              | 146 +++++++
       sound/soc/amd/acp/chip_offset_byte.h |  76 ++++
       13 files changed, 1993 insertions(+)
       create mode 100644 sound/soc/amd/acp/Kconfig
       create mode 100644 sound/soc/amd/acp/Makefile
       create mode 100644 sound/soc/amd/acp/acp-i2s.c
       create mode 100644 sound/soc/amd/acp/acp-legacy-mach.c
       create mode 100644 sound/soc/amd/acp/acp-mach-common.c
       create mode 100644 sound/soc/amd/acp/acp-mach.h
       create mode 100644 sound/soc/amd/acp/acp-platform.c
       create mode 100644 sound/soc/amd/acp/acp-renoir.c
       create mode 100644 sound/soc/amd/acp/acp-sof-mach.c
       create mode 100644 sound/soc/amd/acp/amd.h
       create mode 100644 sound/soc/amd/acp/chip_offset_byte.h
      
      --
      2.25.1
      e8e8c4a5
    • Mark Brown's avatar
      Merge series "Add Yellow Carp platform ASoC driver" from Vijendar Mukunda... · d96e75bb
      Mark Brown authored
      Merge series "Add Yellow Carp platform ASoC driver" from Vijendar Mukunda <Vijendar.Mukunda@amd.com>:
      
      Yellow Carp platform is new APU series based on acp6.x design.
      This patch set adds an ASoC driver for the ACP (Audio CoProcessor)
      block on AMD Yellow Carp APU with DMIC endpoint support.
      
      changes since v1:
        - fixed SPDX commenting style in acp6x pci driver.
        - fixed Copyright commenting style in acp6x pci driver,
          pdm dma driver and machine driver files.
        - fixed local variable check logic in acp6x_power_on() function.
        - fixed Kconfig indentation issue
        - removed irq_flag local variable in irq handler.
        - add dmi info check in machine driver probe
      
      Vijendar Mukunda (13):
        ASoC: amd: add Yellow Carp ACP6x IP register header
        ASoC: amd: add Yellow Carp ACP PCI driver
        ASoC: amd: add acp6x init/de-init functions
        ASoC: amd: add platform devices for acp6x pdm driver and dmic driver
        ASoC: amd: add acp6x pdm platform driver
        ASoC: amd: add acp6x irq handler
        ASoC: amd: add acp6x pdm driver dma ops
        ASoC: amd: add acp6x pci driver pm ops
        ASoC: amd: add acp6x pdm driver pm ops
        ASoC: amd: enable Yellow carp acp6x drivers build
        ASoC: amd: create platform device for acp6x machine driver
        ASoC: amd: add YC machine driver using dmic
        ASoC: amd: enable Yellow Carp platform machine driver build
      
       sound/soc/amd/Kconfig                     |  21 +
       sound/soc/amd/Makefile                    |   1 +
       sound/soc/amd/yc/Makefile                 |   9 +
       sound/soc/amd/yc/acp6x-mach.c             | 194 ++++++++++
       sound/soc/amd/yc/acp6x-pdm-dma.c          | 448 ++++++++++++++++++++++
       sound/soc/amd/yc/acp6x.h                  | 107 ++++++
       sound/soc/amd/yc/acp6x_chip_offset_byte.h | 444 +++++++++++++++++++++
       sound/soc/amd/yc/pci-acp6x.c              | 338 ++++++++++++++++
       8 files changed, 1562 insertions(+)
       create mode 100644 sound/soc/amd/yc/Makefile
       create mode 100644 sound/soc/amd/yc/acp6x-mach.c
       create mode 100644 sound/soc/amd/yc/acp6x-pdm-dma.c
       create mode 100644 sound/soc/amd/yc/acp6x.h
       create mode 100644 sound/soc/amd/yc/acp6x_chip_offset_byte.h
       create mode 100644 sound/soc/amd/yc/pci-acp6x.c
      
      --
      2.25.1
      d96e75bb
  4. Oct 23, 2021
  5. Oct 22, 2021
  6. Oct 21, 2021
  7. Oct 20, 2021
  8. Oct 19, 2021