Skip to content

ASoC: meson: gx: add audio output support

Jerome Brunet alsa-devel linux-amlogic linux-devicetree lkml 1 version Applied

Status from this message: This series was applied to khilman/linux-amlogic.git (refs/heads/for-next).

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 15 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9ASoC: core: allow a dt node to provide several componentssound/soc/soc-core.c+8 -04 replies
2/9ASoC: meson: g12a: extract codec-to-codec utilssound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/g12a-tohdmitx.c +2 more+230 -1761 reply
3/9ASoC: meson: aiu: add audio output dt-bindingsDocumentation/devicetree/bindings/sound/amlogic,aiu.yaml include/dt-bindings/sound/meson-aiu.h+129 -01 reply
4/9ASoC: meson: aiu: add i2s and spdif supportsound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/aiu-encoder-i2s.c +7 more+1589 -01 reply
5/9ASoC: meson: aiu: add hdmi codec control supportsound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/aiu-codec-ctrl.c +2 more+196 -14 replies
6/9ASoC: meson: aiu: add internal dac codec control supportsound/soc/meson/Makefile sound/soc/meson/aiu-acodec-ctrl.c sound/soc/meson/aiu.c +1 more+217 -01 reply
7/9ASoC: meson: axg: extract sound card utilssound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-card.c +2 more+473 -3761 reply
8/9ASoC: meson: gx: add sound card dt-binding documentationDocumentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml+113 -01 reply
9/9ASoC: meson: gx: add sound card supportsound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/gx-card.c+150 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] ASoC: meson: gx: add audio output support

This patchset adds support for the i2s and spdif audio outputs of the amlogic GX SoC family, such the S905, S905X/D, S912 and S805X. These SoCs are used by a fair amount of boards actively maintained upstream.

This was tested on:
* amlogic s912 q200
* libretech s805x-ac (frite)
* libretech s905x-cc (potato)
* libretech s905d-pc (tartiflette)

This could also possibly support meson8 32bits SoCs but I have not tested it myself and it could require some further tweaks.

The audio subsystem found on these SoCs has now been dropped in the newer designs. All recent SoCs families (like g12a and sm1) derive from the AXG audio architecture.

Jerome Brunet (9):
ASoC: core: allow a dt node to provide several components
ASoC: meson: g12a: extract codec-to-codec utils
ASoC: meson: aiu: add audio output dt-bindings
ASoC: meson: aiu: add i2s and spdif support
ASoC: meson: aiu: add hdmi codec control support
ASoC: meson: aiu: add internal dac codec control support
ASoC: meson: axg: extract sound card utils
ASoC: meson: gx: add sound card dt-binding documentation
ASoC: meson: gx: add sound card support

 .../bindings/sound/amlogic,aiu.yaml           | 111 +++++
 .../bindings/sound/amlogic,gx-sound-card.yaml | 113 +++++
 include/dt-bindings/sound/meson-aiu.h         |  18 +
 sound/soc/meson/Kconfig                       |  24 ++
 sound/soc/meson/Makefile                      |  15 +
 sound/soc/meson/aiu-acodec-ctrl.c             | 205 +++++++++
 sound/soc/meson/aiu-codec-ctrl.c              | 152 +++++++
 sound/soc/meson/aiu-encoder-i2s.c             | 324 ++++++++++++++
 sound/soc/meson/aiu-encoder-spdif.c           | 209 +++++++++
 sound/soc/meson/aiu-fifo-i2s.c                | 153 +++++++
 sound/soc/meson/aiu-fifo-spdif.c              | 186 ++++++++
 sound/soc/meson/aiu-fifo.c                    | 223 ++++++++++
 sound/soc/meson/aiu-fifo.h                    |  50 +++
 sound/soc/meson/aiu.c                         | 390 +++++++++++++++++
 sound/soc/meson/aiu.h                         |  91 ++++
 sound/soc/meson/axg-card.c                    | 403 ++----------------
 sound/soc/meson/g12a-tohdmitx.c               | 219 ++--------
 sound/soc/meson/gx-card.c                     | 141 ++++++
 sound/soc/meson/meson-card-utils.c            | 385 +++++++++++++++++
 sound/soc/meson/meson-card.h                  |  55 +++
 sound/soc/meson/meson-codec-glue.c            | 149 +++++++
 sound/soc/meson/meson-codec-glue.h            |  32 ++
 sound/soc/soc-core.c                          |   8 +
 23 files changed, 3104 insertions(+), 552 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,aiu.yaml
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml
 create mode 100644 include/dt-bindings/sound/meson-aiu.h
 create mode 100644 sound/soc/meson/aiu-acodec-ctrl.c
 create mode 100644 sound/soc/meson/aiu-codec-ctrl.c
 create mode 100644 sound/soc/meson/aiu-encoder-i2s.c
 create mode 100644 sound/soc/meson/aiu-encoder-spdif.c
 create mode 100644 sound/soc/meson/aiu-fifo-i2s.c
 create mode 100644 sound/soc/meson/aiu-fifo-spdif.c
 create mode 100644 sound/soc/meson/aiu-fifo.c
 create mode 100644 sound/soc/meson/aiu-fifo.h
 create mode 100644 sound/soc/meson/aiu.c
 create mode 100644 sound/soc/meson/aiu.h
 create mode 100644 sound/soc/meson/gx-card.c
 create mode 100644 sound/soc/meson/meson-card-utils.c
 create mode 100644 sound/soc/meson/meson-card.h
 create mode 100644 sound/soc/meson/meson-codec-glue.c
 create mode 100644 sound/soc/meson/meson-codec-glue.h
Signature · 1 line
2.24.1