blob: 0af2e056d211d32356539332662ee76640e1f690 [file] [log] [blame]
Alexander Shiyaneba9e062014-03-16 08:21:34 +04001menu "SoC Audio for Freescale CPUs"
2
Alexander Shiyan204dec92014-03-16 08:21:35 +04003comment "Common SoC Audio options for Freescale CPUs:"
4
Nicolin Chen3117bb32014-07-29 18:08:53 +08005config SND_SOC_FSL_ASRC
6 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
Sudip Mukherjee121a0152016-06-02 18:29:24 +05307 depends on HAS_DMA
Nicolin Chen3117bb32014-07-29 18:08:53 +08008 select REGMAP_MMIO
Fabio Estevambdb9eb42014-07-30 11:27:06 -03009 select SND_SOC_GENERIC_DMAENGINE_PCM
Nicolin Chen3117bb32014-07-29 18:08:53 +080010 help
11 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
12 support for the Freescale CPUs.
13 This option is only useful for out-of-tree drivers since
14 in-tree drivers select it automatically.
15
Xiubo Li43550822013-12-17 11:24:38 +080016config SND_SOC_FSL_SAI
Xiubo Lib71fc4e2014-04-30 18:10:05 +080017 tristate "Synchronous Audio Interface (SAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080018 select REGMAP_MMIO
Arnd Bergmannff402602014-06-03 14:11:56 +020019 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Xiubo Li43550822013-12-17 11:24:38 +080020 select SND_SOC_GENERIC_DMAENGINE_PCM
Xiubo Lib71fc4e2014-04-30 18:10:05 +080021 help
22 Say Y if you want to add Synchronous Audio Interface (SAI)
23 support for the Freescale CPUs.
24 This option is only useful for out-of-tree drivers since
25 in-tree drivers select it automatically.
Xiubo Li43550822013-12-17 11:24:38 +080026
Viorel Sumanbe1df612019-01-22 11:14:26 +000027config SND_SOC_FSL_AUDMIX
28 tristate "Audio Mixer (AUDMIX) module support"
29 select REGMAP_MMIO
30 help
31 Say Y if you want to add Audio Mixer (AUDMIX)
32 support for the NXP iMX CPUs.
33
Shawn Guoa23dc692012-03-16 16:56:38 +080034config SND_SOC_FSL_SSI
Fabio Estevam11690062015-04-09 15:32:09 -030035 tristate "Synchronous Serial Interface module (SSI) support"
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020036 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020037 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Markus Pargmann43248122014-05-27 10:24:25 +020038 select REGMAP_MMIO
Alexander Shiyan204dec92014-03-16 08:21:35 +040039 help
40 Say Y if you want to add Synchronous Serial Interface (SSI)
41 support for the Freescale CPUs.
42 This option is only useful for out-of-tree drivers since
43 in-tree drivers select it automatically.
Shawn Guoa23dc692012-03-16 16:56:38 +080044
Nicolin Chena2388a42013-08-21 11:13:16 +080045config SND_SOC_FSL_SPDIF
Fabio Estevam11690062015-04-09 15:32:09 -030046 tristate "Sony/Philips Digital Interface (S/PDIF) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080047 select REGMAP_MMIO
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020048 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020049 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Randy Dunlapb3af6d32016-11-05 16:16:32 -070050 select BITREVERSE
Alexander Shiyan204dec92014-03-16 08:21:35 +040051 help
52 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
53 support for the Freescale CPUs.
54 This option is only useful for out-of-tree drivers since
55 in-tree drivers select it automatically.
Nicolin Chena2388a42013-08-21 11:13:16 +080056
Nicolin Chen43d24e72014-01-10 17:54:06 +080057config SND_SOC_FSL_ESAI
Xiubo Li40e3b932014-04-30 18:10:06 +080058 tristate "Enhanced Serial Audio Interface (ESAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080059 select REGMAP_MMIO
Arnd Bergmannff402602014-06-03 14:11:56 +020060 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Xiubo Li40e3b932014-04-30 18:10:06 +080061 help
62 Say Y if you want to add Enhanced Synchronous Audio Interface
63 (ESAI) support for the Freescale CPUs.
64 This option is only useful for out-of-tree drivers since
65 in-tree drivers select it automatically.
Nicolin Chen43d24e72014-01-10 17:54:06 +080066
Cosmin Samoila47a70e62019-01-04 09:17:38 +000067config SND_SOC_FSL_MICFIL
68 tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
69 select REGMAP_MMIO
70 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
71 select SND_SOC_GENERIC_DMAENGINE_PCM
72 help
73 Say Y if you want to add Pulse Density Modulation microphone
74 interface (MICFIL) support for NXP.
75
Shawn Guo60aae8d2012-03-16 16:56:40 +080076config SND_SOC_FSL_UTILS
77 tristate
78
Alexander Shiyaneba9e062014-03-16 08:21:34 +040079config SND_SOC_IMX_PCM_DMA
80 tristate
81 select SND_SOC_GENERIC_DMAENGINE_PCM
82
83config SND_SOC_IMX_AUDMUX
Alexander Shiyan204dec92014-03-16 08:21:35 +040084 tristate "Digital Audio Mux module support"
85 help
86 Say Y if you want to add Digital Audio Mux (AUDMUX) support
87 for the ARM i.MX CPUs.
88 This option is only useful for out-of-tree drivers since
89 in-tree drivers select it automatically.
Alexander Shiyaneba9e062014-03-16 08:21:34 +040090
91config SND_POWERPC_SOC
Shawn Guoa23dc692012-03-16 16:56:38 +080092 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040093 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080094 help
95 Say Y or M if you want to add support for codecs attached to
96 the PowerPC CPUs.
97
Alexander Shiyaneba9e062014-03-16 08:21:34 +040098config SND_IMX_SOC
99 tristate "SoC Audio for Freescale i.MX CPUs"
100 depends on ARCH_MXC || COMPILE_TEST
101 help
102 Say Y or M if you want to add support for codecs attached to
103 the i.MX CPUs.
104
Shawn Guoa23dc692012-03-16 16:56:38 +0800105if SND_POWERPC_SOC
106
Jon Smirl89dd0842009-05-23 19:12:59 -0400107config SND_MPC52xx_DMA
108 tristate
Grant Likely84bc2782008-07-29 11:42:28 +0100109
Shawn Guod61e1122012-03-16 16:56:37 +0800110config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -0600111 tristate
Timur Tabi17467f22008-01-11 18:15:26 +0100112
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400113comment "SoC Audio support for Freescale PPC boards:"
114
Timur Tabi17467f22008-01-11 18:15:26 +0100115config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -0600116 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d382009-01-22 18:23:39 -0600117 # I2C is necessary for the CS4270 driver
118 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800119 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800120 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800121 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +0100122 select SND_SOC_CS4270
123 select SND_SOC_CS4270_VD33_ERRATA
124 default y if MPC8610_HPCD
125 help
126 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +0100127
Timur Tabi27ef3742010-08-19 17:11:40 -0500128config SND_SOC_P1022_DS
129 tristate "ALSA SoC support for the Freescale P1022 DS board"
130 # I2C is necessary for the WM8776 driver
131 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800132 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800133 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800134 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -0500135 select SND_SOC_WM8776
136 default y if P1022_DS
137 help
138 Say Y if you want to enable audio on the Freescale P1022 DS board.
139 This will also include the Wolfson Microelectronics WM8776 codec
140 driver.
141
Timur Tabi96a0af62012-10-12 14:09:18 -0500142config SND_SOC_P1022_RDK
143 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
144 # I2C is necessary for the WM8960 driver
145 depends on P1022_RDK && I2C
146 select SND_SOC_FSL_SSI
147 select SND_SOC_FSL_UTILS
148 select SND_SOC_POWERPC_DMA
149 select SND_SOC_WM8960
150 default y if P1022_RDK
151 help
152 Say Y if you want to enable audio on the Freescale / iVeia
153 P1022 RDK board. This will also include the Wolfson
154 Microelectronics WM8960 codec driver.
155
Grant Likelydc641372008-07-29 11:42:30 +0100156config SND_SOC_MPC5200_I2S
157 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +0200158 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -0400159 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -0700160 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +0100161 help
162 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400163
164config SND_SOC_MPC5200_AC97
165 tristate "Freescale MPC5200 PSC in AC97 mode driver"
166 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -0600167 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -0400168 select SND_MPC52xx_DMA
169 select PPC_BESTCOMM_GEN_BD
170 help
171 Say Y here to support the MPC5200 PSCs in AC97 mode.
172
Jon Smirla9262c42009-05-26 08:34:12 -0400173config SND_MPC52xx_SOC_PCM030
174 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -0600175 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -0400176 select SND_SOC_MPC5200_AC97
177 select SND_SOC_WM9712
178 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100179 Say Y if you want to add support for sound on the Phytec pcm030
180 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400181
Jon Smirl6ffee432009-05-26 08:34:14 -0400182config SND_MPC52xx_SOC_EFIKA
183 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600184 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400185 select SND_SOC_MPC5200_AC97
186 select SND_SOC_STAC9766
187 help
188 Say Y if you want to add support for sound on the Efika.
189
Shawn Guoa23dc692012-03-16 16:56:38 +0800190endif # SND_POWERPC_SOC
191
Shawn Guoa23dc692012-03-16 16:56:38 +0800192if SND_IMX_SOC
193
194config SND_SOC_IMX_SSI
195 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800196 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800197
Shawn Guo93d7b762013-01-28 14:25:42 +0800198config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300199 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800200 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800201
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400202comment "SoC Audio support for Freescale i.MX boards:"
Shawn Guoa23dc692012-03-16 16:56:38 +0800203
204config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700205 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700206 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800207 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800208 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800209 select SND_SOC_IMX_AUDMUX
210 select SND_SOC_IMX_SSI
211 help
212 Enable support for audio on the i.MX31ADS with the WM1133-EV1
213 PMIC board with WM8835x fitted.
214
215config SND_SOC_MX27VIS_AIC32X4
216 tristate "SoC audio support for Visstrim M10 boards"
217 depends on MACH_IMX27_VISSTRIM_M10 && I2C
218 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800219 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800220 select SND_SOC_IMX_AUDMUX
221 select SND_SOC_IMX_SSI
222 help
223 Say Y if you want to add support for SoC audio on Visstrim SM10
224 board with TLV320AIC32X4 codec.
225
226config SND_SOC_PHYCORE_AC97
227 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
228 depends on MACH_PCM043 || MACH_PCA100
229 select SND_SOC_AC97_BUS
230 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800231 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800232 select SND_SOC_IMX_AUDMUX
233 select SND_SOC_IMX_SSI
234 help
235 Say Y if you want to add support for SoC audio on Phytec phyCORE
236 and phyCARD boards in AC97 mode
237
238config SND_SOC_EUKREA_TLV320
239 tristate "Eukrea TLV320"
Fabio Estevamadd68832018-12-13 00:08:38 -0200240 depends on ARCH_MXC && !ARM64 && I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400241 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800242 select SND_SOC_IMX_AUDMUX
243 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100244 select SND_SOC_FSL_SSI
245 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800246 help
247 Enable I2S based access to the TLV320AIC23B codec attached
248 to the SSI interface
249
Sean Cross7e7292d2014-07-31 10:43:37 +0800250config SND_SOC_IMX_ES8328
251 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
252 depends on OF && (I2C || SPI)
253 select SND_SOC_ES8328_I2C if I2C
254 select SND_SOC_ES8328_SPI if SPI_MASTER
255 select SND_SOC_IMX_PCM_DMA
256 select SND_SOC_IMX_AUDMUX
257 select SND_SOC_FSL_SSI
Sean Cross7e7292d2014-07-31 10:43:37 +0800258 help
259 Say Y if you want to add support for the ES8328 audio codec connected
260 via SSI/I2S over either SPI or I2C.
261
Shawn Guoc4483032012-03-16 16:56:44 +0800262config SND_SOC_IMX_SGTL5000
263 tristate "SoC Audio support for i.MX boards with sgtl5000"
264 depends on OF && I2C
265 select SND_SOC_SGTL5000
266 select SND_SOC_IMX_PCM_DMA
267 select SND_SOC_IMX_AUDMUX
268 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800269 help
270 Say Y if you want to add support for SoC audio on an i.MX board with
271 a sgtl5000 codec.
272
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800273config SND_SOC_IMX_SPDIF
274 tristate "SoC Audio support for i.MX boards with S/PDIF"
275 select SND_SOC_IMX_PCM_DMA
276 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800277 help
278 SoC Audio support for i.MX boards with S/PDIF
279 Say Y if you want to add support for SoC audio on an i.MX board with
280 a S/DPDIF.
281
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200282config SND_SOC_IMX_MC13783
283 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400284 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200285 select SND_SOC_IMX_SSI
286 select SND_SOC_IMX_AUDMUX
287 select SND_SOC_MC13783
288 select SND_SOC_IMX_PCM_DMA
289
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800290config SND_SOC_FSL_ASOC_CARD
291 tristate "Generic ASoC Sound Card with ASRC support"
292 depends on OF && I2C
Arnd Bergmannab07eae2015-11-24 23:21:10 +0100293 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
294 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800295 select SND_SOC_IMX_AUDMUX
296 select SND_SOC_IMX_PCM_DMA
297 select SND_SOC_FSL_ESAI
298 select SND_SOC_FSL_SAI
299 select SND_SOC_FSL_SSI
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800300 help
301 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
Felipe F. Tonello57e756d2016-01-29 11:01:00 +0000302 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
303 CS4271, CS4272 and SGTL5000.
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800304 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
305
Shawn Guoa23dc692012-03-16 16:56:38 +0800306endif # SND_IMX_SOC
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400307
308endmenu