blob: 081e406b3713aae2509206e9a779325eb7ec263e [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"
7 select REGMAP_MMIO
Fabio Estevambdb9eb42014-07-30 11:27:06 -03008 select SND_SOC_GENERIC_DMAENGINE_PCM
Nicolin Chen3117bb32014-07-29 18:08:53 +08009 help
10 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
11 support for the Freescale CPUs.
12 This option is only useful for out-of-tree drivers since
13 in-tree drivers select it automatically.
14
Xiubo Li43550822013-12-17 11:24:38 +080015config SND_SOC_FSL_SAI
Xiubo Lib71fc4e2014-04-30 18:10:05 +080016 tristate "Synchronous Audio Interface (SAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080017 select REGMAP_MMIO
Arnd Bergmannff402602014-06-03 14:11:56 +020018 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Xiubo Li43550822013-12-17 11:24:38 +080019 select SND_SOC_GENERIC_DMAENGINE_PCM
Xiubo Lib71fc4e2014-04-30 18:10:05 +080020 help
21 Say Y if you want to add Synchronous Audio Interface (SAI)
22 support for the Freescale CPUs.
23 This option is only useful for out-of-tree drivers since
24 in-tree drivers select it automatically.
Xiubo Li43550822013-12-17 11:24:38 +080025
Shawn Guoa23dc692012-03-16 16:56:38 +080026config SND_SOC_FSL_SSI
Alexander Shiyan204dec92014-03-16 08:21:35 +040027 tristate "Synchronous Serial Interface module support"
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020028 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020029 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Markus Pargmann43248122014-05-27 10:24:25 +020030 select REGMAP_MMIO
Alexander Shiyan204dec92014-03-16 08:21:35 +040031 help
32 Say Y if you want to add Synchronous Serial Interface (SSI)
33 support for the Freescale CPUs.
34 This option is only useful for out-of-tree drivers since
35 in-tree drivers select it automatically.
Shawn Guoa23dc692012-03-16 16:56:38 +080036
Nicolin Chena2388a42013-08-21 11:13:16 +080037config SND_SOC_FSL_SPDIF
Alexander Shiyan204dec92014-03-16 08:21:35 +040038 tristate "Sony/Philips Digital Interface module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080039 select REGMAP_MMIO
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020040 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020041 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Alexander Shiyan204dec92014-03-16 08:21:35 +040042 help
43 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
44 support for the Freescale CPUs.
45 This option is only useful for out-of-tree drivers since
46 in-tree drivers select it automatically.
Nicolin Chena2388a42013-08-21 11:13:16 +080047
Nicolin Chen43d24e72014-01-10 17:54:06 +080048config SND_SOC_FSL_ESAI
Xiubo Li40e3b932014-04-30 18:10:06 +080049 tristate "Enhanced Serial Audio Interface (ESAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080050 select REGMAP_MMIO
Arnd Bergmannff402602014-06-03 14:11:56 +020051 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Xiubo Li40e3b932014-04-30 18:10:06 +080052 help
53 Say Y if you want to add Enhanced Synchronous Audio Interface
54 (ESAI) support for the Freescale CPUs.
55 This option is only useful for out-of-tree drivers since
56 in-tree drivers select it automatically.
Nicolin Chen43d24e72014-01-10 17:54:06 +080057
Shawn Guo60aae8d2012-03-16 16:56:40 +080058config SND_SOC_FSL_UTILS
59 tristate
60
Alexander Shiyaneba9e062014-03-16 08:21:34 +040061config SND_SOC_IMX_PCM_DMA
62 tristate
63 select SND_SOC_GENERIC_DMAENGINE_PCM
64
65config SND_SOC_IMX_AUDMUX
Alexander Shiyan204dec92014-03-16 08:21:35 +040066 tristate "Digital Audio Mux module support"
67 help
68 Say Y if you want to add Digital Audio Mux (AUDMUX) support
69 for the ARM i.MX CPUs.
70 This option is only useful for out-of-tree drivers since
71 in-tree drivers select it automatically.
Alexander Shiyaneba9e062014-03-16 08:21:34 +040072
73config SND_POWERPC_SOC
Shawn Guoa23dc692012-03-16 16:56:38 +080074 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040075 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080076 help
77 Say Y or M if you want to add support for codecs attached to
78 the PowerPC CPUs.
79
Alexander Shiyaneba9e062014-03-16 08:21:34 +040080config SND_IMX_SOC
81 tristate "SoC Audio for Freescale i.MX CPUs"
82 depends on ARCH_MXC || COMPILE_TEST
83 help
84 Say Y or M if you want to add support for codecs attached to
85 the i.MX CPUs.
86
Shawn Guoa23dc692012-03-16 16:56:38 +080087if SND_POWERPC_SOC
88
Jon Smirl89dd0842009-05-23 19:12:59 -040089config SND_MPC52xx_DMA
90 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010091
Shawn Guod61e1122012-03-16 16:56:37 +080092config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060093 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010094
Alexander Shiyaneba9e062014-03-16 08:21:34 +040095comment "SoC Audio support for Freescale PPC boards:"
96
Timur Tabi17467f22008-01-11 18:15:26 +010097config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -060098 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d32009-01-22 18:23:39 -060099 # I2C is necessary for the CS4270 driver
100 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800101 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800102 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800103 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +0100104 select SND_SOC_CS4270
105 select SND_SOC_CS4270_VD33_ERRATA
106 default y if MPC8610_HPCD
107 help
108 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +0100109
Timur Tabi27ef3742010-08-19 17:11:40 -0500110config SND_SOC_P1022_DS
111 tristate "ALSA SoC support for the Freescale P1022 DS board"
112 # I2C is necessary for the WM8776 driver
113 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800114 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800115 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800116 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -0500117 select SND_SOC_WM8776
118 default y if P1022_DS
119 help
120 Say Y if you want to enable audio on the Freescale P1022 DS board.
121 This will also include the Wolfson Microelectronics WM8776 codec
122 driver.
123
Timur Tabi96a0af62012-10-12 14:09:18 -0500124config SND_SOC_P1022_RDK
125 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
126 # I2C is necessary for the WM8960 driver
127 depends on P1022_RDK && I2C
128 select SND_SOC_FSL_SSI
129 select SND_SOC_FSL_UTILS
130 select SND_SOC_POWERPC_DMA
131 select SND_SOC_WM8960
132 default y if P1022_RDK
133 help
134 Say Y if you want to enable audio on the Freescale / iVeia
135 P1022 RDK board. This will also include the Wolfson
136 Microelectronics WM8960 codec driver.
137
Grant Likelydc641372008-07-29 11:42:30 +0100138config SND_SOC_MPC5200_I2S
139 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +0200140 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -0400141 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -0700142 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +0100143 help
144 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400145
146config SND_SOC_MPC5200_AC97
147 tristate "Freescale MPC5200 PSC in AC97 mode driver"
148 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -0600149 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -0400150 select SND_MPC52xx_DMA
151 select PPC_BESTCOMM_GEN_BD
152 help
153 Say Y here to support the MPC5200 PSCs in AC97 mode.
154
Jon Smirla9262c42009-05-26 08:34:12 -0400155config SND_MPC52xx_SOC_PCM030
156 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -0600157 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -0400158 select SND_SOC_MPC5200_AC97
159 select SND_SOC_WM9712
160 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100161 Say Y if you want to add support for sound on the Phytec pcm030
162 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400163
Jon Smirl6ffee432009-05-26 08:34:14 -0400164config SND_MPC52xx_SOC_EFIKA
165 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600166 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400167 select SND_SOC_MPC5200_AC97
168 select SND_SOC_STAC9766
169 help
170 Say Y if you want to add support for sound on the Efika.
171
Shawn Guoa23dc692012-03-16 16:56:38 +0800172endif # SND_POWERPC_SOC
173
Shawn Guoa23dc692012-03-16 16:56:38 +0800174if SND_IMX_SOC
175
176config SND_SOC_IMX_SSI
177 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800178 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800179
Shawn Guo93d7b762013-01-28 14:25:42 +0800180config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300181 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800182 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800183
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400184comment "SoC Audio support for Freescale i.MX boards:"
Shawn Guoa23dc692012-03-16 16:56:38 +0800185
186config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700187 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700188 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800189 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800190 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800191 select SND_SOC_IMX_AUDMUX
192 select SND_SOC_IMX_SSI
193 help
194 Enable support for audio on the i.MX31ADS with the WM1133-EV1
195 PMIC board with WM8835x fitted.
196
197config SND_SOC_MX27VIS_AIC32X4
198 tristate "SoC audio support for Visstrim M10 boards"
199 depends on MACH_IMX27_VISSTRIM_M10 && I2C
200 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800201 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800202 select SND_SOC_IMX_AUDMUX
203 select SND_SOC_IMX_SSI
204 help
205 Say Y if you want to add support for SoC audio on Visstrim SM10
206 board with TLV320AIC32X4 codec.
207
208config SND_SOC_PHYCORE_AC97
209 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
210 depends on MACH_PCM043 || MACH_PCA100
211 select SND_SOC_AC97_BUS
212 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800213 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800214 select SND_SOC_IMX_AUDMUX
215 select SND_SOC_IMX_SSI
216 help
217 Say Y if you want to add support for SoC audio on Phytec phyCORE
218 and phyCARD boards in AC97 mode
219
220config SND_SOC_EUKREA_TLV320
221 tristate "Eukrea TLV320"
Alexander Shiyan7b8751a2014-05-23 15:11:01 +0400222 depends on ARCH_MXC && I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400223 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800224 select SND_SOC_IMX_AUDMUX
225 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100226 select SND_SOC_FSL_SSI
227 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800228 help
229 Enable I2S based access to the TLV320AIC23B codec attached
230 to the SSI interface
231
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800232config SND_SOC_IMX_WM8962
233 tristate "SoC Audio support for i.MX boards with wm8962"
Arnd Bergmanna2915d42014-04-29 19:18:22 +0800234 depends on OF && I2C && INPUT
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800235 select SND_SOC_WM8962
236 select SND_SOC_IMX_PCM_DMA
237 select SND_SOC_IMX_AUDMUX
238 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800239 help
240 Say Y if you want to add support for SoC audio on an i.MX board with
241 a wm8962 codec.
242
Sean Cross7e7292d2014-07-31 10:43:37 +0800243config SND_SOC_IMX_ES8328
244 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
245 depends on OF && (I2C || SPI)
246 select SND_SOC_ES8328_I2C if I2C
247 select SND_SOC_ES8328_SPI if SPI_MASTER
248 select SND_SOC_IMX_PCM_DMA
249 select SND_SOC_IMX_AUDMUX
250 select SND_SOC_FSL_SSI
Sean Cross7e7292d2014-07-31 10:43:37 +0800251 help
252 Say Y if you want to add support for the ES8328 audio codec connected
253 via SSI/I2S over either SPI or I2C.
254
Shawn Guoc4483032012-03-16 16:56:44 +0800255config SND_SOC_IMX_SGTL5000
256 tristate "SoC Audio support for i.MX boards with sgtl5000"
257 depends on OF && I2C
258 select SND_SOC_SGTL5000
259 select SND_SOC_IMX_PCM_DMA
260 select SND_SOC_IMX_AUDMUX
261 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800262 help
263 Say Y if you want to add support for SoC audio on an i.MX board with
264 a sgtl5000 codec.
265
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800266config SND_SOC_IMX_SPDIF
267 tristate "SoC Audio support for i.MX boards with S/PDIF"
268 select SND_SOC_IMX_PCM_DMA
269 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800270 help
271 SoC Audio support for i.MX boards with S/PDIF
272 Say Y if you want to add support for SoC audio on an i.MX board with
273 a S/DPDIF.
274
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200275config SND_SOC_IMX_MC13783
276 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400277 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200278 select SND_SOC_IMX_SSI
279 select SND_SOC_IMX_AUDMUX
280 select SND_SOC_MC13783
281 select SND_SOC_IMX_PCM_DMA
282
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800283config SND_SOC_FSL_ASOC_CARD
284 tristate "Generic ASoC Sound Card with ASRC support"
285 depends on OF && I2C
286 select SND_SOC_IMX_AUDMUX
287 select SND_SOC_IMX_PCM_DMA
288 select SND_SOC_FSL_ESAI
289 select SND_SOC_FSL_SAI
290 select SND_SOC_FSL_SSI
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800291 help
292 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
293 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888
294 and SGTL5000.
295 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
296
Shawn Guoa23dc692012-03-16 16:56:38 +0800297endif # SND_IMX_SOC
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400298
299endmenu