376 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2menu "SoC Audio for Freescale CPUs"3 4comment "Common SoC Audio options for Freescale CPUs:"5 6config SND_SOC_FSL_ASRC7 tristate "Asynchronous Sample Rate Converter (ASRC) module support"8 depends on HAS_DMA9 select REGMAP_MMIO10 select SND_SOC_GENERIC_DMAENGINE_PCM11 help12 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)13 support for the Freescale CPUs.14 This option is only useful for out-of-tree drivers since15 in-tree drivers select it automatically.16 17config SND_SOC_FSL_SAI18 tristate "Synchronous Audio Interface (SAI) module support"19 select REGMAP_MMIO20 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n21 select SND_SOC_GENERIC_DMAENGINE_PCM22 select SND_SOC_FSL_UTILS23 help24 Say Y if you want to add Synchronous Audio Interface (SAI)25 support for the Freescale CPUs.26 This option is only useful for out-of-tree drivers since27 in-tree drivers select it automatically.28 29config SND_SOC_FSL_MQS30 tristate "Medium Quality Sound (MQS) module support"31 depends on SND_SOC_FSL_SAI32 select REGMAP_MMIO33 help34 Say Y if you want to add Medium Quality Sound (MQS)35 support for the Freescale CPUs.36 This option is only useful for out-of-tree drivers since37 in-tree drivers select it automatically.38 39config SND_SOC_FSL_AUDMIX40 tristate "Audio Mixer (AUDMIX) module support"41 select REGMAP_MMIO42 help43 Say Y if you want to add Audio Mixer (AUDMIX)44 support for the NXP iMX CPUs.45 46config SND_SOC_FSL_SSI47 tristate "Synchronous Serial Interface module (SSI) support"48 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n49 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)50 select REGMAP_MMIO51 help52 Say Y if you want to add Synchronous Serial Interface (SSI)53 support for the Freescale CPUs.54 This option is only useful for out-of-tree drivers since55 in-tree drivers select it automatically.56 57config SND_SOC_FSL_SPDIF58 tristate "Sony/Philips Digital Interface (S/PDIF) module support"59 select REGMAP_MMIO60 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n61 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)62 select BITREVERSE63 select SND_SOC_FSL_UTILS64 help65 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)66 support for the Freescale CPUs.67 This option is only useful for out-of-tree drivers since68 in-tree drivers select it automatically.69 70config SND_SOC_FSL_ESAI71 tristate "Enhanced Serial Audio Interface (ESAI) module support"72 select REGMAP_MMIO73 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n74 help75 Say Y if you want to add Enhanced Synchronous Audio Interface76 (ESAI) support for the Freescale CPUs.77 This option is only useful for out-of-tree drivers since78 in-tree drivers select it automatically.79 80config SND_SOC_FSL_MICFIL81 tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"82 select REGMAP_MMIO83 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n84 select SND_SOC_GENERIC_DMAENGINE_PCM85 select SND_SOC_FSL_UTILS86 help87 Say Y if you want to add Pulse Density Modulation microphone88 interface (MICFIL) support for NXP.89 90config SND_SOC_FSL_EASRC91 tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"92 depends on SND_SOC_FSL_ASRC93 select REGMAP_MMIO94 select SND_SOC_GENERIC_DMAENGINE_PCM95 help96 Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is97 a digital module that converts audio from a source sample rate to a98 destination sample rate. It is a new design module compare with the99 old ASRC.100 101config SND_SOC_FSL_XCVR102 tristate "NXP Audio Transceiver (XCVR) module support"103 select REGMAP_MMIO104 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n105 select SND_SOC_GENERIC_DMAENGINE_PCM106 select SND_SOC_FSL_UTILS107 help108 Say Y if you want to add Audio Transceiver (XCVR) support for NXP109 iMX CPUs. XCVR is a digital module that supports HDMI2.1 eARC,110 HDMI1.4 ARC and SPDIF.111 112config SND_SOC_FSL_AUD2HTX113 tristate "AUDIO TO HDMI TX module support"114 depends on ARCH_MXC || COMPILE_TEST115 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n116 help117 Say Y if you want to add AUDIO TO HDMI TX support for NXP.118 119config SND_SOC_FSL_UTILS120 tristate121 122config SND_SOC_FSL_RPMSG123 tristate "NXP Audio Base On RPMSG support"124 depends on COMMON_CLK125 depends on OF && I2C126 depends on RPMSG127 depends on SND_IMX_SOC || SND_IMX_SOC = n128 select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n129 help130 Say Y if you want to add rpmsg audio support for the Freescale CPUs.131 This option is only useful for out-of-tree drivers since132 in-tree drivers select it automatically.133 134config SND_SOC_FSL_LPC3XXX135 tristate "SoC Audio for NXP LPC32XX CPUs"136 depends on ARCH_LPC32XX || COMPILE_TEST137 select SND_SOC_GENERIC_DMAENGINE_PCM138 help139 Say Y or M if you want to add support for the LPC3XXX I2S interface.140 141config SND_SOC_IMX_PCM_DMA142 tristate143 select SND_SOC_GENERIC_DMAENGINE_PCM144 145config SND_SOC_IMX_AUDIO_RPMSG146 tristate147 depends on RPMSG148 149config SND_SOC_IMX_PCM_RPMSG150 tristate151 depends on SND_SOC_IMX_AUDIO_RPMSG152 select SND_SOC_GENERIC_DMAENGINE_PCM153 154config SND_SOC_IMX_AUDMUX155 tristate "Digital Audio Mux module support"156 help157 Say Y if you want to add Digital Audio Mux (AUDMUX) support158 for the ARM i.MX CPUs.159 This option is only useful for out-of-tree drivers since160 in-tree drivers select it automatically.161 162config SND_POWERPC_SOC163 tristate "SoC Audio for Freescale PowerPC CPUs"164 depends on FSL_SOC || PPC_MPC52xx165 help166 Say Y or M if you want to add support for codecs attached to167 the PowerPC CPUs.168 169config SND_IMX_SOC170 tristate "SoC Audio for Freescale i.MX CPUs"171 depends on ARCH_MXC || COMPILE_TEST172 help173 Say Y or M if you want to add support for codecs attached to174 the i.MX CPUs.175 176if SND_POWERPC_SOC177 178config SND_MPC52xx_DMA179 tristate180 181config SND_SOC_POWERPC_DMA182 tristate183 184config SND_SOC_POWERPC_QMC_AUDIO185 tristate "QMC ALSA SoC support"186 depends on CPM_QMC187 help188 ALSA SoC Audio support using the Freescale QUICC Multichannel189 Controller (QMC).190 Say Y or M if you want to add support for SoC audio using Freescale191 QMC.192 193comment "SoC Audio support for Freescale PPC boards:"194 195config SND_SOC_P1022_DS196 tristate "ALSA SoC support for the Freescale P1022 DS board"197 # I2C is necessary for the WM8776 driver198 depends on P1022_DS && I2C199 select SND_SOC_FSL_SSI200 select SND_SOC_FSL_UTILS201 select SND_SOC_POWERPC_DMA202 select SND_SOC_WM8776203 default y if P1022_DS204 help205 Say Y if you want to enable audio on the Freescale P1022 DS board.206 This will also include the Wolfson Microelectronics WM8776 codec207 driver.208 209config SND_SOC_P1022_RDK210 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"211 # I2C is necessary for the WM8960 driver212 depends on P1022_RDK && I2C213 select SND_SOC_FSL_SSI214 select SND_SOC_FSL_UTILS215 select SND_SOC_POWERPC_DMA216 select SND_SOC_WM8960217 default y if P1022_RDK218 help219 Say Y if you want to enable audio on the Freescale / iVeia220 P1022 RDK board. This will also include the Wolfson221 Microelectronics WM8960 codec driver.222 223config SND_SOC_MPC5200_I2S224 tristate "Freescale MPC5200 PSC in I2S mode driver"225 depends on PPC_MPC52xx && PPC_BESTCOMM226 select SND_MPC52xx_DMA227 select PPC_BESTCOMM_GEN_BD228 help229 Say Y here to support the MPC5200 PSCs in I2S mode.230 231config SND_SOC_MPC5200_AC97232 tristate "Freescale MPC5200 PSC in AC97 mode driver"233 depends on PPC_MPC52xx && PPC_BESTCOMM234 select SND_SOC_AC97_BUS235 select SND_MPC52xx_DMA236 select PPC_BESTCOMM_GEN_BD237 help238 Say Y here to support the MPC5200 PSCs in AC97 mode.239 240config SND_MPC52xx_SOC_PCM030241 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"242 depends on PPC_MPC5200_SIMPLE243 select SND_SOC_MPC5200_AC97244 select SND_SOC_WM9712245 help246 Say Y if you want to add support for sound on the Phytec pcm030247 baseboard.248 249config SND_MPC52xx_SOC_EFIKA250 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"251 depends on PPC_EFIKA252 select SND_SOC_MPC5200_AC97253 select SND_SOC_STAC9766254 help255 Say Y if you want to add support for sound on the Efika.256 257endif # SND_POWERPC_SOC258 259config SND_SOC_IMX_PCM_FIQ260 tristate261 default y if (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)262 select FIQ263 264if SND_IMX_SOC265 266comment "SoC Audio support for Freescale i.MX boards:"267 268config SND_SOC_EUKREA_TLV320269 tristate "Eukrea TLV320"270 depends on ARCH_MXC && !ARM64 && I2C271 select SND_SOC_TLV320AIC23_I2C272 select SND_SOC_IMX_AUDMUX273 select SND_SOC_FSL_SSI274 select SND_SOC_IMX_PCM_DMA275 help276 Enable I2S based access to the TLV320AIC23B codec attached277 to the SSI interface278 279config SND_SOC_IMX_ES8328280 tristate "SoC Audio support for i.MX boards with the ES8328 codec"281 depends on OF && (I2C || SPI)282 select SND_SOC_ES8328_I2C if I2C283 select SND_SOC_ES8328_SPI if SPI_MASTER284 select SND_SOC_IMX_PCM_DMA285 select SND_SOC_IMX_AUDMUX286 select SND_SOC_FSL_SSI287 help288 Say Y if you want to add support for the ES8328 audio codec connected289 via SSI/I2S over either SPI or I2C.290 291config SND_SOC_IMX_SGTL5000292 tristate "SoC Audio support for i.MX boards with sgtl5000"293 depends on OF && I2C294 select SND_SOC_SGTL5000295 select SND_SOC_IMX_PCM_DMA296 select SND_SOC_IMX_AUDMUX297 select SND_SOC_FSL_SSI298 help299 Say Y if you want to add support for SoC audio on an i.MX board with300 a sgtl5000 codec.301 302 Note that this is an old driver. Consider enabling303 SND_SOC_FSL_ASOC_CARD and SND_SOC_SGTL5000 to use the newer304 driver.305 306config SND_SOC_FSL_ASOC_CARD307 tristate "Generic ASoC Sound Card with ASRC support"308 depends on OF && I2C309 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:310 depends on SND_AC97_CODEC || SND_AC97_CODEC=n311 select SND_SIMPLE_CARD_UTILS312 select SND_SOC_IMX_AUDMUX313 select SND_SOC_IMX_PCM_DMA314 select SND_SOC_FSL_ESAI315 select SND_SOC_FSL_SAI316 select SND_SOC_FSL_SSI317 select SND_SOC_FSL_SPDIF318 select SND_SOC_TLV320AIC31XX319 select SND_SOC_WM8994320 select MFD_WM8994321 help322 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have323 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,324 CS4271, CS4272, SGTL5000 and TLV320AIC32x4.325 Say Y if you want to add support for Freescale Generic ASoC Sound Card.326 327config SND_SOC_IMX_AUDMIX328 tristate "SoC Audio support for i.MX boards with AUDMIX"329 select SND_SOC_FSL_AUDMIX330 select SND_SOC_FSL_SAI331 help332 SoC Audio support for i.MX boards with Audio Mixer333 Say Y if you want to add support for SoC audio on an i.MX board with334 an Audio Mixer.335 336config SND_SOC_IMX_HDMI337 tristate "SoC Audio support for i.MX boards with HDMI port"338 select SND_SOC_FSL_SAI339 select SND_SOC_FSL_AUD2HTX340 select SND_SOC_HDMI_CODEC341 help342 ALSA SoC Audio support with HDMI feature for Freescale SoCs that have343 SAI/AUD2HTX and connect with internal HDMI IP or external module344 SII902X.345 Say Y if you want to add support for SoC audio on an i.MX board with346 IMX HDMI.347 348config SND_SOC_IMX_RPMSG349 tristate "SoC Audio support for i.MX boards with rpmsg"350 depends on RPMSG351 depends on OF && I2C352 select SND_SOC_IMX_PCM_RPMSG353 select SND_SOC_IMX_AUDIO_RPMSG354 help355 SoC Audio support for i.MX boards with rpmsg.356 There should be rpmsg devices defined in other core (M core)357 Say Y if you want to add support for SoC audio on an i.MX board with358 a rpmsg devices.359 360config SND_SOC_IMX_CARD361 tristate "SoC Audio Graph Sound Card support for i.MX boards"362 depends on OF && I2C363 select SND_SOC_AK4458364 select SND_SOC_AK5558365 select SND_SOC_IMX_PCM_DMA366 select SND_SOC_FSL_SAI367 select SND_SIMPLE_CARD_UTILS368 help369 This option enables audio sound card support for i.MX boards370 with OF-graph DT bindings.371 It also support DPCM of single CPU multi Codec ststem.372 373endif # SND_IMX_SOC374 375endmenu376