summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_pcm.h
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2020-07-19 10:31:25 +0530
committerMark Brown <broonie@kernel.org>2020-07-20 15:10:24 +0100
commit327ef64702668bb754eeea80ce402454d7a1302a (patch)
treeb59c20db67df010a91219532bc78ba516b33685e /sound/soc/tegra/tegra_pcm.h
parent16e1bcc2caf446fa3e1daa040b59fd6f6272a766 (diff)
downloadlinux-327ef64702668bb754eeea80ce402454d7a1302a.tar.bz2
ASoC: tegra: Add Tegra186 based DSPK driver
The Digital Speaker Controller (DSPK) converts the multi-bit Pulse Code Modulation (PCM) audio input to oversampled 1-bit Pulse Density Modulation (PDM) output. From the signal flow perpsective, the DSPK can be viewed as a PDM transmitter that up-samples the input to the desired sampling rate by interpolation then converts the oversampled PCM input to the desired 1-bit output via Delta Sigma Modulation (DSM). This patch registers DSPK component with ASoC framework. The component driver exposes DAPM widgets, routes and kcontrols for the device. The DAI driver exposes DSPK 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 DSPK devices can be enabled in the DT via "nvidia,tegra186-dspk" compatible binding. This driver can be used on Tegra194 chip as well. Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1595134890-16470-7-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra_pcm.h')
0 files changed, 0 insertions, 0 deletions