mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 06:16:56 +07:00
19926c6de0
It is possible to configure a kernel with SND_DAVINCI_SOC=m and SND_DM365_VOICE_CODEC=y, which results in a link error: sound/built-in.o: In function `davinci_vcif_probe': sound/soc/davinci/davinci-vcif.c:223: undefined reference to `davinci_soc_platform_register' The best way to avoid this is to make SND_DM365_VOICE_CODEC a tristate option that depends on SND_DAVINCI_SOC, so it can only be a module or disabled when the base driver is a loadable module Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Mark Brown <broonie@kernel.org>
101 lines
2.9 KiB
Plaintext
101 lines
2.9 KiB
Plaintext
config SND_DAVINCI_SOC
|
|
tristate "SoC Audio for TI DAVINCI"
|
|
depends on ARCH_DAVINCI
|
|
|
|
config SND_EDMA_SOC
|
|
tristate "SoC Audio for Texas Instruments chips using eDMA (AM33XX/43XX)"
|
|
depends on SOC_AM33XX || SOC_AM43XX
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
|
help
|
|
Say Y or M here if you want audio support for TI SoC which uses eDMA.
|
|
The following line of SoCs are supported by this platform driver:
|
|
- AM335x
|
|
- AM437x/AM438x
|
|
|
|
config SND_DAVINCI_SOC_I2S
|
|
tristate
|
|
|
|
config SND_DAVINCI_SOC_MCASP
|
|
tristate "Multichannel Audio Serial Port (McASP) support"
|
|
depends on SND_DAVINCI_SOC || SND_OMAP_SOC || SND_EDMA_SOC
|
|
help
|
|
Say Y or M here if you want to have support for McASP IP found in
|
|
various Texas Instruments SoCs like:
|
|
- daVinci devices
|
|
- Sitara line of SoCs (AM335x, AM438x, etc)
|
|
- DRA7x devices
|
|
|
|
config SND_DAVINCI_SOC_VCIF
|
|
tristate
|
|
|
|
config SND_DAVINCI_SOC_GENERIC_EVM
|
|
tristate
|
|
select SND_SOC_TLV320AIC3X
|
|
select SND_DAVINCI_SOC_MCASP
|
|
|
|
config SND_AM33XX_SOC_EVM
|
|
tristate "SoC Audio for the AM33XX chip based boards"
|
|
depends on SND_EDMA_SOC && SOC_AM33XX && I2C
|
|
select SND_DAVINCI_SOC_GENERIC_EVM
|
|
help
|
|
Say Y or M if you want to add support for SoC audio on AM33XX
|
|
boards using McASP and TLV320AIC3X codec. For example AM335X-EVM,
|
|
AM335X-EVMSK, and BeagelBone with AudioCape boards have this
|
|
setup.
|
|
|
|
config SND_DAVINCI_SOC_EVM
|
|
tristate "SoC Audio support for DaVinci DM6446, DM355 or DM365 EVM"
|
|
depends on SND_DAVINCI_SOC && I2C
|
|
depends on MACH_DAVINCI_EVM || MACH_DAVINCI_DM355_EVM || MACH_DAVINCI_DM365_EVM
|
|
select SND_DAVINCI_SOC_GENERIC_EVM
|
|
help
|
|
Say Y if you want to add support for SoC audio on TI
|
|
DaVinci DM6446, DM355 or DM365 EVM platforms.
|
|
|
|
choice
|
|
prompt "DM365 codec select"
|
|
depends on SND_DAVINCI_SOC_EVM
|
|
depends on MACH_DAVINCI_DM365_EVM
|
|
|
|
config SND_DM365_AIC3X_CODEC
|
|
bool "Audio Codec - AIC3101"
|
|
help
|
|
Say Y if you want to add support for AIC3101 audio codec
|
|
|
|
config SND_DM365_VOICE_CODEC
|
|
tristate "Voice Codec - CQ93VC"
|
|
depends on SND_DAVINCI_SOC
|
|
select MFD_DAVINCI_VOICECODEC
|
|
select SND_DAVINCI_SOC_VCIF
|
|
select SND_SOC_CQ0093VC
|
|
help
|
|
Say Y if you want to add support for SoC On-chip voice codec
|
|
endchoice
|
|
|
|
config SND_DM6467_SOC_EVM
|
|
tristate "SoC Audio support for DaVinci DM6467 EVM"
|
|
depends on SND_DAVINCI_SOC && MACH_DAVINCI_DM6467_EVM && I2C
|
|
select SND_DAVINCI_SOC_GENERIC_EVM
|
|
select SND_SOC_SPDIF
|
|
|
|
help
|
|
Say Y if you want to add support for SoC audio on TI
|
|
|
|
config SND_DA830_SOC_EVM
|
|
tristate "SoC Audio support for DA830/OMAP-L137 EVM"
|
|
depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA830_EVM && I2C
|
|
select SND_DAVINCI_SOC_GENERIC_EVM
|
|
|
|
help
|
|
Say Y if you want to add support for SoC audio on TI
|
|
DA830/OMAP-L137 EVM
|
|
|
|
config SND_DA850_SOC_EVM
|
|
tristate "SoC Audio support for DA850/OMAP-L138 EVM"
|
|
depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM && I2C
|
|
select SND_DAVINCI_SOC_GENERIC_EVM
|
|
help
|
|
Say Y if you want to add support for SoC audio on TI
|
|
DA850/OMAP-L138 EVM
|
|
|