Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

menu "SoC Audio for Freescale CPUs"

comment "Common SoC Audio options for Freescale CPUs:"

config CONFIG_SND_SOC_FSL_ASRC
	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
	depends on CONFIG_HAS_DMA
	select CONFIG_REGMAP_MMIO
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
	help
	  Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_SOC_FSL_SAI
	tristate "Synchronous Audio Interface (SAI) module support"
	select CONFIG_REGMAP_MMIO
	select CONFIG_SND_SOC_IMX_PCM_DMA if CONFIG_SND_IMX_SOC != n
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM
	help
	  Say Y if you want to add Synchronous Audio Interface (SAI)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_SOC_FSL_SSI
	tristate "Synchronous Serial Interface module (SSI) support"
	select CONFIG_SND_SOC_IMX_PCM_DMA if CONFIG_SND_IMX_SOC != n
	select CONFIG_SND_SOC_IMX_PCM_FIQ if CONFIG_SND_IMX_SOC != n && (CONFIG_MXC_TZIC || CONFIG_MXC_AVIC)
	select CONFIG_REGMAP_MMIO
	help
	  Say Y if you want to add Synchronous Serial Interface (SSI)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_SOC_FSL_SPDIF
	tristate "Sony/Philips Digital Interface (S/PDIF) module support"
	select CONFIG_REGMAP_MMIO
	select CONFIG_SND_SOC_IMX_PCM_DMA if CONFIG_SND_IMX_SOC != n
	select CONFIG_SND_SOC_IMX_PCM_FIQ if CONFIG_SND_IMX_SOC != n && (CONFIG_MXC_TZIC || CONFIG_MXC_AVIC)
	select CONFIG_BITREVERSE
	help
	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_SOC_FSL_ESAI
	tristate "Enhanced Serial Audio Interface (ESAI) module support"
	select CONFIG_REGMAP_MMIO
	select CONFIG_SND_SOC_IMX_PCM_DMA if CONFIG_SND_IMX_SOC != n
	help
	  Say Y if you want to add Enhanced Synchronous Audio Interface
	  (ESAI) support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_SOC_FSL_UTILS
	tristate

config CONFIG_SND_SOC_IMX_PCM_DMA
	tristate
	select CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM

config CONFIG_SND_SOC_IMX_AUDMUX
	tristate "Digital Audio Mux module support"
	help
	  Say Y if you want to add Digital Audio Mux (AUDMUX) support
	  for the CONFIG_ARM i.MX CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

config CONFIG_SND_POWERPC_SOC
	tristate "SoC Audio for Freescale PowerPC CPUs"
	depends on CONFIG_FSL_SOC || CONFIG_PPC_MPC52xx
	help
	  Say Y or CONFIG_M if you want to add support for codecs attached to
	  the PowerPC CPUs.

config CONFIG_SND_IMX_SOC
	tristate "SoC Audio for Freescale i.MX CPUs"
	depends on CONFIG_ARCH_MXC || CONFIG_COMPILE_TEST
	help
	  Say Y or CONFIG_M if you want to add support for codecs attached to
	  the i.MX CPUs.

if CONFIG_SND_POWERPC_SOC

config CONFIG_SND_MPC52xx_DMA
	tristate

config CONFIG_SND_SOC_POWERPC_DMA
	tristate

comment "SoC Audio support for Freescale PPC boards:"

config CONFIG_SND_SOC_MPC8610_HPCD
	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
	# CONFIG_I2C is necessary for the CS4270 driver
	depends on CONFIG_MPC8610_HPCD && CONFIG_I2C
	select CONFIG_SND_SOC_FSL_SSI
	select CONFIG_SND_SOC_FSL_UTILS
	select CONFIG_SND_SOC_POWERPC_DMA
	select CONFIG_SND_SOC_CS4270
	select CONFIG_SND_SOC_CS4270_VD33_ERRATA
	default y if CONFIG_MPC8610_HPCD
	help
	  Say Y if you want to enable audio on the Freescale CONFIG_MPC8610 HPCD.

