196 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "Audio support for Texas Instruments SoCs"3depends on DMA_OMAP || TI_EDMA || TI_K3_UDMA || COMPILE_TEST4 5config SND_SOC_TI_EDMA_PCM6 tristate7 select SND_SOC_GENERIC_DMAENGINE_PCM8 9config SND_SOC_TI_SDMA_PCM10 tristate11 select SND_SOC_GENERIC_DMAENGINE_PCM12 13config SND_SOC_TI_UDMA_PCM14 tristate15 select SND_SOC_GENERIC_DMAENGINE_PCM16 17comment "Texas Instruments DAI support for:"18config SND_SOC_DAVINCI_ASP19 tristate "daVinci Audio Serial Port (ASP) or McBSP support"20 depends on ARCH_DAVINCI || COMPILE_TEST21 select SND_SOC_TI_EDMA_PCM22 help23 Say Y or M here if you want audio support via daVinci ASP or McBSP.24 The driver only implements the ASP support which is a subset of25 daVinci McBSP (w/o the multichannel support).26 27config SND_SOC_DAVINCI_MCASP28 tristate "Multichannel Audio Serial Port (McASP) support"29 depends on COMMON_CLK30 select SND_SOC_TI_EDMA_PCM31 select SND_SOC_TI_SDMA_PCM32 select SND_SOC_TI_UDMA_PCM33 help34 Say Y or M here if you want to have support for McASP IP found in35 various Texas Instruments SoCs like:36 - daVinci devices37 - Sitara line of SoCs (AM335x, AM438x, etc)38 - OMAP439 - DRA7x devices40 - Keystone devices41 - K3 devices (am654, j721e)42 43config SND_SOC_OMAP_DMIC44 tristate "Digital Microphone Module (DMIC) support"45 depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST && COMMON_CLK46 select SND_SOC_TI_SDMA_PCM47 help48 Say Y or M here if you want to have support for DMIC IP found in49 OMAP4 and OMAP5.50 51config SND_SOC_OMAP_MCBSP52 tristate "Multichannel Buffered Serial Port (McBSP) support"53 depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST && COMMON_CLK54 select SND_SOC_TI_SDMA_PCM55 help56 Say Y or M here if you want to have support for McBSP IP found in57 Texas Instruments OMAP1/2/3/4/5 SoCs.58 59config SND_SOC_OMAP_MCPDM60 tristate "Multichannel PDM Controller (McPDM) support"61 depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST62 select SND_SOC_TI_SDMA_PCM63 help64 Say Y or M here if you want to have support for McPDM IP found in65 OMAP4 and OMAP5.66 67comment "Audio support for boards with Texas Instruments SoCs"68config SND_SOC_NOKIA_N81069 tristate "SoC Audio support for Nokia N810"70 depends on MACH_NOKIA_N810 && I2C71 select SND_SOC_OMAP_MCBSP72 select SND_SOC_TLV320AIC3X73 help74 Say Y or M if you want to add support for SoC audio on Nokia N810.75 76config SND_SOC_NOKIA_RX5177 tristate "SoC Audio support for Nokia RX-51"78 depends on ARCH_OMAP3 && I2C && GPIOLIB79 select SND_SOC_OMAP_MCBSP80 select SND_SOC_TLV320AIC3X81 select SND_SOC_TPA6130A282 help83 Say Y or M if you want to add support for SoC audio on Nokia RX-5184 hardware. This is also known as Nokia N900 product.85 86config SND_SOC_OMAP3_PANDORA87 tristate "SoC Audio support for OMAP3 Pandora"88 depends on ARCH_OMAP389 depends on TWL4030_CORE90 select SND_SOC_OMAP_MCBSP91 select SND_SOC_TWL403092 help93 Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora.94 95config SND_SOC_OMAP3_TWL403096 tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"97 depends on ARCH_OMAP3 || COMPILE_TEST && COMMON_CLK98 depends on TWL4030_CORE99 select SND_SOC_OMAP_MCBSP100 select SND_SOC_TWL4030101 help102 Say Y or M if you want to add support for SoC audio on OMAP3 based103 boards using twl4030 as codec. This driver currently supports:104 - Beagleboard or Devkit8000105 - Gumstix Overo or CompuLab CM-T35/CM-T3730106 - IGEP v2107 - OMAP3EVM108 - SDP3430109 - Zoom2110 111config SND_SOC_OMAP_ABE_TWL6040112 tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"113 depends on TWL6040_CORE && COMMON_CLK114 depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST115 select SND_SOC_OMAP_DMIC116 select SND_SOC_OMAP_MCPDM117 select SND_SOC_TWL6040118 help119 Say Y or M if you want to add support for SoC audio on OMAP boards120 using ABE and twl6040 codec. This driver currently supports:121 - SDP4430/Blaze boards122 - PandaBoard (4430)123 - PandaBoardES (4460)124 - OMAP5 uEVM125 126config SND_SOC_OMAP_AMS_DELTA127 tristate "SoC Audio support for Amstrad E3 (Delta) videophone"128 depends on MACH_AMS_DELTA || COMPILE_TEST129 depends on TTY130 select SND_SOC_OMAP_MCBSP if COMMON_CLK131 select SND_SOC_CX20442132 help133 Say Y or M if you want to add support for SoC audio device134 connected to a handset and a speakerphone found on Amstrad E3 (Delta)135 videophone.136 137 Note that in order to get those devices fully supported, you have to138 build the kernel with standard serial port driver included and139 configured for at least 4 ports. Then, from userspace, you must load140 a line discipline #19 on the modem (ttyS3) serial line. The simplest141 way to achieve this is to install util-linux-ng and use the included142 ldattach utility. This can be started automatically from udev,143 a simple rule like this one should do the trick (it does for me):144 ACTION=="add", KERNEL=="controlC0", \145 RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"146 147config SND_SOC_OMAP_HDMI148 tristate "OMAP4/5 HDMI audio support"149 depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST150 select SND_SOC_TI_SDMA_PCM151 help152 For HDMI audio to work OMAPDSS HDMI support should be153 enabled.154 The hdmi audio driver implements cpu-dai component using the155 callbacks provided by OMAPDSS and registers the component156 under DSS HDMI device. Omap-pcm is registered for platform157 component also under DSS HDMI device. Dummy codec is used as158 as codec component. The hdmi audio driver implements also159 the card and registers it under its own platform device.160 The device for the driver is registered by OMAPDSS hdmi161 driver.162 163config SND_SOC_OMAP_OSK5912164 tristate "SoC Audio support for omap osk5912"165 depends on MACH_OMAP_OSK && I2C166 select SND_SOC_OMAP_MCBSP167 select SND_SOC_TLV320AIC23_I2C168 help169 Say Y or M if you want to add support for SoC audio on osk5912.170 171config SND_SOC_DAVINCI_EVM172 tristate "SoC Audio support for DaVinci EVMs"173 depends on ARCH_DAVINCI && I2C174 select SND_SOC_TLV320AIC3X175 help176 Say Y if you want to add support for SoC audio on the following TI177 DaVinci EVM platforms:178 - DM355179 - DM365180 - DM6446181 - DM6447182 - DM830183 - DM850184 185config SND_SOC_J721E_EVM186 tristate "SoC Audio support for j721e EVM"187 depends on ARCH_K3 || COMPILE_TEST && COMMON_CLK188 depends on I2C189 select SND_SOC_PCM3168A_I2C190 select SND_SOC_DAVINCI_MCASP191 help192 Say Y if you want to add support for SoC audio on j721e Common193 Processor Board and Infotainment expansion board.194endmenu195 196