Loading...
1# SPDX-License-Identifier: GPL-2.0-only
2menu "SoC Audio for Freescale CPUs"
3
4comment "Common SoC Audio options for Freescale CPUs:"
5
6config SND_SOC_FSL_ASRC
7 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
8 depends on HAS_DMA
9 select REGMAP_MMIO
10 select SND_SOC_GENERIC_DMAENGINE_PCM
11 help
12 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
13 support for the Freescale CPUs.
14 This option is only useful for out-of-tree drivers since
15 in-tree drivers select it automatically.
16
17config SND_SOC_FSL_SAI
18 tristate "Synchronous Audio Interface (SAI) module support"
19 select REGMAP_MMIO
20 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
21 select SND_SOC_GENERIC_DMAENGINE_PCM
22 select SND_SOC_FSL_UTILS
23 help
24 Say Y if you want to add Synchronous Audio Interface (SAI)
25 support for the Freescale CPUs.
26 This option is only useful for out-of-tree drivers since
27 in-tree drivers select it automatically.
28
29config SND_SOC_FSL_MQS
30 tristate "Medium Quality Sound (MQS) module support"
31 depends on SND_SOC_FSL_SAI
32 depends on IMX_SCMI_MISC_DRV || !IMX_SCMI_MISC_DRV
33 select REGMAP_MMIO
34 help
35 Say Y if you want to add Medium Quality Sound (MQS)
36 support for the Freescale CPUs.
37 This option is only useful for out-of-tree drivers since
38 in-tree drivers select it automatically.
39
40config SND_SOC_FSL_AUDMIX
41 tristate "Audio Mixer (AUDMIX) module support"
42 select REGMAP_MMIO
43 help
44 Say Y if you want to add Audio Mixer (AUDMIX)
45 support for the NXP iMX CPUs.
46
47config SND_SOC_FSL_SSI
48 tristate "Synchronous Serial Interface module (SSI) support"
49 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
50 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
51 select REGMAP_MMIO
52 help
53 Say Y if you want to add Synchronous Serial Interface (SSI)
54 support for the Freescale CPUs.
55 This option is only useful for out-of-tree drivers since
56 in-tree drivers select it automatically.
57
58config SND_SOC_FSL_SPDIF
59 tristate "Sony/Philips Digital Interface (S/PDIF) module support"
60 select REGMAP_MMIO
61 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
62 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
63 select BITREVERSE
64 select SND_SOC_FSL_UTILS
65 help
66 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
67 support for the Freescale CPUs.
68 This option is only useful for out-of-tree drivers since
69 in-tree drivers select it automatically.
70
71config SND_SOC_FSL_ESAI
72 tristate "Enhanced Serial Audio Interface (ESAI) module support"
73 select REGMAP_MMIO
74 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
75 help
76 Say Y if you want to add Enhanced Synchronous Audio Interface
77 (ESAI) support for the Freescale CPUs.
78 This option is only useful for out-of-tree drivers since
79 in-tree drivers select it automatically.
80
81config SND_SOC_FSL_MICFIL
82 tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
83 select REGMAP_MMIO
84 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
85 select SND_SOC_GENERIC_DMAENGINE_PCM
86 select SND_SOC_FSL_UTILS
87 help
88 Say Y if you want to add Pulse Density Modulation microphone
89 interface (MICFIL) support for NXP.
90
91config SND_SOC_FSL_EASRC
92 tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"
93 depends on SND_SOC_FSL_ASRC
94 select REGMAP_MMIO
95 select SND_SOC_GENERIC_DMAENGINE_PCM
96 help
97 Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
98 a digital module that converts audio from a source sample rate to a
99 destination sample rate. It is a new design module compare with the
100 old ASRC.
101
102config SND_SOC_FSL_XCVR
103 tristate "NXP Audio Transceiver (XCVR) module support"
104 select REGMAP_MMIO
105 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
106 select SND_SOC_GENERIC_DMAENGINE_PCM
107 select SND_SOC_FSL_UTILS
108 help
109 Say Y if you want to add Audio Transceiver (XCVR) support for NXP
110 iMX CPUs. XCVR is a digital module that supports HDMI2.1 eARC,
111 HDMI1.4 ARC and SPDIF.
112
113config SND_SOC_FSL_AUD2HTX
114 tristate "AUDIO TO HDMI TX module support"
115 depends on ARCH_MXC || COMPILE_TEST
116 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
117 help
118 Say Y if you want to add AUDIO TO HDMI TX support for NXP.
119
120config SND_SOC_FSL_UTILS
121 tristate
122
123config SND_SOC_FSL_RPMSG
124 tristate "NXP Audio Base On RPMSG support"
125 depends on COMMON_CLK
126 depends on OF && I2C
127 depends on RPMSG
128 depends on SND_IMX_SOC || SND_IMX_SOC = n
129 select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n
130 help
131 Say Y if you want to add rpmsg audio support for the Freescale CPUs.
132 This option is only useful for out-of-tree drivers since
133 in-tree drivers select it automatically.
134
135config SND_SOC_FSL_LPC3XXX
136 tristate "SoC Audio for NXP LPC32XX CPUs"
137 depends on ARCH_LPC32XX || COMPILE_TEST
138 select SND_SOC_GENERIC_DMAENGINE_PCM
139 help
140 Say Y or M if you want to add support for the LPC3XXX I2S interface.
141
142config SND_SOC_IMX_PCM_DMA
143 tristate
144 select SND_SOC_GENERIC_DMAENGINE_PCM
145
146config SND_SOC_IMX_AUDIO_RPMSG
147 tristate
148 depends on RPMSG
149
150config SND_SOC_IMX_PCM_RPMSG
151 tristate
152 depends on SND_SOC_IMX_AUDIO_RPMSG
153 select SND_SOC_GENERIC_DMAENGINE_PCM
154
155config SND_SOC_IMX_AUDMUX
156 tristate "Digital Audio Mux module support"
157 help
158 Say Y if you want to add Digital Audio Mux (AUDMUX) support
159 for the ARM i.MX CPUs.
160 This option is only useful for out-of-tree drivers since
161 in-tree drivers select it automatically.
162
163config SND_POWERPC_SOC
164 tristate "SoC Audio for Freescale PowerPC CPUs"
165 depends on FSL_SOC || PPC_MPC52xx
166 help
167 Say Y or M if you want to add support for codecs attached to
168 the PowerPC CPUs.
169
170config SND_IMX_SOC
171 tristate "SoC Audio for Freescale i.MX CPUs"
172 depends on ARCH_MXC || COMPILE_TEST
173 help
174 Say Y or M if you want to add support for codecs attached to
175 the i.MX CPUs.
176
177if SND_POWERPC_SOC
178
179config SND_MPC52xx_DMA
180 tristate
181
182config SND_SOC_POWERPC_DMA
183 tristate
184
185config SND_SOC_POWERPC_QMC_AUDIO
186 tristate "QMC ALSA SoC support"
187 depends on CPM_QMC
188 help
189 ALSA SoC Audio support using the Freescale QUICC Multichannel
190 Controller (QMC).
191 Say Y or M if you want to add support for SoC audio using Freescale
192 QMC.
193
194comment "SoC Audio support for Freescale PPC boards:"
195
196config SND_SOC_P1022_DS
197 tristate "ALSA SoC support for the Freescale P1022 DS board"
198 # I2C is necessary for the WM8776 driver
199 depends on P1022_DS && I2C
200 select SND_SOC_FSL_SSI
201 select SND_SOC_FSL_UTILS
202 select SND_SOC_POWERPC_DMA
203 select SND_SOC_WM8776
204 default y if P1022_DS
205 help
206 Say Y if you want to enable audio on the Freescale P1022 DS board.
207 This will also include the Wolfson Microelectronics WM8776 codec
208 driver.
209
210config SND_SOC_P1022_RDK
211 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
212 # I2C is necessary for the WM8960 driver
213 depends on P1022_RDK && I2C
214 select SND_SOC_FSL_SSI
215 select SND_SOC_FSL_UTILS
216 select SND_SOC_POWERPC_DMA
217 select SND_SOC_WM8960
218 default y if P1022_RDK
219 help
220 Say Y if you want to enable audio on the Freescale / iVeia
221 P1022 RDK board. This will also include the Wolfson
222 Microelectronics WM8960 codec driver.
223
224config SND_SOC_MPC5200_I2S
225 tristate "Freescale MPC5200 PSC in I2S mode driver"
226 depends on PPC_MPC52xx && PPC_BESTCOMM
227 select SND_MPC52xx_DMA
228 select PPC_BESTCOMM_GEN_BD
229 help
230 Say Y here to support the MPC5200 PSCs in I2S mode.
231
232config SND_SOC_MPC5200_AC97
233 tristate "Freescale MPC5200 PSC in AC97 mode driver"
234 depends on PPC_MPC52xx && PPC_BESTCOMM
235 select SND_SOC_AC97_BUS
236 select SND_MPC52xx_DMA
237 select PPC_BESTCOMM_GEN_BD
238 help
239 Say Y here to support the MPC5200 PSCs in AC97 mode.
240
241config SND_MPC52xx_SOC_PCM030
242 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
243 depends on PPC_MPC5200_SIMPLE
244 select SND_SOC_MPC5200_AC97
245 select SND_SOC_WM9712
246 help
247 Say Y if you want to add support for sound on the Phytec pcm030
248 baseboard.
249
250config SND_MPC52xx_SOC_EFIKA
251 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
252 depends on PPC_EFIKA
253 select SND_SOC_MPC5200_AC97
254 select SND_SOC_STAC9766
255 help
256 Say Y if you want to add support for sound on the Efika.
257
258endif # SND_POWERPC_SOC
259
260config SND_SOC_IMX_PCM_FIQ
261 tristate
262 default y if (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)
263 select FIQ
264
265if SND_IMX_SOC
266
267comment "SoC Audio support for Freescale i.MX boards:"
268
269config SND_SOC_EUKREA_TLV320
270 tristate "Eukrea TLV320"
271 depends on ARCH_MXC && !ARM64 && I2C
272 select SND_SOC_TLV320AIC23_I2C
273 select SND_SOC_IMX_AUDMUX
274 select SND_SOC_FSL_SSI
275 select SND_SOC_IMX_PCM_DMA
276 help
277 Enable I2S based access to the TLV320AIC23B codec attached
278 to the SSI interface
279
280config SND_SOC_IMX_ES8328
281 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
282 depends on OF && (I2C || SPI)
283 select SND_SOC_ES8328_I2C if I2C
284 select SND_SOC_ES8328_SPI if SPI_MASTER
285 select SND_SOC_IMX_PCM_DMA
286 select SND_SOC_IMX_AUDMUX
287 select SND_SOC_FSL_SSI
288 help
289 Say Y if you want to add support for the ES8328 audio codec connected
290 via SSI/I2S over either SPI or I2C.
291
292config SND_SOC_IMX_SGTL5000
293 tristate "SoC Audio support for i.MX boards with sgtl5000"
294 depends on OF && I2C
295 select SND_SOC_SGTL5000
296 select SND_SOC_IMX_PCM_DMA
297 select SND_SOC_IMX_AUDMUX
298 select SND_SOC_FSL_SSI
299 help
300 Say Y if you want to add support for SoC audio on an i.MX board with
301 a sgtl5000 codec.
302
303 Note that this is an old driver. Consider enabling
304 SND_SOC_FSL_ASOC_CARD and SND_SOC_SGTL5000 to use the newer
305 driver.
306
307config SND_SOC_FSL_ASOC_CARD
308 tristate "Generic ASoC Sound Card with ASRC support"
309 depends on OF && I2C
310 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
311 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
312 select SND_SIMPLE_CARD_UTILS
313 select SND_SOC_IMX_AUDMUX
314 select SND_SOC_IMX_PCM_DMA
315 select SND_SOC_FSL_ESAI
316 select SND_SOC_FSL_SAI
317 select SND_SOC_FSL_SSI
318 select SND_SOC_FSL_SPDIF
319 select SND_SOC_TLV320AIC31XX
320 select SND_SOC_WM8994
321 select MFD_WM8994
322 help
323 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
324 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
325 CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
326 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
327
328config SND_SOC_IMX_AUDMIX
329 tristate "SoC Audio support for i.MX boards with AUDMIX"
330 select SND_SOC_FSL_AUDMIX
331 select SND_SOC_FSL_SAI
332 help
333 SoC Audio support for i.MX boards with Audio Mixer
334 Say Y if you want to add support for SoC audio on an i.MX board with
335 an Audio Mixer.
336
337config SND_SOC_IMX_HDMI
338 tristate "SoC Audio support for i.MX boards with HDMI port"
339 select SND_SOC_FSL_SAI
340 select SND_SOC_FSL_AUD2HTX
341 select SND_SOC_HDMI_CODEC
342 help
343 ALSA SoC Audio support with HDMI feature for Freescale SoCs that have
344 SAI/AUD2HTX and connect with internal HDMI IP or external module
345 SII902X.
346 Say Y if you want to add support for SoC audio on an i.MX board with
347 IMX HDMI.
348
349config SND_SOC_IMX_RPMSG
350 tristate "SoC Audio support for i.MX boards with rpmsg"
351 depends on RPMSG
352 depends on OF && I2C
353 select SND_SOC_IMX_PCM_RPMSG
354 select SND_SOC_IMX_AUDIO_RPMSG
355 help
356 SoC Audio support for i.MX boards with rpmsg.
357 There should be rpmsg devices defined in other core (M core)
358 Say Y if you want to add support for SoC audio on an i.MX board with
359 a rpmsg devices.
360
361config SND_SOC_IMX_CARD
362 tristate "SoC Audio Graph Sound Card support for i.MX boards"
363 depends on OF && I2C
364 select SND_SOC_AK4458
365 select SND_SOC_AK5558
366 select SND_SOC_IMX_PCM_DMA
367 select SND_SOC_FSL_SAI
368 select SND_SIMPLE_CARD_UTILS
369 help
370 This option enables audio sound card support for i.MX boards
371 with OF-graph DT bindings.
372 It also support DPCM of single CPU multi Codec ststem.
373
374endif # SND_IMX_SOC
375
376endmenu
1# SPDX-License-Identifier: GPL-2.0-only
2menu "SoC Audio for Freescale CPUs"
3
4comment "Common SoC Audio options for Freescale CPUs:"
5
6config SND_SOC_FSL_ASRC
7 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
8 depends on HAS_DMA
9 select REGMAP_MMIO
10 select SND_SOC_GENERIC_DMAENGINE_PCM
11 help
12 Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
13 support for the Freescale CPUs.
14 This option is only useful for out-of-tree drivers since
15 in-tree drivers select it automatically.
16
17config SND_SOC_FSL_SAI
18 tristate "Synchronous Audio Interface (SAI) module support"
19 select REGMAP_MMIO
20 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
21 select SND_SOC_GENERIC_DMAENGINE_PCM
22 help
23 Say Y if you want to add Synchronous Audio Interface (SAI)
24 support for the Freescale CPUs.
25 This option is only useful for out-of-tree drivers since
26 in-tree drivers select it automatically.
27
28config SND_SOC_FSL_MQS
29 tristate "Medium Quality Sound (MQS) module support"
30 depends on SND_SOC_FSL_SAI
31 select REGMAP_MMIO
32 help
33 Say Y if you want to add Medium Quality Sound (MQS)
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.
37
38config SND_SOC_FSL_AUDMIX
39 tristate "Audio Mixer (AUDMIX) module support"
40 select REGMAP_MMIO
41 help
42 Say Y if you want to add Audio Mixer (AUDMIX)
43 support for the NXP iMX CPUs.
44
45config SND_SOC_FSL_SSI
46 tristate "Synchronous Serial Interface module (SSI) support"
47 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
48 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
49 select REGMAP_MMIO
50 help
51 Say Y if you want to add Synchronous Serial Interface (SSI)
52 support for the Freescale CPUs.
53 This option is only useful for out-of-tree drivers since
54 in-tree drivers select it automatically.
55
56config SND_SOC_FSL_SPDIF
57 tristate "Sony/Philips Digital Interface (S/PDIF) module support"
58 select REGMAP_MMIO
59 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
60 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
61 select BITREVERSE
62 help
63 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
64 support for the Freescale CPUs.
65 This option is only useful for out-of-tree drivers since
66 in-tree drivers select it automatically.
67
68config SND_SOC_FSL_ESAI
69 tristate "Enhanced Serial Audio Interface (ESAI) module support"
70 select REGMAP_MMIO
71 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
72 help
73 Say Y if you want to add Enhanced Synchronous Audio Interface
74 (ESAI) support for the Freescale CPUs.
75 This option is only useful for out-of-tree drivers since
76 in-tree drivers select it automatically.
77
78config SND_SOC_FSL_MICFIL
79 tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
80 select REGMAP_MMIO
81 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
82 select SND_SOC_GENERIC_DMAENGINE_PCM
83 help
84 Say Y if you want to add Pulse Density Modulation microphone
85 interface (MICFIL) support for NXP.
86
87config SND_SOC_FSL_EASRC
88 tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"
89 depends on SND_SOC_FSL_ASRC
90 select REGMAP_MMIO
91 select SND_SOC_GENERIC_DMAENGINE_PCM
92 help
93 Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
94 a digital module that converts audio from a source sample rate to a
95 destination sample rate. It is a new design module compare with the
96 old ASRC.
97
98config SND_SOC_FSL_XCVR
99 tristate "NXP Audio Transceiver (XCVR) module support"
100 select REGMAP_MMIO
101 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
102 select SND_SOC_GENERIC_DMAENGINE_PCM
103 help
104 Say Y if you want to add Audio Transceiver (XCVR) support for NXP
105 iMX CPUs. XCVR is a digital module that supports HDMI2.1 eARC,
106 HDMI1.4 ARC and SPDIF.
107
108config SND_SOC_FSL_AUD2HTX
109 tristate "AUDIO TO HDMI TX module support"
110 depends on ARCH_MXC || COMPILE_TEST
111 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
112 help
113 Say Y if you want to add AUDIO TO HDMI TX support for NXP.
114
115config SND_SOC_FSL_UTILS
116 tristate
117
118config SND_SOC_FSL_RPMSG
119 tristate "NXP Audio Base On RPMSG support"
120 depends on COMMON_CLK
121 depends on RPMSG
122 depends on SND_IMX_SOC || SND_IMX_SOC = n
123 select SND_SOC_IMX_RPMSG if SND_IMX_SOC != n
124 help
125 Say Y if you want to add rpmsg audio support for the Freescale CPUs.
126 This option is only useful for out-of-tree drivers since
127 in-tree drivers select it automatically.
128
129config SND_SOC_IMX_PCM_DMA
130 tristate
131 select SND_SOC_GENERIC_DMAENGINE_PCM
132
133config SND_SOC_IMX_AUDIO_RPMSG
134 tristate
135 depends on RPMSG
136
137config SND_SOC_IMX_PCM_RPMSG
138 tristate
139 depends on SND_SOC_IMX_AUDIO_RPMSG
140 select SND_SOC_GENERIC_DMAENGINE_PCM
141
142config SND_SOC_IMX_AUDMUX
143 tristate "Digital Audio Mux module support"
144 help
145 Say Y if you want to add Digital Audio Mux (AUDMUX) support
146 for the ARM i.MX CPUs.
147 This option is only useful for out-of-tree drivers since
148 in-tree drivers select it automatically.
149
150config SND_POWERPC_SOC
151 tristate "SoC Audio for Freescale PowerPC CPUs"
152 depends on FSL_SOC || PPC_MPC52xx
153 help
154 Say Y or M if you want to add support for codecs attached to
155 the PowerPC CPUs.
156
157config SND_IMX_SOC
158 tristate "SoC Audio for Freescale i.MX CPUs"
159 depends on ARCH_MXC || COMPILE_TEST
160 help
161 Say Y or M if you want to add support for codecs attached to
162 the i.MX CPUs.
163
164if SND_POWERPC_SOC
165
166config SND_MPC52xx_DMA
167 tristate
168
169config SND_SOC_POWERPC_DMA
170 tristate
171
172comment "SoC Audio support for Freescale PPC boards:"
173
174config SND_SOC_MPC8610_HPCD
175 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
176 # I2C is necessary for the CS4270 driver
177 depends on MPC8610_HPCD && I2C
178 select SND_SOC_FSL_SSI
179 select SND_SOC_FSL_UTILS
180 select SND_SOC_POWERPC_DMA
181 select SND_SOC_CS4270
182 select SND_SOC_CS4270_VD33_ERRATA
183 default y if MPC8610_HPCD
184 help
185 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
186
187config SND_SOC_P1022_DS
188 tristate "ALSA SoC support for the Freescale P1022 DS board"
189 # I2C is necessary for the WM8776 driver
190 depends on P1022_DS && I2C
191 select SND_SOC_FSL_SSI
192 select SND_SOC_FSL_UTILS
193 select SND_SOC_POWERPC_DMA
194 select SND_SOC_WM8776
195 default y if P1022_DS
196 help
197 Say Y if you want to enable audio on the Freescale P1022 DS board.
198 This will also include the Wolfson Microelectronics WM8776 codec
199 driver.
200
201config SND_SOC_P1022_RDK
202 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
203 # I2C is necessary for the WM8960 driver
204 depends on P1022_RDK && I2C
205 select SND_SOC_FSL_SSI
206 select SND_SOC_FSL_UTILS
207 select SND_SOC_POWERPC_DMA
208 select SND_SOC_WM8960
209 default y if P1022_RDK
210 help
211 Say Y if you want to enable audio on the Freescale / iVeia
212 P1022 RDK board. This will also include the Wolfson
213 Microelectronics WM8960 codec driver.
214
215config SND_SOC_MPC5200_I2S
216 tristate "Freescale MPC5200 PSC in I2S mode driver"
217 depends on PPC_MPC52xx && PPC_BESTCOMM
218 select SND_MPC52xx_DMA
219 select PPC_BESTCOMM_GEN_BD
220 help
221 Say Y here to support the MPC5200 PSCs in I2S mode.
222
223config SND_SOC_MPC5200_AC97
224 tristate "Freescale MPC5200 PSC in AC97 mode driver"
225 depends on PPC_MPC52xx && PPC_BESTCOMM
226 select SND_SOC_AC97_BUS
227 select SND_MPC52xx_DMA
228 select PPC_BESTCOMM_GEN_BD
229 help
230 Say Y here to support the MPC5200 PSCs in AC97 mode.
231
232config SND_MPC52xx_SOC_PCM030
233 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
234 depends on PPC_MPC5200_SIMPLE
235 select SND_SOC_MPC5200_AC97
236 select SND_SOC_WM9712
237 help
238 Say Y if you want to add support for sound on the Phytec pcm030
239 baseboard.
240
241config SND_MPC52xx_SOC_EFIKA
242 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
243 depends on PPC_EFIKA
244 select SND_SOC_MPC5200_AC97
245 select SND_SOC_STAC9766
246 help
247 Say Y if you want to add support for sound on the Efika.
248
249endif # SND_POWERPC_SOC
250
251config SND_SOC_IMX_PCM_FIQ
252 tristate
253 default y if (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)
254 select FIQ
255
256if SND_IMX_SOC
257
258comment "SoC Audio support for Freescale i.MX boards:"
259
260config SND_SOC_EUKREA_TLV320
261 tristate "Eukrea TLV320"
262 depends on ARCH_MXC && !ARM64 && I2C
263 select SND_SOC_TLV320AIC23_I2C
264 select SND_SOC_IMX_AUDMUX
265 select SND_SOC_FSL_SSI
266 select SND_SOC_IMX_PCM_DMA
267 help
268 Enable I2S based access to the TLV320AIC23B codec attached
269 to the SSI interface
270
271config SND_SOC_IMX_ES8328
272 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
273 depends on OF && (I2C || SPI)
274 select SND_SOC_ES8328_I2C if I2C
275 select SND_SOC_ES8328_SPI if SPI_MASTER
276 select SND_SOC_IMX_PCM_DMA
277 select SND_SOC_IMX_AUDMUX
278 select SND_SOC_FSL_SSI
279 help
280 Say Y if you want to add support for the ES8328 audio codec connected
281 via SSI/I2S over either SPI or I2C.
282
283config SND_SOC_IMX_SGTL5000
284 tristate "SoC Audio support for i.MX boards with sgtl5000"
285 depends on OF && I2C
286 select SND_SOC_SGTL5000
287 select SND_SOC_IMX_PCM_DMA
288 select SND_SOC_IMX_AUDMUX
289 select SND_SOC_FSL_SSI
290 help
291 Say Y if you want to add support for SoC audio on an i.MX board with
292 a sgtl5000 codec.
293
294config SND_SOC_IMX_SPDIF
295 tristate "SoC Audio support for i.MX boards with S/PDIF"
296 select SND_SOC_IMX_PCM_DMA
297 select SND_SOC_FSL_SPDIF
298 help
299 SoC Audio support for i.MX boards with S/PDIF
300 Say Y if you want to add support for SoC audio on an i.MX board with
301 a S/DPDIF.
302
303config SND_SOC_FSL_ASOC_CARD
304 tristate "Generic ASoC Sound Card with ASRC support"
305 depends on OF && I2C
306 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
307 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
308 select SND_SIMPLE_CARD_UTILS
309 select SND_SOC_IMX_AUDMUX
310 select SND_SOC_IMX_PCM_DMA
311 select SND_SOC_FSL_ESAI
312 select SND_SOC_FSL_SAI
313 select SND_SOC_FSL_SSI
314 select SND_SOC_WM8994
315 select MFD_WM8994
316 help
317 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
318 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
319 CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
320 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
321
322config SND_SOC_IMX_AUDMIX
323 tristate "SoC Audio support for i.MX boards with AUDMIX"
324 select SND_SOC_FSL_AUDMIX
325 select SND_SOC_FSL_SAI
326 help
327 SoC Audio support for i.MX boards with Audio Mixer
328 Say Y if you want to add support for SoC audio on an i.MX board with
329 an Audio Mixer.
330
331config SND_SOC_IMX_HDMI
332 tristate "SoC Audio support for i.MX boards with HDMI port"
333 select SND_SOC_FSL_SAI
334 select SND_SOC_FSL_AUD2HTX
335 select SND_SOC_HDMI_CODEC
336 help
337 ALSA SoC Audio support with HDMI feature for Freescale SoCs that have
338 SAI/AUD2HTX and connect with internal HDMI IP or external module
339 SII902X.
340 Say Y if you want to add support for SoC audio on an i.MX board with
341 IMX HDMI.
342
343config SND_SOC_IMX_RPMSG
344 tristate "SoC Audio support for i.MX boards with rpmsg"
345 depends on RPMSG
346 select SND_SOC_IMX_PCM_RPMSG
347 select SND_SOC_IMX_AUDIO_RPMSG
348 help
349 SoC Audio support for i.MX boards with rpmsg.
350 There should be rpmsg devices defined in other core (M core)
351 Say Y if you want to add support for SoC audio on an i.MX board with
352 a rpmsg devices.
353
354config SND_SOC_IMX_CARD
355 tristate "SoC Audio Graph Sound Card support for i.MX boards"
356 depends on OF && I2C
357 select SND_SOC_AK4458
358 select SND_SOC_AK5558
359 select SND_SOC_IMX_PCM_DMA
360 select SND_SOC_FSL_SAI
361 select SND_SIMPLE_CARD_UTILS
362 help
363 This option enables audio sound card support for i.MX boards
364 with OF-graph DT bindings.
365 It also support DPCM of single CPU multi Codec ststem.
366
367endif # SND_IMX_SOC
368
369endmenu