config CONFIG_SND_SOC_P1022_DS
	tristate "ALSA SoC support for the Freescale P1022 DS board"
	# CONFIG_I2C is necessary for the WM8776 driver
	depends on CONFIG_P1022_DS && CONFIG_I2C
	select CONFIG_SND_SOC_FSL_SSI
	select CONFIG_SND_SOC_FSL_UTILS
	select CONFIG_SND_SOC_POWERPC_DMA
	select CONFIG_SND_SOC_WM8776
	default y if CONFIG_P1022_DS
	help
	  Say Y if you want to enable audio on the Freescale P1022 DS board.
	  This will also include the Wolfson Microelectronics WM8776 codec
	  driver.

config CONFIG_SND_SOC_P1022_RDK
	tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
	# CONFIG_I2C is necessary for the WM8960 driver
	depends on CONFIG_P1022_RDK && CONFIG_I2C
	select CONFIG_SND_SOC_FSL_SSI
	select CONFIG_SND_SOC_FSL_UTILS
	select CONFIG_SND_SOC_POWERPC_DMA
	select CONFIG_SND_SOC_WM8960
	default y if CONFIG_P1022_RDK
	help
	  Say Y if you want to enable audio on the Freescale / iVeia
	  P1022 RDK board.  This will also include the Wolfson
	  Microelectronics WM8960 codec driver.

config CONFIG_SND_SOC_MPC5200_I2S
	tristate "Freescale MPC5200 PSC in I2S mode driver"
	depends on CONFIG_PPC_MPC52xx && CONFIG_PPC_BESTCOMM
	select CONFIG_SND_MPC52xx_DMA
	select CONFIG_PPC_BESTCOMM_GEN_BD
	help
	  Say Y here to support the MPC5200 PSCs in I2S mode.

config CONFIG_SND_SOC_MPC5200_AC97
	tristate "Freescale MPC5200 PSC in AC97 mode driver"
	depends on CONFIG_PPC_MPC52xx && CONFIG_PPC_BESTCOMM
	select CONFIG_SND_SOC_AC97_BUS
	select CONFIG_SND_MPC52xx_DMA
	select CONFIG_PPC_BESTCOMM_GEN_BD
	help
	  Say Y here to support the MPC5200 PSCs in AC97 mode.

config CONFIG_SND_MPC52xx_SOC_PCM030
	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
	depends on CONFIG_PPC_MPC5200_SIMPLE
	select CONFIG_SND_SOC_MPC5200_AC97
	select CONFIG_SND_SOC_WM9712
	help
	  Say Y if you want to add support for sound on the Phytec pcm030
	  baseboard.

config CONFIG_SND_MPC52xx_SOC_EFIKA
	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
	depends on CONFIG_PPC_EFIKA
	select CONFIG_SND_SOC_MPC5200_AC97
	select CONFIG_SND_SOC_STAC9766
	help
	  Say Y if you want to add support for sound on the Efika.

endif # CONFIG_SND_POWERPC_SOC

if CONFIG_SND_IMX_SOC

config CONFIG_SND_SOC_IMX_SSI
	tristate
	select CONFIG_SND_SOC_FSL_UTILS

config CONFIG_SND_SOC_IMX_PCM_FIQ
	tristate
	select CONFIG_FIQ

comment "SoC Audio support for Freescale i.MX boards:"

config CONFIG_SND_MXC_SOC_WM1133_EV1
	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
	depends on CONFIG_MACH_MX31ADS_WM1133_EV1
	select CONFIG_SND_SOC_WM8350
	select CONFIG_SND_SOC_IMX_PCM_FIQ
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_IMX_SSI
	help
	  Enable support for audio on the i.MX31ADS with the WM1133-EV1
	  PMIC board with WM8835x fitted.

