OSDN Git Service

ASoC: tegra: Add Tegra210 based ADX driver
authorSameer Pujar <spujar@nvidia.com>
Mon, 13 Sep 2021 16:42:17 +0000 (22:12 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 12:31:35 +0000 (13:31 +0100)
commita99ab6f395a9e45ca3f9047e9b88d6e02737419f
tree53850cafa5b3f06285062b6a2bece56125620f7c
parent77f7df346c4533b91d0dcc2b549eb7c98abd198b
ASoC: tegra: Add Tegra210 based ADX driver

The Audio Demultiplexer (ADX) block takes an input stream with up to
16 channels and demultiplexes it into four output streams of up to 16
channels each. A byte RAM helps to form output frames by any combination
of bytes from the input frame. Its design is identical to that of byte
RAM in the AMX except that the data flow direction is reversed.

This patch registers ADX driver with ASoC framework. The component driver
exposes DAPM widgets, routes and kcontrols for the device. The DAI driver
exposes ADX interfaces, which can be used to connect different components
in the ASoC layer. Makefile and Kconfig support is added to allow build
the driver. It can be enabled in the DT via "nvidia,tegra210-adx"
compatible binding.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1631551342-25469-10-git-send-email-spujar@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/Kconfig
sound/soc/tegra/Makefile
sound/soc/tegra/tegra210_adx.c [new file with mode: 0644]
sound/soc/tegra/tegra210_adx.h [new file with mode: 0644]