tegrakernel/kernel/nvidia/sound/soc/tegra-alt/Kconfig

235 lines
6.8 KiB
Plaintext
Raw Normal View History

2022-02-16 09:13:02 -06:00
if SND_SOC
config SND_SOC_TEGRA_ALT_186
def_bool y
depends on SND_SOC_TEGRA_ALT
depends on ARCH_TEGRA_18x_SOC
config SND_SOC_TEGRA186_DSPK_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_186
config SND_SOC_TEGRA186_ASRC_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_186
config SND_SOC_TEGRA186_ARAD_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_186
config SND_SOC_TEGRA_T186REF_P4573_ALT
tristate "SoC Audio support for P4573 with CS53L30 and RT5658"
depends on SND_SOC_TEGRA_T186REF_ALT
select SND_SOC_CS53L30
select SND_SOC_RT5659
help
Say Y or M here.
config SND_SOC_TEGRA_T186REF_AUTO_ALT
tristate "SoC Audio support for T186Ref Automotive"
depends on SND_SOC_TEGRA_T186REF_ALT
help
Say Y or M here.
config SND_SOC_TEGRA186_ARAD_WAR
def_bool y
depends on SND_SOC_TEGRA186_ARAD_ALT
depends on TEGRA186_AHC
config SND_SOC_TEGRA186_ASRC_WAR
def_bool n
depends on SND_SOC_TEGRA186_ASRC_ALT
depends on SND_SOC_TEGRA186_ARAD_WAR
config TEGRA186_ASRC_INT_CLEAR_WAR
def_bool y
depends on SND_SOC_TEGRA186_ASRC_ALT
config SND_SOC_TEGRA_ALT
tristate "Alternative DAPM-based SoC audio support for the Tegra System-on-Chip"
depends on ARCH_TEGRA
depends on SND_DMAENGINE_PCM
select REGMAP_MMIO
select SND_DYNAMIC_MINORS
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_210
def_bool y
depends on SND_SOC_TEGRA_ALT
config SND_SOC_TEGRA210_XBAR_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_ADMAIF_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_I2S_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_DMIC_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_AMX_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_ADX_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_MIXER_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_SFC_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_AFC_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_MVC_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_IQC_ALT
tristate "Tegra210 IQC driver"
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
help
Say Y or M if you want to add support for Tegra210 IQC module.
config SND_SOC_TEGRA210_OPE_ALT
tristate
def_tristate SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210
config SND_SOC_TEGRA210_ADSP_ALT
tristate
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210 && TEGRA_NVADSP
select SND_SOC_COMPRESS
config DISABLE_ADSP_AUDIO
bool "Disable ADSP Audio Driver"
def_bool n
depends on SND_SOC_TEGRA_ALT && SND_SOC_TEGRA_ALT_210 && TEGRA_NVADSP
help
Say Y if you want to disable support for Tegra210 ADSP module
config SND_SOC_TEGRA_T210REF_ALT
tristate "SoC Audio support for T210Ref"
depends on SND_SOC_TEGRA_ALT
depends on ARCH_TEGRA_210_SOC
select SND_SOC_TEGRA210_XBAR_ALT
select SND_SOC_TEGRA210_PCM_ALT
select SND_SOC_TEGRA210_ADMA_ALT
select SND_SOC_TEGRA210_ADMAIF_ALT
select SND_SOC_TEGRA210_I2S_ALT
select SND_SOC_TEGRA210_DMIC_ALT
select SND_SOC_TEGRA210_AMX_ALT
select SND_SOC_TEGRA210_ADX_ALT
select SND_SOC_TEGRA210_MIXER_ALT
select SND_SOC_TEGRA210_SFC_ALT
select SND_SOC_TEGRA210_AFC_ALT
select SND_SOC_TEGRA210_MVC_ALT
select SND_SOC_TEGRA210_OPE_ALT
select SND_SOC_TEGRA210_ADSP_ALT if TEGRA_NVADSP && !DISABLE_ADSP_AUDIO
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
select SND_SOC_AD193X_I2C
help
Say Y or M here.
config SND_SOC_TEGRA_T186REF_ALT
tristate "SoC Audio support for T186Ref"
depends on SND_SOC_TEGRA_ALT
depends on ARCH_TEGRA_18x_SOC
select SND_SOC_TEGRA210_XBAR_ALT
select SND_SOC_TEGRA210_PCM_ALT
select SND_SOC_TEGRA210_ADMA_ALT
select SND_SOC_TEGRA210_ADMAIF_ALT
select SND_SOC_TEGRA210_I2S_ALT
select SND_SOC_TEGRA210_DMIC_ALT
select SND_SOC_TEGRA210_AMX_ALT
select SND_SOC_TEGRA210_ADX_ALT
select SND_SOC_TEGRA210_MIXER_ALT
select SND_SOC_TEGRA210_SFC_ALT
select SND_SOC_TEGRA210_AFC_ALT
select SND_SOC_TEGRA210_MVC_ALT
select SND_SOC_TEGRA210_OPE_ALT
select SND_SOC_TEGRA210_ADSP_ALT if TEGRA_NVADSP && !DISABLE_ADSP_AUDIO
select SND_SOC_TEGRA186_ASRC_ALT
select SND_SOC_TEGRA186_ARAD_ALT
select SND_SOC_TEGRA186_DSPK_ALT
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
select SND_SOC_COMPRESS
help
Say Y or M here.
config SND_SOC_TEGRA210_AUDIO_ALT
tristate "SoC Audio support for Tegra210"
depends on I2C
depends on ARCH_TEGRA_210_SOC || ARCH_TEGRA_18x_SOC
select SND_SOC_TEGRA210_XBAR_ALT
select SND_SOC_TEGRA210_PCM_ALT
select SND_SOC_TEGRA210_ADMA_ALT
select SND_SOC_TEGRA210_ADMAIF_ALT
select SND_SOC_TEGRA210_I2S_ALT
select SND_SOC_TEGRA210_DMIC_ALT
select SND_SOC_TEGRA210_AMX_ALT
select SND_SOC_TEGRA210_ADX_ALT
select SND_SOC_TEGRA210_MIXER_ALT
select SND_SOC_TEGRA210_SFC_ALT
select SND_SOC_TEGRA210_AFC_ALT
select SND_SOC_TEGRA210_MVC_ALT
select SND_SOC_TEGRA210_OPE_ALT
select SND_SOC_TEGRA210_ADSP_ALT if TEGRA_NVADSP && !DISABLE_ADSP_AUDIO
select SND_SOC_TEGRA186_ASRC_ALT if ARCH_TEGRA_18x_SOC
select SND_SOC_TEGRA186_ARAD_ALT if ARCH_TEGRA_18x_SOC
select SND_SOC_TEGRA186_DSPK_ALT if ARCH_TEGRA_18x_SOC
select SND_SOC_SPDIF
select SND_SOC_COMPRESS
select SND_SOC_RT5640
select SND_SOC_RT5659
select SND_SOC_SGTL5000
help
Say Y or M here if you want to enable support for ASoC machine driver on
Tegra210 and successor platforms like Tegra186, Tegra194.
config SND_SOC_TEGRA_T210REF_P2382_ALT
tristate "SoC Audio support for P2382Ref T210"
depends on SND_SOC_TEGRA_ALT
depends on ARCH_TEGRA_210_SOC
select SND_SOC_TEGRA210_XBAR_ALT
select SND_SOC_TEGRA210_PCM_ALT
select SND_SOC_TEGRA210_ADMA_ALT
select SND_SOC_TEGRA210_ADMAIF_ALT
select SND_SOC_TEGRA210_I2S_ALT
select SND_SOC_TEGRA210_AMX_ALT
select SND_SOC_TEGRA210_ADX_ALT
select SND_SOC_TEGRA210_MIXER_ALT
select SND_SOC_TEGRA210_SFC_ALT
select SND_SOC_TEGRA210_AFC_ALT
select SND_SOC_TEGRA210_MVC_ALT
select SND_SOC_TEGRA210_OPE_ALT
select SND_SOC_TEGRA210_ADSP_ALT if TEGRA_NVADSP && !DISABLE_ADSP_AUDIO
select SND_SOC_TEGRA_ASOC_HWDEP_ALT
select SND_SOC_SPDIF
help
Say Y or M here
endif