ASoC: phycore-ac97: Remove unused driver
[linux-2.6-microblaze.git] / sound / soc / fsl / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "SoC Audio for Freescale CPUs"
3
4 comment "Common SoC Audio options for Freescale CPUs:"
5
6 config 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
17 config 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
28 config 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
38 config 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
45 config 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
56 config 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
68 config 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
78 config 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
87 config 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
98 config 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
108 config SND_SOC_FSL_AUD2HTX
109         tristate "AUDIO TO HDMI TX module support"
110         help
111           Say Y if you want to add AUDIO TO HDMI TX support for NXP.
112
113 config SND_SOC_FSL_UTILS
114         tristate
115
116 config SND_SOC_IMX_PCM_DMA
117         tristate
118         select SND_SOC_GENERIC_DMAENGINE_PCM
119
120 config SND_SOC_IMX_AUDMUX
121         tristate "Digital Audio Mux module support"
122         help
123           Say Y if you want to add Digital Audio Mux (AUDMUX) support
124           for the ARM i.MX CPUs.
125           This option is only useful for out-of-tree drivers since
126           in-tree drivers select it automatically.
127
128 config SND_POWERPC_SOC
129         tristate "SoC Audio for Freescale PowerPC CPUs"
130         depends on FSL_SOC || PPC_MPC52xx
131         help
132           Say Y or M if you want to add support for codecs attached to
133           the PowerPC CPUs.
134
135 config SND_IMX_SOC
136         tristate "SoC Audio for Freescale i.MX CPUs"
137         depends on ARCH_MXC || COMPILE_TEST
138         help
139           Say Y or M if you want to add support for codecs attached to
140           the i.MX CPUs.
141
142 if SND_POWERPC_SOC
143
144 config SND_MPC52xx_DMA
145         tristate
146
147 config SND_SOC_POWERPC_DMA
148         tristate
149
150 comment "SoC Audio support for Freescale PPC boards:"
151
152 config SND_SOC_MPC8610_HPCD
153         tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
154         # I2C is necessary for the CS4270 driver
155         depends on MPC8610_HPCD && I2C
156         select SND_SOC_FSL_SSI
157         select SND_SOC_FSL_UTILS
158         select SND_SOC_POWERPC_DMA
159         select SND_SOC_CS4270
160         select SND_SOC_CS4270_VD33_ERRATA
161         default y if MPC8610_HPCD
162         help
163           Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
164
165 config SND_SOC_P1022_DS
166         tristate "ALSA SoC support for the Freescale P1022 DS board"
167         # I2C is necessary for the WM8776 driver
168         depends on P1022_DS && I2C
169         select SND_SOC_FSL_SSI
170         select SND_SOC_FSL_UTILS
171         select SND_SOC_POWERPC_DMA
172         select SND_SOC_WM8776
173         default y if P1022_DS
174         help
175           Say Y if you want to enable audio on the Freescale P1022 DS board.
176           This will also include the Wolfson Microelectronics WM8776 codec
177           driver.
178
179 config SND_SOC_P1022_RDK
180         tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
181         # I2C is necessary for the WM8960 driver
182         depends on P1022_RDK && I2C
183         select SND_SOC_FSL_SSI
184         select SND_SOC_FSL_UTILS
185         select SND_SOC_POWERPC_DMA
186         select SND_SOC_WM8960
187         default y if P1022_RDK
188         help
189           Say Y if you want to enable audio on the Freescale / iVeia
190           P1022 RDK board.  This will also include the Wolfson
191           Microelectronics WM8960 codec driver.
192
193 config SND_SOC_MPC5200_I2S
194         tristate "Freescale MPC5200 PSC in I2S mode driver"
195         depends on PPC_MPC52xx && PPC_BESTCOMM
196         select SND_MPC52xx_DMA
197         select PPC_BESTCOMM_GEN_BD
198         help
199           Say Y here to support the MPC5200 PSCs in I2S mode.
200
201 config SND_SOC_MPC5200_AC97
202         tristate "Freescale MPC5200 PSC in AC97 mode driver"
203         depends on PPC_MPC52xx && PPC_BESTCOMM
204         select SND_SOC_AC97_BUS
205         select SND_MPC52xx_DMA
206         select PPC_BESTCOMM_GEN_BD
207         help
208           Say Y here to support the MPC5200 PSCs in AC97 mode.
209
210 config SND_MPC52xx_SOC_PCM030
211         tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
212         depends on PPC_MPC5200_SIMPLE
213         select SND_SOC_MPC5200_AC97
214         select SND_SOC_WM9712
215         help
216           Say Y if you want to add support for sound on the Phytec pcm030
217           baseboard.
218
219 config SND_MPC52xx_SOC_EFIKA
220         tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
221         depends on PPC_EFIKA
222         select SND_SOC_MPC5200_AC97
223         select SND_SOC_STAC9766
224         help
225           Say Y if you want to add support for sound on the Efika.
226
227 endif # SND_POWERPC_SOC
228
229 config SND_SOC_IMX_PCM_FIQ
230         tristate
231         default y if SND_SOC_IMX_SSI=y && (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)
232         select FIQ
233
234 if SND_IMX_SOC
235
236 config SND_SOC_IMX_SSI
237         tristate
238         select SND_SOC_FSL_UTILS
239
240 comment "SoC Audio support for Freescale i.MX boards:"
241
242 config SND_SOC_EUKREA_TLV320
243         tristate "Eukrea TLV320"
244         depends on ARCH_MXC && !ARM64 && I2C
245         select SND_SOC_TLV320AIC23_I2C
246         select SND_SOC_IMX_AUDMUX
247         select SND_SOC_IMX_SSI
248         select SND_SOC_FSL_SSI
249         select SND_SOC_IMX_PCM_DMA
250         help
251           Enable I2S based access to the TLV320AIC23B codec attached
252           to the SSI interface
253
254 config SND_SOC_IMX_ES8328
255         tristate "SoC Audio support for i.MX boards with the ES8328 codec"
256         depends on OF && (I2C || SPI)
257         select SND_SOC_ES8328_I2C if I2C
258         select SND_SOC_ES8328_SPI if SPI_MASTER
259         select SND_SOC_IMX_PCM_DMA
260         select SND_SOC_IMX_AUDMUX
261         select SND_SOC_FSL_SSI
262         help
263           Say Y if you want to add support for the ES8328 audio codec connected
264           via SSI/I2S over either SPI or I2C.
265
266 config SND_SOC_IMX_SGTL5000
267         tristate "SoC Audio support for i.MX boards with sgtl5000"
268         depends on OF && I2C
269         select SND_SOC_SGTL5000
270         select SND_SOC_IMX_PCM_DMA
271         select SND_SOC_IMX_AUDMUX
272         select SND_SOC_FSL_SSI
273         help
274           Say Y if you want to add support for SoC audio on an i.MX board with
275           a sgtl5000 codec.
276
277 config SND_SOC_IMX_SPDIF
278         tristate "SoC Audio support for i.MX boards with S/PDIF"
279         select SND_SOC_IMX_PCM_DMA
280         select SND_SOC_FSL_SPDIF
281         help
282           SoC Audio support for i.MX boards with S/PDIF
283           Say Y if you want to add support for SoC audio on an i.MX board with
284           a S/DPDIF.
285
286 config SND_SOC_IMX_MC13783
287         tristate "SoC Audio support for I.MX boards with mc13783"
288         depends on MFD_MC13XXX && ARM
289         select SND_SOC_IMX_SSI
290         select SND_SOC_IMX_AUDMUX
291         select SND_SOC_MC13783
292         select SND_SOC_IMX_PCM_DMA
293
294 config SND_SOC_FSL_ASOC_CARD
295         tristate "Generic ASoC Sound Card with ASRC support"
296         depends on OF && I2C
297         # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
298         depends on SND_AC97_CODEC || SND_AC97_CODEC=n
299         select SND_SIMPLE_CARD_UTILS
300         select SND_SOC_IMX_AUDMUX
301         select SND_SOC_IMX_PCM_DMA
302         select SND_SOC_FSL_ESAI
303         select SND_SOC_FSL_SAI
304         select SND_SOC_FSL_SSI
305         help
306          ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
307          ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
308          CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
309          Say Y if you want to add support for Freescale Generic ASoC Sound Card.
310
311 config SND_SOC_IMX_AUDMIX
312         tristate "SoC Audio support for i.MX boards with AUDMIX"
313         select SND_SOC_FSL_AUDMIX
314         select SND_SOC_FSL_SAI
315         help
316           SoC Audio support for i.MX boards with Audio Mixer
317           Say Y if you want to add support for SoC audio on an i.MX board with
318           an Audio Mixer.
319
320 endif # SND_IMX_SOC
321
322 endmenu