ASoC: tegra: Add Tegra210 based OPE driver
authorSameer Pujar <spujar@nvidia.com>
Fri, 3 Jun 2022 06:36:08 +0000 (12:06 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:33:07 +0000 (12:33 +0100)
commit7358a803c778f28314721e78339f3fa5b787f55c
treea191eb9194f28ef9a80f6c28e809d2a8812041fe
parent45c6c5e052df2ee0d87e74743d8bb72e70fd0887
ASoC: tegra: Add Tegra210 based OPE driver

The Output Processing Engine (OPE) is one of the AHUB client. It has
PEQ (Parametric Equalizer) and MBDRC (Multi Band Dynamic Range Compressor)
sub blocks for data processing. The PEQ block gets samples from the MBDRC
block.

This patch registers OPE driver with ASoC framework. The component driver
exposes DAPM widgets, routes and kcontrols for the device. The DAI driver
exposes OPE interfaces, which can be used to connect different components
in the ASoC layer. Makefile and Kconfig support is added to allow build
the driver.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1654238172-16293-3-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_mbdrc.c [new file with mode: 0644]
sound/soc/tegra/tegra210_mbdrc.h [new file with mode: 0644]
sound/soc/tegra/tegra210_ope.c [new file with mode: 0644]
sound/soc/tegra/tegra210_ope.h [new file with mode: 0644]
sound/soc/tegra/tegra210_peq.c [new file with mode: 0644]
sound/soc/tegra/tegra210_peq.h [new file with mode: 0644]