1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Audio support for Texas Instruments SoCs 2 menu "Audio support for Texas Instruments SoCs" 3 depends on DMA_OMAP || TI_EDMA || TI_K3_UDMA | 3 depends on DMA_OMAP || TI_EDMA || TI_K3_UDMA || COMPILE_TEST 4 4 5 config SND_SOC_TI_EDMA_PCM 5 config SND_SOC_TI_EDMA_PCM 6 tristate 6 tristate 7 select SND_SOC_GENERIC_DMAENGINE_PCM 7 select SND_SOC_GENERIC_DMAENGINE_PCM 8 8 9 config SND_SOC_TI_SDMA_PCM 9 config SND_SOC_TI_SDMA_PCM 10 tristate 10 tristate 11 select SND_SOC_GENERIC_DMAENGINE_PCM 11 select SND_SOC_GENERIC_DMAENGINE_PCM 12 12 13 config SND_SOC_TI_UDMA_PCM 13 config SND_SOC_TI_UDMA_PCM 14 tristate 14 tristate 15 select SND_SOC_GENERIC_DMAENGINE_PCM 15 select SND_SOC_GENERIC_DMAENGINE_PCM 16 16 17 comment "Texas Instruments DAI support for:" 17 comment "Texas Instruments DAI support for:" 18 config SND_SOC_DAVINCI_ASP 18 config SND_SOC_DAVINCI_ASP 19 tristate "daVinci Audio Serial Port (A 19 tristate "daVinci Audio Serial Port (ASP) or McBSP support" 20 depends on ARCH_DAVINCI || COMPILE_TES 20 depends on ARCH_DAVINCI || COMPILE_TEST 21 select SND_SOC_TI_EDMA_PCM 21 select SND_SOC_TI_EDMA_PCM 22 help 22 help 23 Say Y or M here if you want audio su 23 Say Y or M here if you want audio support via daVinci ASP or McBSP. 24 The driver only implements the ASP s 24 The driver only implements the ASP support which is a subset of 25 daVinci McBSP (w/o the multichannel 25 daVinci McBSP (w/o the multichannel support). 26 26 27 config SND_SOC_DAVINCI_MCASP 27 config SND_SOC_DAVINCI_MCASP 28 tristate "Multichannel Audio Serial Po 28 tristate "Multichannel Audio Serial Port (McASP) support" 29 depends on COMMON_CLK 29 depends on COMMON_CLK 30 select SND_SOC_TI_EDMA_PCM 30 select SND_SOC_TI_EDMA_PCM 31 select SND_SOC_TI_SDMA_PCM 31 select SND_SOC_TI_SDMA_PCM 32 select SND_SOC_TI_UDMA_PCM 32 select SND_SOC_TI_UDMA_PCM 33 help 33 help 34 Say Y or M here if you want to have 34 Say Y or M here if you want to have support for McASP IP found in 35 various Texas Instruments SoCs like: 35 various Texas Instruments SoCs like: 36 - daVinci devices 36 - daVinci devices 37 - Sitara line of SoCs (AM335x, AM438 37 - Sitara line of SoCs (AM335x, AM438x, etc) 38 - OMAP4 << 39 - DRA7x devices 38 - DRA7x devices 40 - Keystone devices 39 - Keystone devices 41 - K3 devices (am654, j721e) 40 - K3 devices (am654, j721e) 42 41 >> 42 config SND_SOC_DAVINCI_VCIF >> 43 tristate "daVinci Voice Interface (VCIF) support" >> 44 depends on ARCH_DAVINCI || COMPILE_TEST >> 45 select SND_SOC_TI_EDMA_PCM >> 46 help >> 47 Say Y or M here if you want audio support via daVinci VCIF. >> 48 43 config SND_SOC_OMAP_DMIC 49 config SND_SOC_OMAP_DMIC 44 tristate "Digital Microphone Module (D 50 tristate "Digital Microphone Module (DMIC) support" 45 depends on ARCH_OMAP4 || SOC_OMAP5 || 51 depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST && COMMON_CLK 46 select SND_SOC_TI_SDMA_PCM 52 select SND_SOC_TI_SDMA_PCM 47 help 53 help 48 Say Y or M here if you want to have 54 Say Y or M here if you want to have support for DMIC IP found in 49 OMAP4 and OMAP5. 55 OMAP4 and OMAP5. 50 56 51 config SND_SOC_OMAP_MCBSP 57 config SND_SOC_OMAP_MCBSP 52 tristate "Multichannel Buffered Serial 58 tristate "Multichannel Buffered Serial Port (McBSP) support" 53 depends on ARCH_OMAP || ARCH_OMAP1 || 59 depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST && COMMON_CLK 54 select SND_SOC_TI_SDMA_PCM 60 select SND_SOC_TI_SDMA_PCM 55 help 61 help 56 Say Y or M here if you want to have 62 Say Y or M here if you want to have support for McBSP IP found in 57 Texas Instruments OMAP1/2/3/4/5 SoCs 63 Texas Instruments OMAP1/2/3/4/5 SoCs. 58 64 59 config SND_SOC_OMAP_MCPDM 65 config SND_SOC_OMAP_MCPDM 60 tristate "Multichannel PDM Controller 66 tristate "Multichannel PDM Controller (McPDM) support" 61 depends on ARCH_OMAP4 || SOC_OMAP5 || 67 depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST 62 select SND_SOC_TI_SDMA_PCM 68 select SND_SOC_TI_SDMA_PCM 63 help 69 help 64 Say Y or M here if you want to have 70 Say Y or M here if you want to have support for McPDM IP found in 65 OMAP4 and OMAP5. 71 OMAP4 and OMAP5. 66 72 67 comment "Audio support for boards with Texas I 73 comment "Audio support for boards with Texas Instruments SoCs" 68 config SND_SOC_NOKIA_N810 74 config SND_SOC_NOKIA_N810 69 tristate "SoC Audio support for Nokia 75 tristate "SoC Audio support for Nokia N810" 70 depends on MACH_NOKIA_N810 && I2C 76 depends on MACH_NOKIA_N810 && I2C 71 select SND_SOC_OMAP_MCBSP 77 select SND_SOC_OMAP_MCBSP 72 select SND_SOC_TLV320AIC3X 78 select SND_SOC_TLV320AIC3X 73 help 79 help 74 Say Y or M if you want to add suppor 80 Say Y or M if you want to add support for SoC audio on Nokia N810. 75 81 76 config SND_SOC_NOKIA_RX51 82 config SND_SOC_NOKIA_RX51 77 tristate "SoC Audio support for Nokia 83 tristate "SoC Audio support for Nokia RX-51" 78 depends on ARCH_OMAP3 && I2C && GPIOLI 84 depends on ARCH_OMAP3 && I2C && GPIOLIB 79 select SND_SOC_OMAP_MCBSP 85 select SND_SOC_OMAP_MCBSP 80 select SND_SOC_TLV320AIC3X 86 select SND_SOC_TLV320AIC3X 81 select SND_SOC_TPA6130A2 87 select SND_SOC_TPA6130A2 82 help 88 help 83 Say Y or M if you want to add suppor 89 Say Y or M if you want to add support for SoC audio on Nokia RX-51 84 hardware. This is also known as Noki 90 hardware. This is also known as Nokia N900 product. 85 91 86 config SND_SOC_OMAP3_PANDORA 92 config SND_SOC_OMAP3_PANDORA 87 tristate "SoC Audio support for OMAP3 93 tristate "SoC Audio support for OMAP3 Pandora" 88 depends on ARCH_OMAP3 94 depends on ARCH_OMAP3 89 depends on TWL4030_CORE 95 depends on TWL4030_CORE 90 select SND_SOC_OMAP_MCBSP 96 select SND_SOC_OMAP_MCBSP 91 select SND_SOC_TWL4030 97 select SND_SOC_TWL4030 92 help 98 help 93 Say Y or M if you want to add suppor 99 Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora. 94 100 95 config SND_SOC_OMAP3_TWL4030 101 config SND_SOC_OMAP3_TWL4030 96 tristate "SoC Audio support for OMAP3 102 tristate "SoC Audio support for OMAP3 based boards with twl4030 codec" 97 depends on ARCH_OMAP3 || COMPILE_TEST 103 depends on ARCH_OMAP3 || COMPILE_TEST && COMMON_CLK 98 depends on TWL4030_CORE 104 depends on TWL4030_CORE 99 select SND_SOC_OMAP_MCBSP 105 select SND_SOC_OMAP_MCBSP 100 select SND_SOC_TWL4030 106 select SND_SOC_TWL4030 101 help 107 help 102 Say Y or M if you want to add suppor 108 Say Y or M if you want to add support for SoC audio on OMAP3 based 103 boards using twl4030 as codec. This 109 boards using twl4030 as codec. This driver currently supports: 104 - Beagleboard or Devkit8000 110 - Beagleboard or Devkit8000 105 - Gumstix Overo or CompuLab CM-T35/C 111 - Gumstix Overo or CompuLab CM-T35/CM-T3730 106 - IGEP v2 112 - IGEP v2 107 - OMAP3EVM 113 - OMAP3EVM 108 - SDP3430 114 - SDP3430 109 - Zoom2 115 - Zoom2 110 116 111 config SND_SOC_OMAP_ABE_TWL6040 117 config SND_SOC_OMAP_ABE_TWL6040 112 tristate "SoC Audio support for OMAP b 118 tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec" 113 depends on TWL6040_CORE && COMMON_CLK 119 depends on TWL6040_CORE && COMMON_CLK 114 depends on ARCH_OMAP4 || (SOC_OMAP5 && 120 depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST 115 select SND_SOC_OMAP_DMIC 121 select SND_SOC_OMAP_DMIC 116 select SND_SOC_OMAP_MCPDM 122 select SND_SOC_OMAP_MCPDM 117 select SND_SOC_TWL6040 123 select SND_SOC_TWL6040 118 help 124 help 119 Say Y or M if you want to add suppor 125 Say Y or M if you want to add support for SoC audio on OMAP boards 120 using ABE and twl6040 codec. This dr 126 using ABE and twl6040 codec. This driver currently supports: 121 - SDP4430/Blaze boards 127 - SDP4430/Blaze boards 122 - PandaBoard (4430) 128 - PandaBoard (4430) 123 - PandaBoardES (4460) 129 - PandaBoardES (4460) 124 - OMAP5 uEVM 130 - OMAP5 uEVM 125 131 126 config SND_SOC_OMAP_AMS_DELTA 132 config SND_SOC_OMAP_AMS_DELTA 127 tristate "SoC Audio support for Amstra 133 tristate "SoC Audio support for Amstrad E3 (Delta) videophone" 128 depends on MACH_AMS_DELTA || COMPILE_T !! 134 depends on MACH_AMS_DELTA && TTY 129 depends on TTY !! 135 select SND_SOC_OMAP_MCBSP 130 select SND_SOC_OMAP_MCBSP if COMMON_CL << 131 select SND_SOC_CX20442 136 select SND_SOC_CX20442 132 help 137 help 133 Say Y or M if you want to add suppo 138 Say Y or M if you want to add support for SoC audio device 134 connected to a handset and a speaker 139 connected to a handset and a speakerphone found on Amstrad E3 (Delta) 135 videophone. 140 videophone. 136 141 137 Note that in order to get those devi 142 Note that in order to get those devices fully supported, you have to 138 build the kernel with standard s 143 build the kernel with standard serial port driver included and 139 configured for at least 4 ports. Th 144 configured for at least 4 ports. Then, from userspace, you must load 140 a line discipline #19 on the modem ( 145 a line discipline #19 on the modem (ttyS3) serial line. The simplest 141 way to achieve this is to install ut 146 way to achieve this is to install util-linux-ng and use the included 142 ldattach utility. This can be st 147 ldattach utility. This can be started automatically from udev, 143 a simple rule like this one should d 148 a simple rule like this one should do the trick (it does for me): 144 ACTION=="add", KERNEL=="contro 149 ACTION=="add", KERNEL=="controlC0", \ 145 RUN+="/usr/sbi 150 RUN+="/usr/sbin/ldattach 19 /dev/ttyS3" 146 151 147 config SND_SOC_OMAP_HDMI 152 config SND_SOC_OMAP_HDMI 148 tristate "OMAP4/5 HDMI audio support" 153 tristate "OMAP4/5 HDMI audio support" 149 depends on OMAP4_DSS_HDMI || OMAP5_DSS 154 depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST 150 select SND_SOC_TI_SDMA_PCM 155 select SND_SOC_TI_SDMA_PCM 151 help 156 help 152 For HDMI audio to work OMAPDSS HDMI 157 For HDMI audio to work OMAPDSS HDMI support should be 153 enabled. 158 enabled. 154 The hdmi audio driver implements cpu 159 The hdmi audio driver implements cpu-dai component using the 155 callbacks provided by OMAPDSS and re 160 callbacks provided by OMAPDSS and registers the component 156 under DSS HDMI device. Omap-pcm is r 161 under DSS HDMI device. Omap-pcm is registered for platform 157 component also under DSS HDMI device 162 component also under DSS HDMI device. Dummy codec is used as 158 as codec component. The hdmi audio d 163 as codec component. The hdmi audio driver implements also 159 the card and registers it under its 164 the card and registers it under its own platform device. 160 The device for the driver is registe 165 The device for the driver is registered by OMAPDSS hdmi 161 driver. 166 driver. 162 167 163 config SND_SOC_OMAP_OSK5912 168 config SND_SOC_OMAP_OSK5912 164 tristate "SoC Audio support for omap o 169 tristate "SoC Audio support for omap osk5912" 165 depends on MACH_OMAP_OSK && I2C 170 depends on MACH_OMAP_OSK && I2C 166 select SND_SOC_OMAP_MCBSP 171 select SND_SOC_OMAP_MCBSP 167 select SND_SOC_TLV320AIC23_I2C 172 select SND_SOC_TLV320AIC23_I2C 168 help 173 help 169 Say Y or M if you want to add suppor 174 Say Y or M if you want to add support for SoC audio on osk5912. 170 175 171 config SND_SOC_DAVINCI_EVM 176 config SND_SOC_DAVINCI_EVM 172 tristate "SoC Audio support for DaVinc 177 tristate "SoC Audio support for DaVinci EVMs" 173 depends on ARCH_DAVINCI && I2C 178 depends on ARCH_DAVINCI && I2C >> 179 select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_DM355_EVM >> 180 select SND_SOC_DAVINCI_ASP if SND_SOC_DM365_AIC3X_CODEC >> 181 select SND_SOC_DAVINCI_VCIF if SND_SOC_DM365_VOICE_CODEC >> 182 select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_EVM # DM6446 >> 183 select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DM6467_EVM >> 184 select SND_SOC_SPDIF if MACH_DAVINCI_DM6467_EVM >> 185 select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA830_EVM >> 186 select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA850_EVM 174 select SND_SOC_TLV320AIC3X 187 select SND_SOC_TLV320AIC3X 175 help 188 help 176 Say Y if you want to add support for 189 Say Y if you want to add support for SoC audio on the following TI 177 DaVinci EVM platforms: 190 DaVinci EVM platforms: 178 - DM355 191 - DM355 179 - DM365 192 - DM365 180 - DM6446 193 - DM6446 181 - DM6447 194 - DM6447 182 - DM830 195 - DM830 183 - DM850 196 - DM850 >> 197 >> 198 choice >> 199 prompt "DM365 codec select" >> 200 depends on SND_SOC_DAVINCI_EVM >> 201 depends on MACH_DAVINCI_DM365_EVM >> 202 >> 203 config SND_SOC_DM365_AIC3X_CODEC >> 204 bool "Audio Codec - AIC3101" >> 205 help >> 206 Say Y if you want to add support for AIC3101 audio codec >> 207 >> 208 config SND_SOC_DM365_VOICE_CODEC >> 209 bool "Voice Codec - CQ93VC" >> 210 help >> 211 Say Y if you want to add support for SoC On-chip voice codec >> 212 endchoice >> 213 >> 214 config SND_SOC_DM365_VOICE_CODEC_MODULE >> 215 def_tristate y >> 216 depends on SND_SOC_DM365_VOICE_CODEC && SND_SOC >> 217 select MFD_DAVINCI_VOICECODEC >> 218 select SND_SOC_CQ0093VC >> 219 help >> 220 The is an internal symbol needed to ensure that the codec >> 221 and MFD driver can be built as loadable modules if necessary. 184 222 185 config SND_SOC_J721E_EVM 223 config SND_SOC_J721E_EVM 186 tristate "SoC Audio support for j721e 224 tristate "SoC Audio support for j721e EVM" 187 depends on ARCH_K3 || COMPILE_TEST && 225 depends on ARCH_K3 || COMPILE_TEST && COMMON_CLK 188 depends on I2C 226 depends on I2C 189 select SND_SOC_PCM3168A_I2C 227 select SND_SOC_PCM3168A_I2C 190 select SND_SOC_DAVINCI_MCASP 228 select SND_SOC_DAVINCI_MCASP 191 help 229 help 192 Say Y if you want to add support for 230 Say Y if you want to add support for SoC audio on j721e Common 193 Processor Board and Infotainment exp 231 Processor Board and Infotainment expansion board. 194 endmenu 232 endmenu 195 233
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.