blob: 37f9b6201918348098194e6eb8da5460b7a09640 [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
Shawn Guoa23dc692012-03-16 16:56:38 +080027config SND_SOC_FSL_SSI
Fabio Estevam11690062015-04-09 15:32:09 -030028 tristate "Synchronous Serial Interface module (SSI) support"
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020029 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020030 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Markus Pargmann43248122014-05-27 10:24:25 +020031 select REGMAP_MMIO
Alexander Shiyan204dec92014-03-16 08:21:35 +040032 help
33 Say Y if you want to add Synchronous Serial Interface (SSI)
34 support for the Freescale CPUs.
35 This option is only useful for out-of-tree drivers since
36 in-tree drivers select it automatically.
Shawn Guoa23dc692012-03-16 16:56:38 +080037
Nicolin Chena2388a42013-08-21 11:13:16 +080038config SND_SOC_FSL_SPDIF
Fabio Estevam11690062015-04-09 15:32:09 -030039 tristate "Sony/Philips Digital Interface (S/PDIF) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080040 select REGMAP_MMIO
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020041 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Arnd Bergmannff402602014-06-03 14:11:56 +020042 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
Randy Dunlapb3af6d32016-11-05 16:16:32 -070043 select BITREVERSE
Alexander Shiyan204dec92014-03-16 08:21:35 +040044 help
45 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
46 support for the Freescale CPUs.
47 This option is only useful for out-of-tree drivers since
48 in-tree drivers select it automatically.
Nicolin Chena2388a42013-08-21 11:13:16 +080049
Nicolin Chen43d24e72014-01-10 17:54:06 +080050config SND_SOC_FSL_ESAI
Xiubo Li40e3b932014-04-30 18:10:06 +080051 tristate "Enhanced Serial Audio Interface (ESAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080052 select REGMAP_MMIO
Arnd Bergmannff402602014-06-03 14:11:56 +020053 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
Xiubo Li40e3b932014-04-30 18:10:06 +080054 help
55 Say Y if you want to add Enhanced Synchronous Audio Interface
56 (ESAI) support for the Freescale CPUs.
57 This option is only useful for out-of-tree drivers since
58 in-tree drivers select it automatically.
Nicolin Chen43d24e72014-01-10 17:54:06 +080059
Shawn Guo60aae8d2012-03-16 16:56:40 +080060config SND_SOC_FSL_UTILS
61 tristate
62
Alexander Shiyaneba9e062014-03-16 08:21:34 +040063config SND_SOC_IMX_PCM_DMA
64 tristate
65 select SND_SOC_GENERIC_DMAENGINE_PCM
66
67config SND_SOC_IMX_AUDMUX
Alexander Shiyan204dec92014-03-16 08:21:35 +040068 tristate "Digital Audio Mux module support"
69 help
70 Say Y if you want to add Digital Audio Mux (AUDMUX) support
71 for the ARM i.MX CPUs.
72 This option is only useful for out-of-tree drivers since
73 in-tree drivers select it automatically.
Alexander Shiyaneba9e062014-03-16 08:21:34 +040074
75config SND_POWERPC_SOC
Shawn Guoa23dc692012-03-16 16:56:38 +080076 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040077 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080078 help
79 Say Y or M if you want to add support for codecs attached to
80 the PowerPC CPUs.
81
Alexander Shiyaneba9e062014-03-16 08:21:34 +040082config SND_IMX_SOC
83 tristate "SoC Audio for Freescale i.MX CPUs"
84 depends on ARCH_MXC || COMPILE_TEST
85 help
86 Say Y or M if you want to add support for codecs attached to
87 the i.MX CPUs.
88
Shawn Guoa23dc692012-03-16 16:56:38 +080089if SND_POWERPC_SOC
90
Jon Smirl89dd0842009-05-23 19:12:59 -040091config SND_MPC52xx_DMA
92 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010093
Shawn Guod61e1122012-03-16 16:56:37 +080094config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060095 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010096
Alexander Shiyaneba9e062014-03-16 08:21:34 +040097comment "SoC Audio support for Freescale PPC boards:"
98
Timur Tabi17467f22008-01-11 18:15:26 +010099config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -0600100 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d382009-01-22 18:23:39 -0600101 # I2C is necessary for the CS4270 driver
102 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800103 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800104 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800105 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +0100106 select SND_SOC_CS4270
107 select SND_SOC_CS4270_VD33_ERRATA
108 default y if MPC8610_HPCD
109 help
110 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +0100111
Timur Tabi27ef3742010-08-19 17:11:40 -0500112config SND_SOC_P1022_DS
113 tristate "ALSA SoC support for the Freescale P1022 DS board"
114 # I2C is necessary for the WM8776 driver
115 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800116 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800117 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800118 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -0500119 select SND_SOC_WM8776
120 default y if P1022_DS
121 help
122 Say Y if you want to enable audio on the Freescale P1022 DS board.
123 This will also include the Wolfson Microelectronics WM8776 codec
124 driver.
125
Timur Tabi96a0af62012-10-12 14:09:18 -0500126config SND_SOC_P1022_RDK
127 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
128 # I2C is necessary for the WM8960 driver
129 depends on P1022_RDK && I2C
130 select SND_SOC_FSL_SSI
131 select SND_SOC_FSL_UTILS
132 select SND_SOC_POWERPC_DMA
133 select SND_SOC_WM8960
134 default y if P1022_RDK
135 help
136 Say Y if you want to enable audio on the Freescale / iVeia
137 P1022 RDK board. This will also include the Wolfson
138 Microelectronics WM8960 codec driver.
139
Grant Likelydc641372008-07-29 11:42:30 +0100140config SND_SOC_MPC5200_I2S
141 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +0200142 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -0400143 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -0700144 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +0100145 help
146 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400147
148config SND_SOC_MPC5200_AC97
149 tristate "Freescale MPC5200 PSC in AC97 mode driver"
150 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -0600151 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -0400152 select SND_MPC52xx_DMA
153 select PPC_BESTCOMM_GEN_BD
154 help
155 Say Y here to support the MPC5200 PSCs in AC97 mode.
156
Jon Smirla9262c42009-05-26 08:34:12 -0400157config SND_MPC52xx_SOC_PCM030
158 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -0600159 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -0400160 select SND_SOC_MPC5200_AC97
161 select SND_SOC_WM9712
162 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100163 Say Y if you want to add support for sound on the Phytec pcm030
164 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400165
Jon Smirl6ffee432009-05-26 08:34:14 -0400166config SND_MPC52xx_SOC_EFIKA
167 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600168 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400169 select SND_SOC_MPC5200_AC97
170 select SND_SOC_STAC9766
171 help
172 Say Y if you want to add support for sound on the Efika.
173
Shawn Guoa23dc692012-03-16 16:56:38 +0800174endif # SND_POWERPC_SOC
175
Shawn Guoa23dc692012-03-16 16:56:38 +0800176if SND_IMX_SOC
177
178config SND_SOC_IMX_SSI
179 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800180 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800181
Shawn Guo93d7b762013-01-28 14:25:42 +0800182config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300183 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800184 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800185
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400186comment "SoC Audio support for Freescale i.MX boards:"
Shawn Guoa23dc692012-03-16 16:56:38 +0800187
188config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700189 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700190 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800191 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800192 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800193 select SND_SOC_IMX_AUDMUX
194 select SND_SOC_IMX_SSI
195 help
196 Enable support for audio on the i.MX31ADS with the WM1133-EV1
197 PMIC board with WM8835x fitted.
198
199config SND_SOC_MX27VIS_AIC32X4
200 tristate "SoC audio support for Visstrim M10 boards"
201 depends on MACH_IMX27_VISSTRIM_M10 && I2C
202 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800203 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800204 select SND_SOC_IMX_AUDMUX
205 select SND_SOC_IMX_SSI
206 help
207 Say Y if you want to add support for SoC audio on Visstrim SM10
208 board with TLV320AIC32X4 codec.
209
210config SND_SOC_PHYCORE_AC97
211 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
212 depends on MACH_PCM043 || MACH_PCA100
213 select SND_SOC_AC97_BUS
214 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800215 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800216 select SND_SOC_IMX_AUDMUX
217 select SND_SOC_IMX_SSI
218 help
219 Say Y if you want to add support for SoC audio on Phytec phyCORE
220 and phyCARD boards in AC97 mode
221
222config SND_SOC_EUKREA_TLV320
223 tristate "Eukrea TLV320"
Alexander Shiyan7b8751a2014-05-23 15:11:01 +0400224 depends on ARCH_MXC && I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400225 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800226 select SND_SOC_IMX_AUDMUX
227 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100228 select SND_SOC_FSL_SSI
229 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800230 help
231 Enable I2S based access to the TLV320AIC23B codec attached
232 to the SSI interface
233
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800234config SND_SOC_IMX_WM8962
235 tristate "SoC Audio support for i.MX boards with wm8962"
Arnd Bergmanna2915d42014-04-29 19:18:22 +0800236 depends on OF && I2C && INPUT
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800237 select SND_SOC_WM8962
238 select SND_SOC_IMX_PCM_DMA
239 select SND_SOC_IMX_AUDMUX
240 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800241 help
242 Say Y if you want to add support for SoC audio on an i.MX board with
243 a wm8962 codec.
244
Sean Cross7e7292d2014-07-31 10:43:37 +0800245config SND_SOC_IMX_ES8328
246 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
247 depends on OF && (I2C || SPI)
248 select SND_SOC_ES8328_I2C if I2C
249 select SND_SOC_ES8328_SPI if SPI_MASTER
250 select SND_SOC_IMX_PCM_DMA
251 select SND_SOC_IMX_AUDMUX
252 select SND_SOC_FSL_SSI
Sean Cross7e7292d2014-07-31 10:43:37 +0800253 help
254 Say Y if you want to add support for the ES8328 audio codec connected
255 via SSI/I2S over either SPI or I2C.
256
Shawn Guoc4483032012-03-16 16:56:44 +0800257config SND_SOC_IMX_SGTL5000
258 tristate "SoC Audio support for i.MX boards with sgtl5000"
259 depends on OF && I2C
260 select SND_SOC_SGTL5000
261 select SND_SOC_IMX_PCM_DMA
262 select SND_SOC_IMX_AUDMUX
263 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800264 help
265 Say Y if you want to add support for SoC audio on an i.MX board with
266 a sgtl5000 codec.
267
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800268config SND_SOC_IMX_SPDIF
269 tristate "SoC Audio support for i.MX boards with S/PDIF"
270 select SND_SOC_IMX_PCM_DMA
271 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800272 help
273 SoC Audio support for i.MX boards with S/PDIF
274 Say Y if you want to add support for SoC audio on an i.MX board with
275 a S/DPDIF.
276
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200277config SND_SOC_IMX_MC13783
278 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400279 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200280 select SND_SOC_IMX_SSI
281 select SND_SOC_IMX_AUDMUX
282 select SND_SOC_MC13783
283 select SND_SOC_IMX_PCM_DMA
284
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800285config SND_SOC_FSL_ASOC_CARD
286 tristate "Generic ASoC Sound Card with ASRC support"
287 depends on OF && I2C
Arnd Bergmannab07eae2015-11-24 23:21:10 +0100288 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
289 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800290 select SND_SOC_IMX_AUDMUX
291 select SND_SOC_IMX_PCM_DMA
292 select SND_SOC_FSL_ESAI
293 select SND_SOC_FSL_SAI
294 select SND_SOC_FSL_SSI
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800295 help
296 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
Felipe F. Tonello57e756d2016-01-29 11:01:00 +0000297 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
298 CS4271, CS4272 and SGTL5000.
Shengjiu Wang38c6e4b2014-08-19 17:36:41 +0800299 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
300
Shawn Guoa23dc692012-03-16 16:56:38 +0800301endif # SND_IMX_SOC
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400302
303endmenu