Skip to content

ASoC: meson: g12a: add internal audio DAC support

Jerome Brunet alsa-devel linux-amlogic linux-devicetree lkml 2 versions 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 · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v13 patches 1 replySuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3ASoC: meson: g12a: add toacodec dt-binding documentationDocumentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml include/dt-bindings/sound/meson-g12a-toacodec.h+61 -00 replies
2/3ASoC: meson: g12a: add internal DAC glue driversound/soc/meson/Kconfig sound/soc/meson/Makefile sound/soc/meson/g12a-toacodec.c+263 -01 reply
3/3ASoC: meson: axg-card: add toacodec supportsound/soc/meson/axg-card.c+2 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/3] ASoC: meson: g12a: add internal audio DAC support

Like the gxl, the Amlogic g12a and sm1 SoC families have a t9015 internal audio DAC. On these more recent SoCs, any of the 3 TDM outputs can be routed to the internal DAC. This routing is done by a small glue device called 'toacodec'. This patchset adds support for it.

This was tested on the amlogic reference design g12a-u200.

Changes since v1 [0]:
* Fixup patch 2 which was left in an intermediate state after rebasing, missing part of the changes. Thanks to Sergey Bolshakov for reporting it.

[0]: https://lore.kernel.org/r/[email protected]

Jerome Brunet (3):
ASoC: meson: g12a: add toacodec dt-binding documentation
ASoC: meson: g12a: add internal DAC glue driver
ASoC: meson: axg-card: add toacodec support

 .../bindings/sound/amlogic,g12a-toacodec.yaml |  51 ++++
 .../dt-bindings/sound/meson-g12a-toacodec.h   |  10 +
 sound/soc/meson/Kconfig                       |   9 +
 sound/soc/meson/Makefile                      |   2 +
 sound/soc/meson/axg-card.c                    |   3 +-
 sound/soc/meson/g12a-toacodec.c               | 252 ++++++++++++++++++
 6 files changed, 326 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/sound/amlogic,g12a-toacodec.yaml
 create mode 100644 include/dt-bindings/sound/meson-g12a-toacodec.h
 create mode 100644 sound/soc/meson/g12a-toacodec.c
Signature · 1 line
2.24.1