ASoC: tegra: Add Tegra210 based MVC driver
authorSameer Pujar <spujar@nvidia.com>
Mon, 13 Sep 2021 16:42:14 +0000 (22:12 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 12:31:32 +0000 (13:31 +0100)
commite539891f968722d632234ac942c4749ad8ca189a
tree814ed46dfb3884a87878474cb349870b974bc050
parent94d486c2e5e72f62b4320288c0e69393326e14a9
ASoC: tegra: Add Tegra210 based MVC driver

The Master Volume Control (MVC) provides gain or attenuation to a digital
signal path. It can be used in input or output signal path for per-stream
volume control or it can be used as master volume control. The MVC block
has one input and one output. The input digital stream can be mono or
multi-channel (up to 7.1 channels) stream. An independent mute control is
also included in the MVC block.

This patch registers MVC driver with ASoC framework. The component driver
exposes DAPM widgets, routes and kcontrols for the device. The DAI driver
exposes MVC 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-mvc"
compatible binding.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Link: https://lore.kernel.org/r/1631551342-25469-7-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_mvc.c [new file with mode: 0644]
sound/soc/tegra/tegra210_mvc.h [new file with mode: 0644]