diff --git a/sound/soc/tegra-alt/Kconfig b/sound/soc/tegra-alt/Kconfig new file mode 100644 index 00000000..60ea0688 --- /dev/null +++ b/sound/soc/tegra-alt/Kconfig @@ -0,0 +1,49 @@ +config SND_SOC_TEGRA_ALT + tristate "Alternative DAPM-based SoC audio support for the Tegra System-on-Chip" + depends on ARCH_TEGRA && TEGRA20_APB_DMA + select REGMAP_MMIO + select SND_SOC_DMAENGINE_PCM if TEGRA20_APB_DMA + help + Say Y or M here if you want support for SoC audio on Tegra, using the + alternative driver that exposes to user-space the full routing capabilities + of the AHUB (Audio HUB) hardware module. + +config SND_SOC_TEGRA_ALT_30_OR_LATER + def_bool y + depends on SND_SOC_TEGRA_ALT + depends on ARCH_TEGRA_3x_SOC || ARCH_TEGRA_11x_SOC || ARCH_TEGRA_12x_SOC + +config SND_SOC_TEGRA_ALT_114_OR_LATER + def_bool y + depends on SND_SOC_TEGRA_ALT + depends on ARCH_TEGRA_11x_SOC || ARCH_TEGRA_12x_SOC + +config SND_SOC_TEGRA30_XBAR_ALT + tristate "Tegra30 XBAR driver" + depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_30_OR_LATER + help + Say Y or M if you want to add support for Tegra30 XBAR module. + +config SND_SOC_TEGRA30_APBIF_ALT + tristate "Tegra30 APBIF driver" + depends on SND_SOC_TEGRA30_XBAR_ALT && SND_SOC_TEGRA_ALT_30_OR_LATER + help + Say Y or M if you want to add support for Tegra30 APBIF module. + +config SND_SOC_TEGRA30_I2S_ALT + tristate "Tegra30 I2S driver" + depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_30_OR_LATER + help + Say Y or M if you want to add support for Tegra30 I2S module. + +config SND_SOC_TEGRA114_AMX_ALT + tristate "Tegra114 AMX driver" + depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_114_OR_LATER + help + Say Y or M if you want to add support for Tegra114 AMX module. + +config SND_SOC_TEGRA114_ADX_ALT + tristate "Tegra114 ADX driver" + depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_114_OR_LATER + help + Say Y or M if you want to add support for Tegra114 ADX module. diff --git a/sound/soc/tegra-alt/Makefile b/sound/soc/tegra-alt/Makefile new file mode 100644 index 00000000..38c71d61 --- /dev/null +++ b/sound/soc/tegra-alt/Makefile @@ -0,0 +1,20 @@ +GCOV_PROFILE := y + +subdir-ccflags-y := -Werror + +# Tegra platform Support +snd-soc-tegra-alt-pcm-objs := tegra_pcm_alt.o +snd-soc-tegra-alt-utils-objs := tegra_asoc_utils_alt.o +snd-soc-tegra30-alt-apbif-objs := tegra30_apbif_alt.o +snd-soc-tegra30-alt-xbar-objs := tegra30_xbar_alt.o +snd-soc-tegra30-alt-i2s-objs := tegra30_i2s_alt.o +snd-soc-tegra114-alt-amx-objs := tegra114_amx_alt.o +snd-soc-tegra114-alt-adx-objs := tegra114_adx_alt.o + +obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-pcm.o +obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-utils.o +obj-$(CONFIG_SND_SOC_TEGRA30_APBIF_ALT) += snd-soc-tegra30-alt-apbif.o +obj-$(CONFIG_SND_SOC_TEGRA30_XBAR_ALT) += snd-soc-tegra30-alt-xbar.o +obj-$(CONFIG_SND_SOC_TEGRA30_I2S_ALT) += snd-soc-tegra30-alt-i2s.o +obj-$(CONFIG_SND_SOC_TEGRA114_AMX_ALT) += snd-soc-tegra114-alt-amx.o +obj-$(CONFIG_SND_SOC_TEGRA114_ADX_ALT) += snd-soc-tegra114-alt-adx.o