OSDN Git Service

ASoC: tegra: Add Tegra210 based SFC driver
authorSameer Pujar <spujar@nvidia.com>
Mon, 13 Sep 2021 16:42:15 +0000 (22:12 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 20 Sep 2021 12:31:33 +0000 (13:31 +0100)
commitb2f74ec53a6cc0f2bb6cdb61d430828337d0e069
treee4bf0bfc7addf817a080cb8909ee1b12cad85d2e
parente539891f968722d632234ac942c4749ad8ca189a
ASoC: tegra: Add Tegra210 based SFC driver

The Sampling Frequency Converter (SFC) converts the sampling frequency
of the input signal from one frequency to another. It supports sampling
frequency conversions of streams of up to two channels (stereo).

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

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