[PATCH v2 0/4] ASoC: meson: g12a-toacodec: add support for A1 SoC

From: Jan Dakinevich
Date: Sun Mar 09 2025 - 14:16:15 EST


This series adds support for A1 SoC family in g12a-toacodec driver. The main
change is that the driver now supports capture streams which are suitable for
ADC found on A1's internal audio codec.

Changes v1 [1] -> v2
- detached from v1's series (patch 6, 7, 8, 9)
- reworked the definition of bits

Links:
[1] https://lore.kernel.org/lkml/20240314232201.2102178-1-jan.dakinevich@xxxxxxxxxxxxxxxxx/

Jan Dakinevich (4):
ASoC: meson: codec-glue: add support for capture stream
ASoC: meson: g12a-toacodec: drop the definition of bits
ASoC: dt-bindings: meson: g12a-toacodec: add support for A1 SoC family
ASoC: meson: g12a-toacodec: add support for A1 SoC family

.../bindings/sound/amlogic,g12a-toacodec.yaml | 1 +
.../dt-bindings/sound/meson-g12a-toacodec.h | 5 +
sound/soc/meson/g12a-toacodec.c | 242 ++++++++++++++----
sound/soc/meson/meson-codec-glue.c | 174 ++++++++++---
sound/soc/meson/meson-codec-glue.h | 23 ++
5 files changed, 358 insertions(+), 87 deletions(-)

--
2.34.1