config CONFIG_SND_SOC_MX27VIS_AIC32X4
	tristate "SoC audio support for Visstrim M10 boards"
	depends on CONFIG_MACH_IMX27_VISSTRIM_M10 && CONFIG_I2C
	select CONFIG_SND_SOC_TLV320AIC32X4
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_IMX_SSI
	help
	  Say Y if you want to add support for SoC audio on Visstrim SM10
	  board with TLV320AIC32X4 codec.

config CONFIG_SND_SOC_PHYCORE_AC97
	tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
	depends on CONFIG_MACH_PCM043 || CONFIG_MACH_PCA100
	select CONFIG_SND_SOC_AC97_BUS
	select CONFIG_SND_SOC_WM9712
	select CONFIG_SND_SOC_IMX_PCM_FIQ
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_IMX_SSI
	help
	  Say Y if you want to add support for SoC audio on Phytec phyCORE
	  and phyCARD boards in AC97 mode

config CONFIG_SND_SOC_EUKREA_TLV320
	tristate "Eukrea TLV320"
	depends on CONFIG_ARCH_MXC && CONFIG_I2C
	select CONFIG_SND_SOC_TLV320AIC23_I2C
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_IMX_SSI
	select CONFIG_SND_SOC_FSL_SSI
	select CONFIG_SND_SOC_IMX_PCM_DMA
	help
	  Enable I2S based access to the TLV320AIC23B codec attached
	  to the SSI interface

config CONFIG_SND_SOC_IMX_WM8962
	tristate "SoC Audio support for i.MX boards with wm8962"
	depends on CONFIG_OF && CONFIG_I2C && CONFIG_INPUT
	select CONFIG_SND_SOC_WM8962
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a wm8962 codec.

config CONFIG_SND_SOC_IMX_ES8328
	tristate "SoC Audio support for i.MX boards with the ES8328 codec"
	depends on CONFIG_OF && (CONFIG_I2C || CONFIG_SPI)
	select CONFIG_SND_SOC_ES8328_I2C if CONFIG_I2C
	select CONFIG_SND_SOC_ES8328_SPI if CONFIG_SPI_MASTER
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for the ES8328 audio codec connected
	  via SSI/I2S over either CONFIG_SPI or CONFIG_I2C.

config CONFIG_SND_SOC_IMX_SGTL5000
	tristate "SoC Audio support for i.MX boards with sgtl5000"
	depends on CONFIG_OF && CONFIG_I2C
	select CONFIG_SND_SOC_SGTL5000
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a sgtl5000 codec.

config CONFIG_SND_SOC_IMX_SPDIF
	tristate "SoC Audio support for i.MX boards with S/PDIF"
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_FSL_SPDIF
	help
	  SoC Audio support for i.MX boards with S/PDIF
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a S/DPDIF.

config CONFIG_SND_SOC_IMX_MC13783
	tristate "SoC Audio support for I.MX boards with mc13783"
	depends on CONFIG_MFD_MC13XXX && CONFIG_ARM
	select CONFIG_SND_SOC_IMX_SSI
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_MC13783
	select CONFIG_SND_SOC_IMX_PCM_DMA

config CONFIG_SND_SOC_FSL_ASOC_CARD
	tristate "Generic ASoC Sound Card with ASRC support"
	depends on CONFIG_OF && CONFIG_I2C
	# enforce CONFIG_SND_SOC_FSL_ASOC_CARD=m if CONFIG_SND_AC97_CODEC=m:
	depends on CONFIG_SND_AC97_CODEC || CONFIG_SND_AC97_CODEC=n
	select CONFIG_SND_SOC_IMX_AUDMUX
	select CONFIG_SND_SOC_IMX_PCM_DMA
	select CONFIG_SND_SOC_FSL_ESAI
	select CONFIG_SND_SOC_FSL_SAI
	select CONFIG_SND_SOC_FSL_SSI
	help
	 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
	 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
	 CS4271, CS4272 and SGTL5000.
	 Say Y if you want to add support for Freescale Generic ASoC Sound Card.

endif # CONFIG_SND_IMX_SOC

endmenu