xref: /kernel/linux/linux-6.6/sound/soc/fsl/Kconfig (revision 62306a36)
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_cimenu "SoC Audio for Freescale CPUs"
362306a36Sopenharmony_ci
462306a36Sopenharmony_cicomment "Common SoC Audio options for Freescale CPUs:"
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig SND_SOC_FSL_ASRC
762306a36Sopenharmony_ci	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
862306a36Sopenharmony_ci	depends on HAS_DMA
962306a36Sopenharmony_ci	select REGMAP_MMIO
1062306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
1362306a36Sopenharmony_ci	  support for the Freescale CPUs.
1462306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
1562306a36Sopenharmony_ci	  in-tree drivers select it automatically.
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciconfig SND_SOC_FSL_SAI
1862306a36Sopenharmony_ci	tristate "Synchronous Audio Interface (SAI) module support"
1962306a36Sopenharmony_ci	select REGMAP_MMIO
2062306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
2162306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
2262306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
2362306a36Sopenharmony_ci	help
2462306a36Sopenharmony_ci	  Say Y if you want to add Synchronous Audio Interface (SAI)
2562306a36Sopenharmony_ci	  support for the Freescale CPUs.
2662306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
2762306a36Sopenharmony_ci	  in-tree drivers select it automatically.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciconfig SND_SOC_FSL_MQS
3062306a36Sopenharmony_ci	tristate "Medium Quality Sound (MQS) module support"
3162306a36Sopenharmony_ci	depends on SND_SOC_FSL_SAI
3262306a36Sopenharmony_ci	select REGMAP_MMIO
3362306a36Sopenharmony_ci	help
3462306a36Sopenharmony_ci	  Say Y if you want to add Medium Quality Sound (MQS)
3562306a36Sopenharmony_ci	  support for the Freescale CPUs.
3662306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
3762306a36Sopenharmony_ci	  in-tree drivers select it automatically.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig SND_SOC_FSL_AUDMIX
4062306a36Sopenharmony_ci	tristate "Audio Mixer (AUDMIX) module support"
4162306a36Sopenharmony_ci	select REGMAP_MMIO
4262306a36Sopenharmony_ci	help
4362306a36Sopenharmony_ci	  Say Y if you want to add Audio Mixer (AUDMIX)
4462306a36Sopenharmony_ci	  support for the NXP iMX CPUs.
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ciconfig SND_SOC_FSL_SSI
4762306a36Sopenharmony_ci	tristate "Synchronous Serial Interface module (SSI) support"
4862306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
4962306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
5062306a36Sopenharmony_ci	select REGMAP_MMIO
5162306a36Sopenharmony_ci	help
5262306a36Sopenharmony_ci	  Say Y if you want to add Synchronous Serial Interface (SSI)
5362306a36Sopenharmony_ci	  support for the Freescale CPUs.
5462306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
5562306a36Sopenharmony_ci	  in-tree drivers select it automatically.
5662306a36Sopenharmony_ci
5762306a36Sopenharmony_ciconfig SND_SOC_FSL_SPDIF
5862306a36Sopenharmony_ci	tristate "Sony/Philips Digital Interface (S/PDIF) module support"
5962306a36Sopenharmony_ci	select REGMAP_MMIO
6062306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
6162306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
6262306a36Sopenharmony_ci	select BITREVERSE
6362306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
6662306a36Sopenharmony_ci	  support for the Freescale CPUs.
6762306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
6862306a36Sopenharmony_ci	  in-tree drivers select it automatically.
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciconfig SND_SOC_FSL_ESAI
7162306a36Sopenharmony_ci	tristate "Enhanced Serial Audio Interface (ESAI) module support"
7262306a36Sopenharmony_ci	select REGMAP_MMIO
7362306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
7462306a36Sopenharmony_ci	help
7562306a36Sopenharmony_ci	  Say Y if you want to add Enhanced Synchronous Audio Interface
7662306a36Sopenharmony_ci	  (ESAI) support for the Freescale CPUs.
7762306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
7862306a36Sopenharmony_ci	  in-tree drivers select it automatically.
7962306a36Sopenharmony_ci
8062306a36Sopenharmony_ciconfig SND_SOC_FSL_MICFIL
8162306a36Sopenharmony_ci	tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
8262306a36Sopenharmony_ci	select REGMAP_MMIO
8362306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
8462306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
8562306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
8662306a36Sopenharmony_ci	help
8762306a36Sopenharmony_ci	  Say Y if you want to add Pulse Density Modulation microphone
8862306a36Sopenharmony_ci	  interface (MICFIL) support for NXP.
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ciconfig SND_SOC_FSL_EASRC
9162306a36Sopenharmony_ci	tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"
9262306a36Sopenharmony_ci	depends on SND_SOC_FSL_ASRC
9362306a36Sopenharmony_ci	select REGMAP_MMIO
9462306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
9562306a36Sopenharmony_ci	help
9662306a36Sopenharmony_ci	  Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
9762306a36Sopenharmony_ci	  a digital module that converts audio from a source sample rate to a
9862306a36Sopenharmony_ci	  destination sample rate. It is a new design module compare with the
9962306a36Sopenharmony_ci	  old ASRC.
10062306a36Sopenharmony_ci
10162306a36Sopenharmony_ciconfig SND_SOC_FSL_XCVR
10262306a36Sopenharmony_ci	tristate "NXP Audio Transceiver (XCVR) module support"
10362306a36Sopenharmony_ci	select REGMAP_MMIO
10462306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
10562306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
10662306a36Sopenharmony_ci	help
10762306a36Sopenharmony_ci	  Say Y if you want to add Audio Transceiver (XCVR) support for NXP
10862306a36Sopenharmony_ci	  iMX CPUs. XCVR is a digital module that supports HDMI2.1 eARC,
10962306a36Sopenharmony_ci	  HDMI1.4 ARC and SPDIF.
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ciconfig SND_SOC_FSL_AUD2HTX
11262306a36Sopenharmony_ci	tristate "AUDIO TO HDMI TX module support"
11362306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
11462306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
11562306a36Sopenharmony_ci	help
11662306a36Sopenharmony_ci	  Say Y if you want to add AUDIO TO HDMI TX support for NXP.
11762306a36Sopenharmony_ci
11862306a36Sopenharmony_ciconfig SND_SOC_FSL_UTILS
11962306a36Sopenharmony_ci	tristate
12062306a36Sopenharmony_ci
12162306a36Sopenharmony_ciconfig SND_SOC_FSL_RPMSG
12262306a36Sopenharmony_ci	tristate "NXP Audio Base On RPMSG support"
12362306a36Sopenharmony_ci	depends on COMMON_CLK
12462306a36Sopenharmony_ci	depends on RPMSG
12562306a36Sopenharmony_ci	depends on SND_IMX_SOC || SND_IMX_SOC = n
12662306a36Sopenharmony_ci	select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n
12762306a36Sopenharmony_ci	help
12862306a36Sopenharmony_ci	  Say Y if you want to add rpmsg audio support for the Freescale CPUs.
12962306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
13062306a36Sopenharmony_ci	  in-tree drivers select it automatically.
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ciconfig SND_SOC_IMX_PCM_DMA
13362306a36Sopenharmony_ci	tristate
13462306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
13562306a36Sopenharmony_ci
13662306a36Sopenharmony_ciconfig SND_SOC_IMX_AUDIO_RPMSG
13762306a36Sopenharmony_ci	tristate
13862306a36Sopenharmony_ci	depends on RPMSG
13962306a36Sopenharmony_ci
14062306a36Sopenharmony_ciconfig SND_SOC_IMX_PCM_RPMSG
14162306a36Sopenharmony_ci	tristate
14262306a36Sopenharmony_ci	depends on SND_SOC_IMX_AUDIO_RPMSG
14362306a36Sopenharmony_ci	select SND_SOC_GENERIC_DMAENGINE_PCM
14462306a36Sopenharmony_ci
14562306a36Sopenharmony_ciconfig SND_SOC_IMX_AUDMUX
14662306a36Sopenharmony_ci	tristate "Digital Audio Mux module support"
14762306a36Sopenharmony_ci	help
14862306a36Sopenharmony_ci	  Say Y if you want to add Digital Audio Mux (AUDMUX) support
14962306a36Sopenharmony_ci	  for the ARM i.MX CPUs.
15062306a36Sopenharmony_ci	  This option is only useful for out-of-tree drivers since
15162306a36Sopenharmony_ci	  in-tree drivers select it automatically.
15262306a36Sopenharmony_ci
15362306a36Sopenharmony_ciconfig SND_POWERPC_SOC
15462306a36Sopenharmony_ci	tristate "SoC Audio for Freescale PowerPC CPUs"
15562306a36Sopenharmony_ci	depends on FSL_SOC || PPC_MPC52xx
15662306a36Sopenharmony_ci	help
15762306a36Sopenharmony_ci	  Say Y or M if you want to add support for codecs attached to
15862306a36Sopenharmony_ci	  the PowerPC CPUs.
15962306a36Sopenharmony_ci
16062306a36Sopenharmony_ciconfig SND_IMX_SOC
16162306a36Sopenharmony_ci	tristate "SoC Audio for Freescale i.MX CPUs"
16262306a36Sopenharmony_ci	depends on ARCH_MXC || COMPILE_TEST
16362306a36Sopenharmony_ci	help
16462306a36Sopenharmony_ci	  Say Y or M if you want to add support for codecs attached to
16562306a36Sopenharmony_ci	  the i.MX CPUs.
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ciif SND_POWERPC_SOC
16862306a36Sopenharmony_ci
16962306a36Sopenharmony_ciconfig SND_MPC52xx_DMA
17062306a36Sopenharmony_ci	tristate
17162306a36Sopenharmony_ci
17262306a36Sopenharmony_ciconfig SND_SOC_POWERPC_DMA
17362306a36Sopenharmony_ci	tristate
17462306a36Sopenharmony_ci
17562306a36Sopenharmony_ciconfig SND_SOC_POWERPC_QMC_AUDIO
17662306a36Sopenharmony_ci	tristate "QMC ALSA SoC support"
17762306a36Sopenharmony_ci	depends on CPM_QMC
17862306a36Sopenharmony_ci	help
17962306a36Sopenharmony_ci	  ALSA SoC Audio support using the Freescale QUICC Multichannel
18062306a36Sopenharmony_ci	  Controller (QMC).
18162306a36Sopenharmony_ci	  Say Y or M if you want to add support for SoC audio using Freescale
18262306a36Sopenharmony_ci	  QMC.
18362306a36Sopenharmony_ci
18462306a36Sopenharmony_cicomment "SoC Audio support for Freescale PPC boards:"
18562306a36Sopenharmony_ci
18662306a36Sopenharmony_ciconfig SND_SOC_MPC8610_HPCD
18762306a36Sopenharmony_ci	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
18862306a36Sopenharmony_ci	# I2C is necessary for the CS4270 driver
18962306a36Sopenharmony_ci	depends on MPC8610_HPCD && I2C
19062306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
19162306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
19262306a36Sopenharmony_ci	select SND_SOC_POWERPC_DMA
19362306a36Sopenharmony_ci	select SND_SOC_CS4270
19462306a36Sopenharmony_ci	select SND_SOC_CS4270_VD33_ERRATA
19562306a36Sopenharmony_ci	default y if MPC8610_HPCD
19662306a36Sopenharmony_ci	help
19762306a36Sopenharmony_ci	  Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
19862306a36Sopenharmony_ci
19962306a36Sopenharmony_ciconfig SND_SOC_P1022_DS
20062306a36Sopenharmony_ci	tristate "ALSA SoC support for the Freescale P1022 DS board"
20162306a36Sopenharmony_ci	# I2C is necessary for the WM8776 driver
20262306a36Sopenharmony_ci	depends on P1022_DS && I2C
20362306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
20462306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
20562306a36Sopenharmony_ci	select SND_SOC_POWERPC_DMA
20662306a36Sopenharmony_ci	select SND_SOC_WM8776
20762306a36Sopenharmony_ci	default y if P1022_DS
20862306a36Sopenharmony_ci	help
20962306a36Sopenharmony_ci	  Say Y if you want to enable audio on the Freescale P1022 DS board.
21062306a36Sopenharmony_ci	  This will also include the Wolfson Microelectronics WM8776 codec
21162306a36Sopenharmony_ci	  driver.
21262306a36Sopenharmony_ci
21362306a36Sopenharmony_ciconfig SND_SOC_P1022_RDK
21462306a36Sopenharmony_ci	tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
21562306a36Sopenharmony_ci	# I2C is necessary for the WM8960 driver
21662306a36Sopenharmony_ci	depends on P1022_RDK && I2C
21762306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
21862306a36Sopenharmony_ci	select SND_SOC_FSL_UTILS
21962306a36Sopenharmony_ci	select SND_SOC_POWERPC_DMA
22062306a36Sopenharmony_ci	select SND_SOC_WM8960
22162306a36Sopenharmony_ci	default y if P1022_RDK
22262306a36Sopenharmony_ci	help
22362306a36Sopenharmony_ci	  Say Y if you want to enable audio on the Freescale / iVeia
22462306a36Sopenharmony_ci	  P1022 RDK board.  This will also include the Wolfson
22562306a36Sopenharmony_ci	  Microelectronics WM8960 codec driver.
22662306a36Sopenharmony_ci
22762306a36Sopenharmony_ciconfig SND_SOC_MPC5200_I2S
22862306a36Sopenharmony_ci	tristate "Freescale MPC5200 PSC in I2S mode driver"
22962306a36Sopenharmony_ci	depends on PPC_MPC52xx && PPC_BESTCOMM
23062306a36Sopenharmony_ci	select SND_MPC52xx_DMA
23162306a36Sopenharmony_ci	select PPC_BESTCOMM_GEN_BD
23262306a36Sopenharmony_ci	help
23362306a36Sopenharmony_ci	  Say Y here to support the MPC5200 PSCs in I2S mode.
23462306a36Sopenharmony_ci
23562306a36Sopenharmony_ciconfig SND_SOC_MPC5200_AC97
23662306a36Sopenharmony_ci	tristate "Freescale MPC5200 PSC in AC97 mode driver"
23762306a36Sopenharmony_ci	depends on PPC_MPC52xx && PPC_BESTCOMM
23862306a36Sopenharmony_ci	select SND_SOC_AC97_BUS
23962306a36Sopenharmony_ci	select SND_MPC52xx_DMA
24062306a36Sopenharmony_ci	select PPC_BESTCOMM_GEN_BD
24162306a36Sopenharmony_ci	help
24262306a36Sopenharmony_ci	  Say Y here to support the MPC5200 PSCs in AC97 mode.
24362306a36Sopenharmony_ci
24462306a36Sopenharmony_ciconfig SND_MPC52xx_SOC_PCM030
24562306a36Sopenharmony_ci	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
24662306a36Sopenharmony_ci	depends on PPC_MPC5200_SIMPLE
24762306a36Sopenharmony_ci	select SND_SOC_MPC5200_AC97
24862306a36Sopenharmony_ci	select SND_SOC_WM9712
24962306a36Sopenharmony_ci	help
25062306a36Sopenharmony_ci	  Say Y if you want to add support for sound on the Phytec pcm030
25162306a36Sopenharmony_ci	  baseboard.
25262306a36Sopenharmony_ci
25362306a36Sopenharmony_ciconfig SND_MPC52xx_SOC_EFIKA
25462306a36Sopenharmony_ci	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
25562306a36Sopenharmony_ci	depends on PPC_EFIKA
25662306a36Sopenharmony_ci	select SND_SOC_MPC5200_AC97
25762306a36Sopenharmony_ci	select SND_SOC_STAC9766
25862306a36Sopenharmony_ci	help
25962306a36Sopenharmony_ci	  Say Y if you want to add support for sound on the Efika.
26062306a36Sopenharmony_ci
26162306a36Sopenharmony_ciendif # SND_POWERPC_SOC
26262306a36Sopenharmony_ci
26362306a36Sopenharmony_ciconfig SND_SOC_IMX_PCM_FIQ
26462306a36Sopenharmony_ci	tristate
26562306a36Sopenharmony_ci	default y if (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)
26662306a36Sopenharmony_ci	select FIQ
26762306a36Sopenharmony_ci
26862306a36Sopenharmony_ciif SND_IMX_SOC
26962306a36Sopenharmony_ci
27062306a36Sopenharmony_cicomment "SoC Audio support for Freescale i.MX boards:"
27162306a36Sopenharmony_ci
27262306a36Sopenharmony_ciconfig SND_SOC_EUKREA_TLV320
27362306a36Sopenharmony_ci	tristate "Eukrea TLV320"
27462306a36Sopenharmony_ci	depends on ARCH_MXC && !ARM64 && I2C
27562306a36Sopenharmony_ci	select SND_SOC_TLV320AIC23_I2C
27662306a36Sopenharmony_ci	select SND_SOC_IMX_AUDMUX
27762306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
27862306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
27962306a36Sopenharmony_ci	help
28062306a36Sopenharmony_ci	  Enable I2S based access to the TLV320AIC23B codec attached
28162306a36Sopenharmony_ci	  to the SSI interface
28262306a36Sopenharmony_ci
28362306a36Sopenharmony_ciconfig SND_SOC_IMX_ES8328
28462306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with the ES8328 codec"
28562306a36Sopenharmony_ci	depends on OF && (I2C || SPI)
28662306a36Sopenharmony_ci	select SND_SOC_ES8328_I2C if I2C
28762306a36Sopenharmony_ci	select SND_SOC_ES8328_SPI if SPI_MASTER
28862306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
28962306a36Sopenharmony_ci	select SND_SOC_IMX_AUDMUX
29062306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
29162306a36Sopenharmony_ci	help
29262306a36Sopenharmony_ci	  Say Y if you want to add support for the ES8328 audio codec connected
29362306a36Sopenharmony_ci	  via SSI/I2S over either SPI or I2C.
29462306a36Sopenharmony_ci
29562306a36Sopenharmony_ciconfig SND_SOC_IMX_SGTL5000
29662306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with sgtl5000"
29762306a36Sopenharmony_ci	depends on OF && I2C
29862306a36Sopenharmony_ci	select SND_SOC_SGTL5000
29962306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
30062306a36Sopenharmony_ci	select SND_SOC_IMX_AUDMUX
30162306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
30262306a36Sopenharmony_ci	help
30362306a36Sopenharmony_ci	  Say Y if you want to add support for SoC audio on an i.MX board with
30462306a36Sopenharmony_ci	  a sgtl5000 codec.
30562306a36Sopenharmony_ci
30662306a36Sopenharmony_ci	  Note that this is an old driver. Consider enabling
30762306a36Sopenharmony_ci	  SND_SOC_FSL_ASOC_CARD and SND_SOC_SGTL5000 to use the newer
30862306a36Sopenharmony_ci	  driver.
30962306a36Sopenharmony_ci
31062306a36Sopenharmony_ciconfig SND_SOC_IMX_SPDIF
31162306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with S/PDIF"
31262306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
31362306a36Sopenharmony_ci	select SND_SOC_FSL_SPDIF
31462306a36Sopenharmony_ci	help
31562306a36Sopenharmony_ci	  SoC Audio support for i.MX boards with S/PDIF
31662306a36Sopenharmony_ci	  Say Y if you want to add support for SoC audio on an i.MX board with
31762306a36Sopenharmony_ci	  a S/DPDIF.
31862306a36Sopenharmony_ci
31962306a36Sopenharmony_ciconfig SND_SOC_FSL_ASOC_CARD
32062306a36Sopenharmony_ci	tristate "Generic ASoC Sound Card with ASRC support"
32162306a36Sopenharmony_ci	depends on OF && I2C
32262306a36Sopenharmony_ci	# enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
32362306a36Sopenharmony_ci	depends on SND_AC97_CODEC || SND_AC97_CODEC=n
32462306a36Sopenharmony_ci	select SND_SIMPLE_CARD_UTILS
32562306a36Sopenharmony_ci	select SND_SOC_IMX_AUDMUX
32662306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
32762306a36Sopenharmony_ci	select SND_SOC_FSL_ESAI
32862306a36Sopenharmony_ci	select SND_SOC_FSL_SAI
32962306a36Sopenharmony_ci	select SND_SOC_FSL_SSI
33062306a36Sopenharmony_ci	select SND_SOC_TLV320AIC31XX
33162306a36Sopenharmony_ci	select SND_SOC_WM8994
33262306a36Sopenharmony_ci	select MFD_WM8994
33362306a36Sopenharmony_ci	help
33462306a36Sopenharmony_ci	 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
33562306a36Sopenharmony_ci	 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
33662306a36Sopenharmony_ci	 CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
33762306a36Sopenharmony_ci	 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
33862306a36Sopenharmony_ci
33962306a36Sopenharmony_ciconfig SND_SOC_IMX_AUDMIX
34062306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with AUDMIX"
34162306a36Sopenharmony_ci	select SND_SOC_FSL_AUDMIX
34262306a36Sopenharmony_ci	select SND_SOC_FSL_SAI
34362306a36Sopenharmony_ci	help
34462306a36Sopenharmony_ci	  SoC Audio support for i.MX boards with Audio Mixer
34562306a36Sopenharmony_ci	  Say Y if you want to add support for SoC audio on an i.MX board with
34662306a36Sopenharmony_ci	  an Audio Mixer.
34762306a36Sopenharmony_ci
34862306a36Sopenharmony_ciconfig SND_SOC_IMX_HDMI
34962306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with HDMI port"
35062306a36Sopenharmony_ci	select SND_SOC_FSL_SAI
35162306a36Sopenharmony_ci	select SND_SOC_FSL_AUD2HTX
35262306a36Sopenharmony_ci	select SND_SOC_HDMI_CODEC
35362306a36Sopenharmony_ci	help
35462306a36Sopenharmony_ci	  ALSA SoC Audio support with HDMI feature for Freescale SoCs that have
35562306a36Sopenharmony_ci	  SAI/AUD2HTX and connect with internal HDMI IP or external module
35662306a36Sopenharmony_ci	  SII902X.
35762306a36Sopenharmony_ci	  Say Y if you want to add support for SoC audio on an i.MX board with
35862306a36Sopenharmony_ci	  IMX HDMI.
35962306a36Sopenharmony_ci
36062306a36Sopenharmony_ciconfig SND_SOC_IMX_RPMSG
36162306a36Sopenharmony_ci	tristate "SoC Audio support for i.MX boards with rpmsg"
36262306a36Sopenharmony_ci	depends on RPMSG
36362306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_RPMSG
36462306a36Sopenharmony_ci	select SND_SOC_IMX_AUDIO_RPMSG
36562306a36Sopenharmony_ci	help
36662306a36Sopenharmony_ci	  SoC Audio support for i.MX boards with rpmsg.
36762306a36Sopenharmony_ci	  There should be rpmsg devices defined in other core (M core)
36862306a36Sopenharmony_ci	  Say Y if you want to add support for SoC audio on an i.MX board with
36962306a36Sopenharmony_ci	  a rpmsg devices.
37062306a36Sopenharmony_ci
37162306a36Sopenharmony_ciconfig SND_SOC_IMX_CARD
37262306a36Sopenharmony_ci	tristate "SoC Audio Graph Sound Card support for i.MX boards"
37362306a36Sopenharmony_ci	depends on OF && I2C
37462306a36Sopenharmony_ci	select SND_SOC_AK4458
37562306a36Sopenharmony_ci	select SND_SOC_AK5558
37662306a36Sopenharmony_ci	select SND_SOC_IMX_PCM_DMA
37762306a36Sopenharmony_ci	select SND_SOC_FSL_SAI
37862306a36Sopenharmony_ci	select SND_SIMPLE_CARD_UTILS
37962306a36Sopenharmony_ci	help
38062306a36Sopenharmony_ci	  This option enables audio sound card support for i.MX boards
38162306a36Sopenharmony_ci	  with OF-graph DT bindings.
38262306a36Sopenharmony_ci	  It also support DPCM of single CPU multi Codec ststem.
38362306a36Sopenharmony_ci
38462306a36Sopenharmony_ciendif # SND_IMX_SOC
38562306a36Sopenharmony_ci
38662306a36Sopenharmony_ciendmenu
387