]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Add Tegra210 based I2S driver
authorSameer Pujar <spujar@nvidia.com>
Sun, 19 Jul 2020 05:01:23 +0000 (10:31 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2020 14:10:23 +0000 (15:10 +0100)
commitc6495e764847a4c7a24822a4ae72c38e4a6800c2
tree12b018fb7d5a38c703659f4225fb9f23de5cafa9
parent57c016db35d4fbc42fe2a8e5134d25ca3906b437
ASoC: tegra: Add Tegra210 based I2S driver

The Inter-IC Sound (I2S) controller implements full-duplex, bi-directional
and single direction point to point serial interface. It can interface
with I2S compatible devices. Tegra I2S controller can operate as both
master and slave.

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

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