xref: /linux/sound/soc/fsl/Kconfig (revision 121a01521b1ef7440ea285aa3aae02bf005e5635)
1eba9e06fSAlexander Shiyanmenu "SoC Audio for Freescale CPUs"
2eba9e06fSAlexander Shiyan
3204dec93SAlexander Shiyancomment "Common SoC Audio options for Freescale CPUs:"
4204dec93SAlexander Shiyan
53117bb31SNicolin Chenconfig SND_SOC_FSL_ASRC
63117bb31SNicolin Chen	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
7*121a0152SSudip Mukherjee	depends on HAS_DMA
83117bb31SNicolin Chen	select REGMAP_MMIO
9bdb9eb49SFabio Estevam	select SND_SOC_GENERIC_DMAENGINE_PCM
103117bb31SNicolin Chen	help
113117bb31SNicolin Chen	  Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
123117bb31SNicolin Chen	  support for the Freescale CPUs.
133117bb31SNicolin Chen	  This option is only useful for out-of-tree drivers since
143117bb31SNicolin Chen	  in-tree drivers select it automatically.
153117bb31SNicolin Chen
1643550821SXiubo Liconfig SND_SOC_FSL_SAI
17b71fc4e6SXiubo Li	tristate "Synchronous Audio Interface (SAI) module support"
187d150c60SXiubo Li	select REGMAP_MMIO
19ff40260fSArnd Bergmann	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
2043550821SXiubo Li	select SND_SOC_GENERIC_DMAENGINE_PCM
21b71fc4e6SXiubo Li	help
22b71fc4e6SXiubo Li	  Say Y if you want to add Synchronous Audio Interface (SAI)
23b71fc4e6SXiubo Li	  support for the Freescale CPUs.
24b71fc4e6SXiubo Li	  This option is only useful for out-of-tree drivers since
25b71fc4e6SXiubo Li	  in-tree drivers select it automatically.
2643550821SXiubo Li
27a23dc694SShawn Guoconfig SND_SOC_FSL_SSI
281169006bSFabio Estevam	tristate "Synchronous Serial Interface module (SSI) support"
2931ee2bfdSArnd Bergmann	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
30ff40260fSArnd Bergmann	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
3143248122SMarkus Pargmann	select REGMAP_MMIO
32204dec93SAlexander Shiyan	help
33204dec93SAlexander Shiyan	  Say Y if you want to add Synchronous Serial Interface (SSI)
34204dec93SAlexander Shiyan	  support for the Freescale CPUs.
35204dec93SAlexander Shiyan	  This option is only useful for out-of-tree drivers since
36204dec93SAlexander Shiyan	  in-tree drivers select it automatically.
37a23dc694SShawn Guo
38a2388a49SNicolin Chenconfig SND_SOC_FSL_SPDIF
391169006bSFabio Estevam	tristate "Sony/Philips Digital Interface (S/PDIF) module support"
407d150c60SXiubo Li	select REGMAP_MMIO
4131ee2bfdSArnd Bergmann	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
42ff40260fSArnd Bergmann	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
43204dec93SAlexander Shiyan	help
44204dec93SAlexander Shiyan	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
45204dec93SAlexander Shiyan	  support for the Freescale CPUs.
46204dec93SAlexander Shiyan	  This option is only useful for out-of-tree drivers since
47204dec93SAlexander Shiyan	  in-tree drivers select it automatically.
48a2388a49SNicolin Chen
4943d24e76SNicolin Chenconfig SND_SOC_FSL_ESAI
5040e3b934SXiubo Li	tristate "Enhanced Serial Audio Interface (ESAI) module support"
517d150c60SXiubo Li	select REGMAP_MMIO
52ff40260fSArnd Bergmann	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
5340e3b934SXiubo Li	help
5440e3b934SXiubo Li	  Say Y if you want to add Enhanced Synchronous Audio Interface
5540e3b934SXiubo Li	  (ESAI) support for the Freescale CPUs.
5640e3b934SXiubo Li	  This option is only useful for out-of-tree drivers since
5740e3b934SXiubo Li	  in-tree drivers select it automatically.
5843d24e76SNicolin Chen
5960aae8daSShawn Guoconfig SND_SOC_FSL_UTILS
6060aae8daSShawn Guo	tristate
6160aae8daSShawn Guo
62eba9e06fSAlexander Shiyanconfig SND_SOC_IMX_PCM_DMA
63eba9e06fSAlexander Shiyan	tristate
64eba9e06fSAlexander Shiyan	select SND_SOC_GENERIC_DMAENGINE_PCM
65eba9e06fSAlexander Shiyan
66eba9e06fSAlexander Shiyanconfig SND_SOC_IMX_AUDMUX
67204dec93SAlexander Shiyan	tristate "Digital Audio Mux module support"
68204dec93SAlexander Shiyan	help
69204dec93SAlexander Shiyan	  Say Y if you want to add Digital Audio Mux (AUDMUX) support
70204dec93SAlexander Shiyan	  for the ARM i.MX CPUs.
71204dec93SAlexander Shiyan	  This option is only useful for out-of-tree drivers since
72204dec93SAlexander Shiyan	  in-tree drivers select it automatically.
73eba9e06fSAlexander Shiyan
74eba9e06fSAlexander Shiyanconfig SND_POWERPC_SOC
75a23dc694SShawn Guo	tristate "SoC Audio for Freescale PowerPC CPUs"
76f99ddef0SEric Millbrandt	depends on FSL_SOC || PPC_MPC52xx
77a23dc694SShawn Guo	help
78a23dc694SShawn Guo	  Say Y or M if you want to add support for codecs attached to
79a23dc694SShawn Guo	  the PowerPC CPUs.
80a23dc694SShawn Guo
81eba9e06fSAlexander Shiyanconfig SND_IMX_SOC
82eba9e06fSAlexander Shiyan	tristate "SoC Audio for Freescale i.MX CPUs"
83eba9e06fSAlexander Shiyan	depends on ARCH_MXC || COMPILE_TEST
84eba9e06fSAlexander Shiyan	help
85eba9e06fSAlexander Shiyan	  Say Y or M if you want to add support for codecs attached to
86eba9e06fSAlexander Shiyan	  the i.MX CPUs.
87eba9e06fSAlexander Shiyan
88a23dc694SShawn Guoif SND_POWERPC_SOC
89a23dc694SShawn Guo
9089dd0842SJon Smirlconfig SND_MPC52xx_DMA
9189dd0842SJon Smirl	tristate
9289dd0842SJon Smirl
93d61e1126SShawn Guoconfig SND_SOC_POWERPC_DMA
9475d91f9bSTimur Tabi	tristate
9517467f23STimur Tabi
96eba9e06fSAlexander Shiyancomment "SoC Audio support for Freescale PPC boards:"
97eba9e06fSAlexander Shiyan
9817467f23STimur Tabiconfig SND_SOC_MPC8610_HPCD
9975d91f9bSTimur Tabi	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
100ff637d38STimur Tabi	# I2C is necessary for the CS4270 driver
101ff637d38STimur Tabi	depends on MPC8610_HPCD && I2C
102d61e1126SShawn Guo	select SND_SOC_FSL_SSI
10360aae8daSShawn Guo	select SND_SOC_FSL_UTILS
104d61e1126SShawn Guo	select SND_SOC_POWERPC_DMA
10517467f23STimur Tabi	select SND_SOC_CS4270
10617467f23STimur Tabi	select SND_SOC_CS4270_VD33_ERRATA
10717467f23STimur Tabi	default y if MPC8610_HPCD
10817467f23STimur Tabi	help
10917467f23STimur Tabi	  Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
110dc641378SGrant Likely
11127ef3744STimur Tabiconfig SND_SOC_P1022_DS
11227ef3744STimur Tabi	tristate "ALSA SoC support for the Freescale P1022 DS board"
11327ef3744STimur Tabi	# I2C is necessary for the WM8776 driver
11427ef3744STimur Tabi	depends on P1022_DS && I2C
115d61e1126SShawn Guo	select SND_SOC_FSL_SSI
11660aae8daSShawn Guo	select SND_SOC_FSL_UTILS
117d61e1126SShawn Guo	select SND_SOC_POWERPC_DMA
11827ef3744STimur Tabi	select SND_SOC_WM8776
11927ef3744STimur Tabi	default y if P1022_DS
12027ef3744STimur Tabi	help
12127ef3744STimur Tabi	  Say Y if you want to enable audio on the Freescale P1022 DS board.
12227ef3744STimur Tabi	  This will also include the Wolfson Microelectronics WM8776 codec
12327ef3744STimur Tabi	  driver.
12427ef3744STimur Tabi
12596a0af6dSTimur Tabiconfig SND_SOC_P1022_RDK
12696a0af6dSTimur Tabi	tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
12796a0af6dSTimur Tabi	# I2C is necessary for the WM8960 driver
12896a0af6dSTimur Tabi	depends on P1022_RDK && I2C
12996a0af6dSTimur Tabi	select SND_SOC_FSL_SSI
13096a0af6dSTimur Tabi	select SND_SOC_FSL_UTILS
13196a0af6dSTimur Tabi	select SND_SOC_POWERPC_DMA
13296a0af6dSTimur Tabi	select SND_SOC_WM8960
13396a0af6dSTimur Tabi	default y if P1022_RDK
13496a0af6dSTimur Tabi	help
13596a0af6dSTimur Tabi	  Say Y if you want to enable audio on the Freescale / iVeia
13696a0af6dSTimur Tabi	  P1022 RDK board.  This will also include the Wolfson
13796a0af6dSTimur Tabi	  Microelectronics WM8960 codec driver.
13896a0af6dSTimur Tabi
139dc641378SGrant Likelyconfig SND_SOC_MPC5200_I2S
140dc641378SGrant Likely	tristate "Freescale MPC5200 PSC in I2S mode driver"
1416574612fSTakashi Iwai	depends on PPC_MPC52xx && PPC_BESTCOMM
14289dd0842SJon Smirl	select SND_MPC52xx_DMA
143847cdf42SGrant Likely	select PPC_BESTCOMM_GEN_BD
144dc641378SGrant Likely	help
145dc641378SGrant Likely	  Say Y here to support the MPC5200 PSCs in I2S mode.
14620d0e152SJon Smirl
14720d0e152SJon Smirlconfig SND_SOC_MPC5200_AC97
14820d0e152SJon Smirl	tristate "Freescale MPC5200 PSC in AC97 mode driver"
14920d0e152SJon Smirl	depends on PPC_MPC52xx && PPC_BESTCOMM
1506a84c234SGrant Likely	select SND_SOC_AC97_BUS
15120d0e152SJon Smirl	select SND_MPC52xx_DMA
15220d0e152SJon Smirl	select PPC_BESTCOMM_GEN_BD
15320d0e152SJon Smirl	help
15420d0e152SJon Smirl	  Say Y here to support the MPC5200 PSCs in AC97 mode.
15520d0e152SJon Smirl
156a9262c4fSJon Smirlconfig SND_MPC52xx_SOC_PCM030
157a9262c4fSJon Smirl	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
15840d9ec14SGrant Likely	depends on PPC_MPC5200_SIMPLE
159a9262c4fSJon Smirl	select SND_SOC_MPC5200_AC97
160a9262c4fSJon Smirl	select SND_SOC_WM9712
161a9262c4fSJon Smirl	help
1620c0e09e2SMark Brown	  Say Y if you want to add support for sound on the Phytec pcm030
1630c0e09e2SMark Brown	  baseboard.
16420d0e152SJon Smirl
1656ffee43eSJon Smirlconfig SND_MPC52xx_SOC_EFIKA
1666ffee43eSJon Smirl	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
16740d9ec14SGrant Likely	depends on PPC_EFIKA
1686ffee43eSJon Smirl	select SND_SOC_MPC5200_AC97
1696ffee43eSJon Smirl	select SND_SOC_STAC9766
1706ffee43eSJon Smirl	help
1716ffee43eSJon Smirl	  Say Y if you want to add support for sound on the Efika.
1726ffee43eSJon Smirl
173a23dc694SShawn Guoendif # SND_POWERPC_SOC
174a23dc694SShawn Guo
175a23dc694SShawn Guoif SND_IMX_SOC
176a23dc694SShawn Guo
177a23dc694SShawn Guoconfig SND_SOC_IMX_SSI
178a23dc694SShawn Guo	tristate
1795f9e6ff6SXiubo Li	select SND_SOC_FSL_UTILS
180a23dc694SShawn Guo
18193d7b762SShawn Guoconfig SND_SOC_IMX_PCM_FIQ
1823f1a91aaSFabio Estevam	tristate
183a23dc694SShawn Guo	select FIQ
184a23dc694SShawn Guo
185eba9e06fSAlexander Shiyancomment "SoC Audio support for Freescale i.MX boards:"
186a23dc694SShawn Guo
187a23dc694SShawn Guoconfig SND_MXC_SOC_WM1133_EV1
1882e341ca6SLinus Torvalds	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
189e25c681aSKees Cook	depends on MACH_MX31ADS_WM1133_EV1
190a23dc694SShawn Guo	select SND_SOC_WM8350
191f19493a3SShawn Guo	select SND_SOC_IMX_PCM_FIQ
192a23dc694SShawn Guo	select SND_SOC_IMX_AUDMUX
193a23dc694SShawn Guo	select SND_SOC_IMX_SSI
194a23dc694SShawn Guo	help
195a23dc694SShawn Guo	  Enable support for audio on the i.MX31ADS with the WM1133-EV1
196a23dc694SShawn Guo	  PMIC board with WM8835x fitted.
197a23dc694SShawn Guo
198a23dc694SShawn Guoconfig SND_SOC_MX27VIS_AIC32X4
199a23dc694SShawn Guo	tristate "SoC audio support for Visstrim M10 boards"
200a23dc694SShawn Guo	depends on MACH_IMX27_VISSTRIM_M10 && I2C
201a23dc694SShawn Guo	select SND_SOC_TLV320AIC32X4
202f19493a3SShawn Guo	select SND_SOC_IMX_PCM_DMA
203a23dc694SShawn Guo	select SND_SOC_IMX_AUDMUX
204a23dc694SShawn Guo	select SND_SOC_IMX_SSI
205a23dc694SShawn Guo	help
206a23dc694SShawn Guo	  Say Y if you want to add support for SoC audio on Visstrim SM10
207a23dc694SShawn Guo	  board with TLV320AIC32X4 codec.
208a23dc694SShawn Guo
209a23dc694SShawn Guoconfig SND_SOC_PHYCORE_AC97
210a23dc694SShawn Guo	tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
211a23dc694SShawn Guo	depends on MACH_PCM043 || MACH_PCA100
212a23dc694SShawn Guo	select SND_SOC_AC97_BUS
213a23dc694SShawn Guo	select SND_SOC_WM9712
214f19493a3SShawn Guo	select SND_SOC_IMX_PCM_FIQ
215a23dc694SShawn Guo	select SND_SOC_IMX_AUDMUX
216a23dc694SShawn Guo	select SND_SOC_IMX_SSI
217a23dc694SShawn Guo	help
218a23dc694SShawn Guo	  Say Y if you want to add support for SoC audio on Phytec phyCORE
219a23dc694SShawn Guo	  and phyCARD boards in AC97 mode
220a23dc694SShawn Guo
221a23dc694SShawn Guoconfig SND_SOC_EUKREA_TLV320
222a23dc694SShawn Guo	tristate "Eukrea TLV320"
2237b8751abSAlexander Shiyan	depends on ARCH_MXC && I2C
224cc1bc54aSMax Filippov	select SND_SOC_TLV320AIC23_I2C
225a23dc694SShawn Guo	select SND_SOC_IMX_AUDMUX
226a23dc694SShawn Guo	select SND_SOC_IMX_SSI
22766f23290SDenis Carikli	select SND_SOC_FSL_SSI
22866f23290SDenis Carikli	select SND_SOC_IMX_PCM_DMA
229a23dc694SShawn Guo	help
230a23dc694SShawn Guo	  Enable I2S based access to the TLV320AIC23B codec attached
231a23dc694SShawn Guo	  to the SSI interface
232a23dc694SShawn Guo
2338de2ae2aSNicolin Chenconfig SND_SOC_IMX_WM8962
2348de2ae2aSNicolin Chen	tristate "SoC Audio support for i.MX boards with wm8962"
235a2915d4fSArnd Bergmann	depends on OF && I2C && INPUT
2368de2ae2aSNicolin Chen	select SND_SOC_WM8962
2378de2ae2aSNicolin Chen	select SND_SOC_IMX_PCM_DMA
2388de2ae2aSNicolin Chen	select SND_SOC_IMX_AUDMUX
2398de2ae2aSNicolin Chen	select SND_SOC_FSL_SSI
2408de2ae2aSNicolin Chen	help
2418de2ae2aSNicolin Chen	  Say Y if you want to add support for SoC audio on an i.MX board with
2428de2ae2aSNicolin Chen	  a wm8962 codec.
2438de2ae2aSNicolin Chen
2447e7292dbSSean Crossconfig SND_SOC_IMX_ES8328
2457e7292dbSSean Cross	tristate "SoC Audio support for i.MX boards with the ES8328 codec"
2467e7292dbSSean Cross	depends on OF && (I2C || SPI)
2477e7292dbSSean Cross	select SND_SOC_ES8328_I2C if I2C
2487e7292dbSSean Cross	select SND_SOC_ES8328_SPI if SPI_MASTER
2497e7292dbSSean Cross	select SND_SOC_IMX_PCM_DMA
2507e7292dbSSean Cross	select SND_SOC_IMX_AUDMUX
2517e7292dbSSean Cross	select SND_SOC_FSL_SSI
2527e7292dbSSean Cross	help
2537e7292dbSSean Cross	  Say Y if you want to add support for the ES8328 audio codec connected
2547e7292dbSSean Cross	  via SSI/I2S over either SPI or I2C.
2557e7292dbSSean Cross
256c448303eSShawn Guoconfig SND_SOC_IMX_SGTL5000
257c448303eSShawn Guo	tristate "SoC Audio support for i.MX boards with sgtl5000"
258c448303eSShawn Guo	depends on OF && I2C
259c448303eSShawn Guo	select SND_SOC_SGTL5000
260c448303eSShawn Guo	select SND_SOC_IMX_PCM_DMA
261c448303eSShawn Guo	select SND_SOC_IMX_AUDMUX
262c448303eSShawn Guo	select SND_SOC_FSL_SSI
263c448303eSShawn Guo	help
264c448303eSShawn Guo	  Say Y if you want to add support for SoC audio on an i.MX board with
265c448303eSShawn Guo	  a sgtl5000 codec.
266c448303eSShawn Guo
2672a956ec0SNicolin Chenconfig SND_SOC_IMX_SPDIF
2682a956ec0SNicolin Chen	tristate "SoC Audio support for i.MX boards with S/PDIF"
2692a956ec0SNicolin Chen	select SND_SOC_IMX_PCM_DMA
2702a956ec0SNicolin Chen	select SND_SOC_FSL_SPDIF
2712a956ec0SNicolin Chen	help
2722a956ec0SNicolin Chen	  SoC Audio support for i.MX boards with S/PDIF
2732a956ec0SNicolin Chen	  Say Y if you want to add support for SoC audio on an i.MX board with
2742a956ec0SNicolin Chen	  a S/DPDIF.
2752a956ec0SNicolin Chen
2766b0a795aSPhilippe Rétornazconfig SND_SOC_IMX_MC13783
2776b0a795aSPhilippe Rétornaz	tristate "SoC Audio support for I.MX boards with mc13783"
278e5a3da21SAlexander Shiyan	depends on MFD_MC13XXX && ARM
2796b0a795aSPhilippe Rétornaz	select SND_SOC_IMX_SSI
2806b0a795aSPhilippe Rétornaz	select SND_SOC_IMX_AUDMUX
2816b0a795aSPhilippe Rétornaz	select SND_SOC_MC13783
2826b0a795aSPhilippe Rétornaz	select SND_SOC_IMX_PCM_DMA
2836b0a795aSPhilippe Rétornaz
28438c6e4bbSShengjiu Wangconfig SND_SOC_FSL_ASOC_CARD
28538c6e4bbSShengjiu Wang	tristate "Generic ASoC Sound Card with ASRC support"
28638c6e4bbSShengjiu Wang	depends on OF && I2C
287ab07eaedSArnd Bergmann	# enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
288ab07eaedSArnd Bergmann	depends on SND_AC97_CODEC || SND_AC97_CODEC=n
28938c6e4bbSShengjiu Wang	select SND_SOC_IMX_AUDMUX
29038c6e4bbSShengjiu Wang	select SND_SOC_IMX_PCM_DMA
29138c6e4bbSShengjiu Wang	select SND_SOC_FSL_ESAI
29238c6e4bbSShengjiu Wang	select SND_SOC_FSL_SAI
29338c6e4bbSShengjiu Wang	select SND_SOC_FSL_SSI
29438c6e4bbSShengjiu Wang	help
29538c6e4bbSShengjiu Wang	 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
29657e756d3SFelipe F. Tonello	 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
29757e756d3SFelipe F. Tonello	 CS4271, CS4272 and SGTL5000.
29838c6e4bbSShengjiu Wang	 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
29938c6e4bbSShengjiu Wang
300a23dc694SShawn Guoendif # SND_IMX_SOC
301eba9e06fSAlexander Shiyan
302eba9e06fSAlexander Shiyanendmenu
303