mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 13:42:05 +07:00
f74028e159
ADMAIF is the interface between ADMA and AHUB. Each ADMA channel that sends/receives data to/from AHUB must intreface through an ADMAIF channel. ADMA channel sending data to AHUB pairs with an ADMAIF Tx channel and similarly ADMA channel receiving data from AHUB pairs with an ADMAIF Rx channel. Buffer size is configurable for each ADMAIF channel, but currently SW uses default values. This patch registers ADMAIF driver with ASoC framework. The component driver exposes DAPM widgets, routes and kcontrols for the device. The DAI driver exposes ADMAIF 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 ADMAIF device can be enabled in the DT via "nvidia,tegra210-admaif" compatible binding. Tegra PCM driver is updated to expose required PCM interfaces and snd_pcm_ops callbacks. Signed-off-by: Sameer Pujar <spujar@nvidia.com> Link: https://lore.kernel.org/r/1595134890-16470-8-git-send-email-spujar@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
51 lines
2.4 KiB
Makefile
51 lines
2.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Tegra platform Support
|
|
snd-soc-tegra-pcm-objs := tegra_pcm.o
|
|
snd-soc-tegra-utils-objs += tegra_asoc_utils.o
|
|
snd-soc-tegra20-ac97-objs := tegra20_ac97.o
|
|
snd-soc-tegra20-das-objs := tegra20_das.o
|
|
snd-soc-tegra20-i2s-objs := tegra20_i2s.o
|
|
snd-soc-tegra20-spdif-objs := tegra20_spdif.o
|
|
snd-soc-tegra30-ahub-objs := tegra30_ahub.o
|
|
snd-soc-tegra30-i2s-objs := tegra30_i2s.o
|
|
snd-soc-tegra210-ahub-objs := tegra210_ahub.o
|
|
snd-soc-tegra210-dmic-objs := tegra210_dmic.o
|
|
snd-soc-tegra210-i2s-objs := tegra210_i2s.o
|
|
snd-soc-tegra186-dspk-objs := tegra186_dspk.o
|
|
snd-soc-tegra210-admaif-objs := tegra210_admaif.o
|
|
|
|
obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-pcm.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA) += snd-soc-tegra-utils.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA20_AC97) += snd-soc-tegra20-ac97.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA20_DAS) += snd-soc-tegra20-das.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA20_I2S) += snd-soc-tegra20-i2s.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA20_SPDIF) += snd-soc-tegra20-spdif.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA30_AHUB) += snd-soc-tegra30-ahub.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA30_I2S) += snd-soc-tegra30-i2s.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA210_DMIC) += snd-soc-tegra210-dmic.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA210_AHUB) += snd-soc-tegra210-ahub.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA210_I2S) += snd-soc-tegra210-i2s.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA186_DSPK) += snd-soc-tegra186-dspk.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA210_ADMAIF) += snd-soc-tegra210-admaif.o
|
|
|
|
# Tegra machine Support
|
|
snd-soc-tegra-rt5640-objs := tegra_rt5640.o
|
|
snd-soc-tegra-rt5677-objs := tegra_rt5677.o
|
|
snd-soc-tegra-wm8753-objs := tegra_wm8753.o
|
|
snd-soc-tegra-wm8903-objs := tegra_wm8903.o
|
|
snd-soc-tegra-wm9712-objs := tegra_wm9712.o
|
|
snd-soc-tegra-trimslice-objs := trimslice.o
|
|
snd-soc-tegra-alc5632-objs := tegra_alc5632.o
|
|
snd-soc-tegra-max98090-objs := tegra_max98090.o
|
|
snd-soc-tegra-sgtl5000-objs := tegra_sgtl5000.o
|
|
|
|
obj-$(CONFIG_SND_SOC_TEGRA_RT5640) += snd-soc-tegra-rt5640.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_RT5677) += snd-soc-tegra-rt5677.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_WM8753) += snd-soc-tegra-wm8753.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_WM8903) += snd-soc-tegra-wm8903.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_WM9712) += snd-soc-tegra-wm9712.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_TRIMSLICE) += snd-soc-tegra-trimslice.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_ALC5632) += snd-soc-tegra-alc5632.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_MAX98090) += snd-soc-tegra-max98090.o
|
|
obj-$(CONFIG_SND_SOC_TEGRA_SGTL5000) += snd-soc-tegra-sgtl5000.o
|