Skip to content

ASoC: meson: add axg audio subsystem support

Jerome Brunet alsa-devel linux-amlogic linux-devicetree lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/215 patches 3 repliesIn review
  2. v1 posting 1/215 patches 20 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ASoC: meson: add axg fifos DT binding documentationDocumentation/devicetree/bindings/sound/amlogic,axg-fifo.txt+23 -00 replies
2/15ASoC: meson: add axg fifo base driversound/soc/Kconfig sound/soc/Makefile sound/soc/meson/Kconfig +3 more+436 -03 replies
3/15ASoC: meson: add axg frddr driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-frddr.c+150 -00 replies
4/15ASoC: meson: add axg toddr driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-toddr.c+208 -00 replies
5/15ASoC: meson: add axg spdif output DT bindings documentationDocumentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt+20 -00 replies
6/15ASoC: meson: add axg spdif outputsound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-spdifout.c+465 -00 replies
7/15ASoC: meson: add axg tdm formatters DT bindings documentationDocumentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt+28 -00 replies
8/15ASoC: meson: add axg tdm interface DT bindings documentationDocumentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt+22 -00 replies
9/15ASoC: meson: add tdm formatter base driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-tdm-formatter.c +2 more+500 -00 replies
10/15ASoC: meson: add tdm interface driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-tdm-interface.c +1 more+552 -00 replies
11/15ASoC: meson: add tdm output driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-tdmout.c+269 -00 replies
12/15ASoC: meson: add tdm input driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-tdmin.c+239 -00 replies
13/15ASoC: export snd_soc_of_get_slot_maskinclude/sound/soc.h sound/soc/soc-core.c+7 -30 replies
14/15ASoC: meson: add axg sound card DT bindings documentationDocumentation/devicetree/bindings/sound/amlogic,axg-sound-card.txt+124 -00 replies
15/15ASoC: meson: add axg sound card supportsound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/axg-card.c+684 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH RESEND 00/15] ASoC: meson: add axg audio subsystem support

This patchset adds support for the audio subsystem found on Amlogic's axg SoC family. The first SoC of this family is the A113D/X targeted at smart speaker application. The G12a SoC family, Amlogic next-gen STB chipset, will reuse this audio subsystem with a few changes.

This patchset implements the DPCM machine driver and the different components it made of. Several components are still missing, such spdif input and pdm, and will submitted later on.

The fancier part of this patchset is probably around the TDM. Properly modeling the SoC architecture and its capatilities made things a little more complex than usual (details in the related commit descriptions)

If necessary, this patchset could broken into smaller series. For the intial submission, I wanted to give a global view of the subsystem. Hopefully, it will make it a bit easier to understand.

Jerome Brunet (15):
ASoC: meson: add axg fifos DT binding documentation
ASoC: meson: add axg fifo base driver
ASoC: meson: add axg frddr driver
ASoC: meson: add axg toddr driver
ASoC: meson: add axg spdif output DT bindings documentation
ASoC: meson: add axg spdif output
ASoC: meson: add axg tdm formatters DT bindings documentation
ASoC: meson: add axg tdm interface DT bindings documentation
ASoC: meson: add tdm formatter base driver
ASoC: meson: add tdm interface driver
ASoC: meson: add tdm output driver
ASoC: meson: add tdm input driver
ASoC: export snd_soc_of_get_slot_mask
ASoC: meson: add axg sound card DT bindings documentation
ASoC: meson: add axg sound card support

 .../devicetree/bindings/sound/amlogic,axg-fifo.txt |  23 +
 .../bindings/sound/amlogic,axg-sound-card.txt      | 124 ++++
 .../bindings/sound/amlogic,axg-spdifout.txt        |  20 +
 .../bindings/sound/amlogic,axg-tdm-formatters.txt  |  28 +
 .../bindings/sound/amlogic,axg-tdm-iface.txt       |  22 +
 include/sound/soc.h                                |   3 +
 sound/soc/Kconfig                                  |   1 +
 sound/soc/Makefile                                 |   1 +
 sound/soc/meson/Kconfig                            |  64 ++
 sound/soc/meson/Makefile                           |  21 +
 sound/soc/meson/axg-card.c                         | 671 +++++++++++++++++++++
 sound/soc/meson/axg-fifo.c                         | 341 +++++++++++
 sound/soc/meson/axg-fifo.h                         |  80 +++
 sound/soc/meson/axg-frddr.c                        | 141 +++++
 sound/soc/meson/axg-spdifout.c                     | 456 ++++++++++++++
 sound/soc/meson/axg-tdm-formatter.c                | 381 ++++++++++++
 sound/soc/meson/axg-tdm-formatter.h                |  39 ++
 sound/soc/meson/axg-tdm-interface.c                | 542 +++++++++++++++++
 sound/soc/meson/axg-tdm.h                          |  78 +++
 sound/soc/meson/axg-tdmin.c                        | 229 +++++++
 sound/soc/meson/axg-tdmout.c                       | 259 ++++++++
 sound/soc/meson/axg-toddr.c                        | 199 ++++++
 sound/soc/soc-core.c                               |   7 +-
 23 files changed, 3727 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-fifo.txt
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-sound-card.txt
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-spdifout.txt
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-tdm-formatters.txt
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,axg-tdm-iface.txt
 create mode 100644 sound/soc/meson/Kconfig
 create mode 100644 sound/soc/meson/Makefile
 create mode 100644 sound/soc/meson/axg-card.c
 create mode 100644 sound/soc/meson/axg-fifo.c
 create mode 100644 sound/soc/meson/axg-fifo.h
 create mode 100644 sound/soc/meson/axg-frddr.c
 create mode 100644 sound/soc/meson/axg-spdifout.c
 create mode 100644 sound/soc/meson/axg-tdm-formatter.c
 create mode 100644 sound/soc/meson/axg-tdm-formatter.h
 create mode 100644 sound/soc/meson/axg-tdm-interface.c
 create mode 100644 sound/soc/meson/axg-tdm.h
 create mode 100644 sound/soc/meson/axg-tdmin.c
 create mode 100644 sound/soc/meson/axg-tdmout.c
 create mode 100644 sound/soc/meson/axg-toddr.c
Signature · 1 line
2.14.4