# SPDX-License-Identifier: GPL-2.0-only
menu "Audio support for Texas Instruments SoCs"
depends on [31mCONFIG_DMA_OMAP[0m || [31mCONFIG_TI_EDMA[0m || [31mCONFIG_COMPILE_TEST[0m
config [31mCONFIG_SND_SOC_TI_EDMA_PCM[0m
tristate
select [31mCONFIG_SND_SOC_GENERIC_DMAENGINE_PCM[0m
config [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
tristate
select [31mCONFIG_SND_SOC_GENERIC_DMAENGINE_PCM[0m
comment "Texas Instruments DAI support for:"
config [31mCONFIG_SND_SOC_DAVINCI_ASP[0m
tristate "daVinci Audio Serial Port (ASP) or McBSP support"
depends on [31mCONFIG_ARCH_DAVINCI[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_EDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m here if you want audio support via daVinci ASP or McBSP.
The driver only implements the ASP support which is a subset of
daVinci McBSP (w/o the multichannel support).
config [31mCONFIG_SND_SOC_DAVINCI_MCASP[0m
tristate "Multichannel Audio Serial Port (McASP) support"
select [31mCONFIG_SND_SOC_TI_EDMA_PCM[0m
select [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m 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
- Keystone devices
config [31mCONFIG_SND_SOC_DAVINCI_VCIF[0m
tristate "daVinci Voice Interface (VCIF) support"
depends on [31mCONFIG_ARCH_DAVINCI[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_EDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m here if you want audio support via daVinci VCIF.
config [31mCONFIG_SND_SOC_OMAP_DMIC[0m
tristate "Digital Microphone Module (DMIC) support"
depends on [31mCONFIG_ARCH_OMAP4[0m || [31mCONFIG_SOC_OMAP5[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m here if you want to have support for DMIC IP found in
OMAP4 and OMAP5.
config [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
tristate "Multichannel Buffered Serial Port (McBSP) support"
depends on [31mCONFIG_ARCH_OMAP[0m || [31mCONFIG_ARCH_OMAP1[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m here if you want to have support for McBSP IP found in
Texas Instruments OMAP1/2/3/4/5 SoCs.
config [31mCONFIG_SND_SOC_OMAP_MCPDM[0m
tristate "Multichannel PDM Controller (McPDM) support"
depends on [31mCONFIG_ARCH_OMAP4[0m || [31mCONFIG_SOC_OMAP5[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
help
Say Y or [31mCONFIG_M[0m here if you want to have support for McPDM IP found in
OMAP4 and OMAP5.
comment "Audio support for boards with Texas Instruments SoCs"
config [31mCONFIG_SND_SOC_NOKIA_N810[0m
tristate "SoC Audio support for Nokia N810"
depends on [31mCONFIG_MACH_NOKIA_N810[0m && [31mCONFIG_I2C[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_TLV320AIC3X[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on Nokia N810.
config [31mCONFIG_SND_SOC_NOKIA_RX51[0m
tristate "SoC Audio support for Nokia RX-51"
depends on [31mCONFIG_ARCH_OMAP3[0m && [31mCONFIG_I2C[0m && [31mCONFIG_GPIOLIB[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_TLV320AIC3X[0m
select [31mCONFIG_SND_SOC_TPA6130A2[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on Nokia RX-51
hardware. This is also known as Nokia N900 product.
config [31mCONFIG_SND_SOC_OMAP3_PANDORA[0m
tristate "SoC Audio support for OMAP3 Pandora"
depends on [31mCONFIG_ARCH_OMAP3[0m
depends on [31mCONFIG_TWL4030_CORE[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_TWL4030[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on the OMAP3 Pandora.
config [31mCONFIG_SND_SOC_OMAP3_TWL4030[0m
tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"
depends on [31mCONFIG_ARCH_OMAP3[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_TWL4030_CORE[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_TWL4030[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on OMAP3 based
boards using twl4030 as codec. This driver currently supports:
- Beagleboard or Devkit8000
- Gumstix Overo or CompuLab CM-T35/CM-T3730
- IGEP v2
- OMAP3EVM
- SDP3430
- Zoom2
config [31mCONFIG_SND_SOC_OMAP_ABE_TWL6040[0m
tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
depends on [31mCONFIG_TWL6040_CORE[0m && [31mCONFIG_COMMON_CLK[0m
depends on [31mCONFIG_ARCH_OMAP4[0m || ([31mCONFIG_SOC_OMAP5[0m && [31mCONFIG_MFD_PALMAS[0m) || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_OMAP_DMIC[0m
select [31mCONFIG_SND_SOC_OMAP_MCPDM[0m
select [31mCONFIG_SND_SOC_TWL6040[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on OMAP boards
using ABE and twl6040 codec. This driver currently supports:
- SDP4430/Blaze boards
- PandaBoard (4430)
- PandaBoardES (4460)
- OMAP5 uEVM
config [31mCONFIG_SND_SOC_OMAP_AMS_DELTA[0m
tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
depends on [31mCONFIG_MACH_AMS_DELTA[0m && [31mCONFIG_TTY[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_CX20442[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio device
connected to a handset and a speakerphone found on Amstrad E3 (Delta)
videophone.
Note that in order to get those devices fully supported, you have to
build the kernel with standard serial port driver included and
configured for at least 4 ports. Then, from userspace, you must load
a line discipline #19 on the modem (ttyS3) serial line. The simplest
way to achieve this is to install util-linux-ng and use the included
ldattach utility. This can be started automatically from udev,
a simple rule like this one should do the trick (it does for me):
ACTION=="add", KERNEL=="controlC0", \
RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
config [31mCONFIG_SND_SOC_OMAP_HDMI[0m
tristate "OMAP4/5 HDMI audio support"
depends on [31mCONFIG_OMAP4_DSS_HDMI[0m || [31mCONFIG_OMAP5_DSS_HDMI[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_SND_SOC_TI_SDMA_PCM[0m
help
For [31mCONFIG_HDMI[0m audio to work OMAPDSS [31mCONFIG_HDMI[0m support should be
enabled.
The hdmi audio driver implements cpu-dai component using the
callbacks provided by OMAPDSS and registers the component
under DSS [31mCONFIG_HDMI[0m device. Omap-pcm is registered for platform
component also under DSS [31mCONFIG_HDMI[0m device. Dummy codec is used as
as codec component. The hdmi audio driver implements also
the card and registers it under its own platform device.
The device for the driver is registered by OMAPDSS hdmi
driver.
config [31mCONFIG_SND_SOC_OMAP_OSK5912[0m
tristate "SoC Audio support for omap osk5912"
depends on [31mCONFIG_MACH_OMAP_OSK[0m && [31mCONFIG_I2C[0m
select [31mCONFIG_SND_SOC_OMAP_MCBSP[0m
select [31mCONFIG_SND_SOC_TLV320AIC23_I2C[0m
help
Say Y or [31mCONFIG_M[0m if you want to add support for SoC audio on osk5912.
config [31mCONFIG_SND_SOC_DAVINCI_EVM[0m
tristate "SoC Audio support for DaVinci EVMs"
depends on [31mCONFIG_ARCH_DAVINCI[0m && [31mCONFIG_I2C[0m
select [31mCONFIG_SND_SOC_DAVINCI_ASP[0m if [31mCONFIG_MACH_DAVINCI_DM355_EVM[0m
select [31mCONFIG_SND_SOC_DAVINCI_ASP[0m if [31mCONFIG_SND_SOC_DM365_AIC3X_CODEC[0m
select [31mCONFIG_SND_SOC_DAVINCI_VCIF[0m if [31mCONFIG_SND_SOC_DM365_VOICE_CODEC[0m
select [31mCONFIG_SND_SOC_DAVINCI_ASP[0m if [31mCONFIG_MACH_DAVINCI_EVM[0m # DM6446
select [31mCONFIG_SND_SOC_DAVINCI_MCASP[0m if [31mCONFIG_MACH_DAVINCI_DM6467_EVM[0m
select [31mCONFIG_SND_SOC_SPDIF[0m if [31mCONFIG_MACH_DAVINCI_DM6467_EVM[0m
select [31mCONFIG_SND_SOC_DAVINCI_MCASP[0m if [31mCONFIG_MACH_DAVINCI_DA830_EVM[0m
select [31mCONFIG_SND_SOC_DAVINCI_MCASP[0m if [31mCONFIG_MACH_DAVINCI_DA850_EVM[0m
select [31mCONFIG_SND_SOC_TLV320AIC3X[0m
help
Say Y if you want to add support for SoC audio on the following TI
DaVinci [31mCONFIG_EVM[0m platforms:
- DM355
- DM365
- DM6446
- DM6447
- DM830
- DM850
choice
prompt "DM365 codec select"
depends on [31mCONFIG_SND_SOC_DAVINCI_EVM[0m
depends on [31mCONFIG_MACH_DAVINCI_DM365_EVM[0m
config [31mCONFIG_SND_SOC_DM365_AIC3X_CODEC[0m
bool "Audio Codec - AIC3101"
help
Say Y if you want to add support for AIC3101 audio codec
config [31mCONFIG_SND_SOC_DM365_VOICE_CODEC[0m
bool "Voice Codec - CQ93VC"
help
Say Y if you want to add support for SoC On-chip voice codec
endchoice
config [31mCONFIG_SND_SOC_DM365_VOICE_CODEC_MODULE[0m
def_tristate y
depends on [31mCONFIG_SND_SOC_DM365_VOICE_CODEC[0m && [31mCONFIG_SND_SOC[0m
select [31mCONFIG_MFD_DAVINCI_VOICECODEC[0m
select [31mCONFIG_SND_SOC_CQ0093VC[0m
help
The is an internal symbol needed to ensure that the codec
and MFD driver can be built as loadable modules if necessary.
endmenu