[PATCH v2 0/9] Audio graph card updates and usage with Tegra210 audio
From: Sameer Pujar
Date: Wed Aug 05 2020 - 01:24:46 EST
This series proposes following enhancements to audio-graph card driver.
* Support multiple instances of a component.
* Support open platforms with empty Codec endpoint.
* Identify no-pcm DPCM DAI links which can be used in BE<->BE connections.
* Add new compatible to support DPCM based DAI chaining.
This pushes DT support for Tegra210 based platforms which uses audio-graph
card and above enhancements.
The series is based on following references where DPCM usgae for Tegra
Audio and simple-card driver proposal were discussed.
* https://lkml.org/lkml/2020/4/30/519 (DPCM for Tegra)
* https://lkml.org/lkml/2020/6/27/4 (simple-card driver)
v1 -> v2
* Re-organized ports/endpoints description for ADMAIF and XBAR.
Updated DT patches accordingly.
* After above change, multiple Codec endpoint support is not
required and hence dropped for now. This will be considered
separately if at all required in future.
* Re-ordered patches in the series.
Sameer Pujar (9):
ASoC: soc-core: Fix component name_prefix parsing
ASoC: audio-graph: Use of_node and DAI for DPCM DAI link names
ASoC: audio-graph: Identify 'no_pcm' DAI links for DPCM
ASoC: soc-pcm: Get all BEs along DAPM path
ASoC: dt-bindings: audio-graph-card: Support for component chaining
ASoC: audio-graph: Add support for component chaining
ASoC: audio-graph: Support empty Codec endpoint
arm64: tegra: Audio graph header for Tegra210
arm64: tegra: Audio graph sound card for Jetson Nano and TX1
.../devicetree/bindings/sound/audio-graph-card.txt | 1 +
.../boot/dts/nvidia/tegra210-audio-graph.dtsi | 141 +++++++++++++
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts | 217 +++++++++++++++++++++
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts | 122 ++++++++++++
include/sound/soc.h | 1 +
sound/soc/generic/audio-graph-card.c | 69 ++++++-
sound/soc/soc-core.c | 3 +-
sound/soc/soc-pcm.c | 3 +-
8 files changed, 545 insertions(+), 12 deletions(-)
create mode 100644 arch/arm64/boot/dts/nvidia/tegra210-audio-graph.dtsi