Merge tag 'for-linus-20160801' of git://git.infradead.org/linux-mtd
[deliverable/linux.git] / sound / soc / fsl / Kconfig
1 menu "SoC Audio for Freescale CPUs"
2
3 comment "Common SoC Audio options for Freescale CPUs:"
4
5 config SND_SOC_FSL_ASRC
6 tristate "Asynchronous Sample Rate Converter (ASRC) module support"
7 depends on HAS_DMA
8 select REGMAP_MMIO
9 select SND_SOC_GENERIC_DMAENGINE_PCM
10 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
16 config SND_SOC_FSL_SAI
17 tristate "Synchronous Audio Interface (SAI) module support"
18 select REGMAP_MMIO
19 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
20 select SND_SOC_GENERIC_DMAENGINE_PCM
21 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.
26
27 config SND_SOC_FSL_SSI
28 tristate "Synchronous Serial Interface module (SSI) support"
29 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
30 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
31 select REGMAP_MMIO
32 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.
37
38 config SND_SOC_FSL_SPDIF
39 tristate "Sony/Philips Digital Interface (S/PDIF) module support"
40 select REGMAP_MMIO
41 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
42 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
43 help
44 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
45 support for the Freescale CPUs.
46 This option is only useful for out-of-tree drivers since
47 in-tree drivers select it automatically.
48
49 config SND_SOC_FSL_ESAI
50 tristate "Enhanced Serial Audio Interface (ESAI) module support"
51 select REGMAP_MMIO
52 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
53 help
54 Say Y if you want to add Enhanced Synchronous Audio Interface
55 (ESAI) support for the Freescale CPUs.
56 This option is only useful for out-of-tree drivers since
57 in-tree drivers select it automatically.
58
59 config SND_SOC_FSL_UTILS
60 tristate
61
62 config SND_SOC_IMX_PCM_DMA
63 tristate
64 select SND_SOC_GENERIC_DMAENGINE_PCM
65
66 config SND_SOC_IMX_AUDMUX
67 tristate "Digital Audio Mux module support"
68 help
69 Say Y if you want to add Digital Audio Mux (AUDMUX) support
70 for the ARM i.MX CPUs.
71 This option is only useful for out-of-tree drivers since
72 in-tree drivers select it automatically.
73
74 config SND_POWERPC_SOC
75 tristate "SoC Audio for Freescale PowerPC CPUs"
76 depends on FSL_SOC || PPC_MPC52xx
77 help
78 Say Y or M if you want to add support for codecs attached to
79 the PowerPC CPUs.
80
81 config SND_IMX_SOC
82 tristate "SoC Audio for Freescale i.MX CPUs"
83 depends on ARCH_MXC || COMPILE_TEST
84 help
85 Say Y or M if you want to add support for codecs attached to
86 the i.MX CPUs.
87
88 if SND_POWERPC_SOC
89
90 config SND_MPC52xx_DMA
91 tristate
92
93 config SND_SOC_POWERPC_DMA
94 tristate
95
96 comment "SoC Audio support for Freescale PPC boards:"
97
98 config SND_SOC_MPC8610_HPCD
99 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
100 # I2C is necessary for the CS4270 driver
101 depends on MPC8610_HPCD && I2C
102 select SND_SOC_FSL_SSI
103 select SND_SOC_FSL_UTILS
104 select SND_SOC_POWERPC_DMA
105 select SND_SOC_CS4270
106 select SND_SOC_CS4270_VD33_ERRATA
107 default y if MPC8610_HPCD
108 help
109 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
110
111 config SND_SOC_P1022_DS
112 tristate "ALSA SoC support for the Freescale P1022 DS board"
113 # I2C is necessary for the WM8776 driver
114 depends on P1022_DS && I2C
115 select SND_SOC_FSL_SSI
116 select SND_SOC_FSL_UTILS
117 select SND_SOC_POWERPC_DMA
118 select SND_SOC_WM8776
119 default y if P1022_DS
120 help
121 Say Y if you want to enable audio on the Freescale P1022 DS board.
122 This will also include the Wolfson Microelectronics WM8776 codec
123 driver.
124
125 config SND_SOC_P1022_RDK
126 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
127 # I2C is necessary for the WM8960 driver
128 depends on P1022_RDK && I2C
129 select SND_SOC_FSL_SSI
130 select SND_SOC_FSL_UTILS
131 select SND_SOC_POWERPC_DMA
132 select SND_SOC_WM8960
133 default y if P1022_RDK
134 help
135 Say Y if you want to enable audio on the Freescale / iVeia
136 P1022 RDK board. This will also include the Wolfson
137 Microelectronics WM8960 codec driver.
138
139 config SND_SOC_MPC5200_I2S
140 tristate "Freescale MPC5200 PSC in I2S mode driver"
141 depends on PPC_MPC52xx && PPC_BESTCOMM
142 select SND_MPC52xx_DMA
143 select PPC_BESTCOMM_GEN_BD
144 help
145 Say Y here to support the MPC5200 PSCs in I2S mode.
146
147 config SND_SOC_MPC5200_AC97
148 tristate "Freescale MPC5200 PSC in AC97 mode driver"
149 depends on PPC_MPC52xx && PPC_BESTCOMM
150 select SND_SOC_AC97_BUS
151 select SND_MPC52xx_DMA
152 select PPC_BESTCOMM_GEN_BD
153 help
154 Say Y here to support the MPC5200 PSCs in AC97 mode.
155
156 config SND_MPC52xx_SOC_PCM030
157 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
158 depends on PPC_MPC5200_SIMPLE
159 select SND_SOC_MPC5200_AC97
160 select SND_SOC_WM9712
161 help
162 Say Y if you want to add support for sound on the Phytec pcm030
163 baseboard.
164
165 config SND_MPC52xx_SOC_EFIKA
166 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
167 depends on PPC_EFIKA
168 select SND_SOC_MPC5200_AC97
169 select SND_SOC_STAC9766
170 help
171 Say Y if you want to add support for sound on the Efika.
172
173 endif # SND_POWERPC_SOC
174
175 if SND_IMX_SOC
176
177 config SND_SOC_IMX_SSI
178 tristate
179 select SND_SOC_FSL_UTILS
180
181 config SND_SOC_IMX_PCM_FIQ
182 tristate
183 select FIQ
184
185 comment "SoC Audio support for Freescale i.MX boards:"
186
187 config SND_MXC_SOC_WM1133_EV1
188 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
189 depends on MACH_MX31ADS_WM1133_EV1
190 select SND_SOC_WM8350
191 select SND_SOC_IMX_PCM_FIQ
192 select SND_SOC_IMX_AUDMUX
193 select SND_SOC_IMX_SSI
194 help
195 Enable support for audio on the i.MX31ADS with the WM1133-EV1
196 PMIC board with WM8835x fitted.
197
198 config SND_SOC_MX27VIS_AIC32X4
199 tristate "SoC audio support for Visstrim M10 boards"
200 depends on MACH_IMX27_VISSTRIM_M10 && I2C
201 select SND_SOC_TLV320AIC32X4
202 select SND_SOC_IMX_PCM_DMA
203 select SND_SOC_IMX_AUDMUX
204 select SND_SOC_IMX_SSI
205 help
206 Say Y if you want to add support for SoC audio on Visstrim SM10
207 board with TLV320AIC32X4 codec.
208
209 config SND_SOC_PHYCORE_AC97
210 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
211 depends on MACH_PCM043 || MACH_PCA100
212 select SND_SOC_AC97_BUS
213 select SND_SOC_WM9712
214 select SND_SOC_IMX_PCM_FIQ
215 select SND_SOC_IMX_AUDMUX
216 select SND_SOC_IMX_SSI
217 help
218 Say Y if you want to add support for SoC audio on Phytec phyCORE
219 and phyCARD boards in AC97 mode
220
221 config SND_SOC_EUKREA_TLV320
222 tristate "Eukrea TLV320"
223 depends on ARCH_MXC && I2C
224 select SND_SOC_TLV320AIC23_I2C
225 select SND_SOC_IMX_AUDMUX
226 select SND_SOC_IMX_SSI
227 select SND_SOC_FSL_SSI
228 select SND_SOC_IMX_PCM_DMA
229 help
230 Enable I2S based access to the TLV320AIC23B codec attached
231 to the SSI interface
232
233 config SND_SOC_IMX_WM8962
234 tristate "SoC Audio support for i.MX boards with wm8962"
235 depends on OF && I2C && INPUT
236 select SND_SOC_WM8962
237 select SND_SOC_IMX_PCM_DMA
238 select SND_SOC_IMX_AUDMUX
239 select SND_SOC_FSL_SSI
240 help
241 Say Y if you want to add support for SoC audio on an i.MX board with
242 a wm8962 codec.
243
244 config SND_SOC_IMX_ES8328
245 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
246 depends on OF && (I2C || SPI)
247 select SND_SOC_ES8328_I2C if I2C
248 select SND_SOC_ES8328_SPI if SPI_MASTER
249 select SND_SOC_IMX_PCM_DMA
250 select SND_SOC_IMX_AUDMUX
251 select SND_SOC_FSL_SSI
252 help
253 Say Y if you want to add support for the ES8328 audio codec connected
254 via SSI/I2S over either SPI or I2C.
255
256 config SND_SOC_IMX_SGTL5000
257 tristate "SoC Audio support for i.MX boards with sgtl5000"
258 depends on OF && I2C
259 select SND_SOC_SGTL5000
260 select SND_SOC_IMX_PCM_DMA
261 select SND_SOC_IMX_AUDMUX
262 select SND_SOC_FSL_SSI
263 help
264 Say Y if you want to add support for SoC audio on an i.MX board with
265 a sgtl5000 codec.
266
267 config SND_SOC_IMX_SPDIF
268 tristate "SoC Audio support for i.MX boards with S/PDIF"
269 select SND_SOC_IMX_PCM_DMA
270 select SND_SOC_FSL_SPDIF
271 help
272 SoC Audio support for i.MX boards with S/PDIF
273 Say Y if you want to add support for SoC audio on an i.MX board with
274 a S/DPDIF.
275
276 config SND_SOC_IMX_MC13783
277 tristate "SoC Audio support for I.MX boards with mc13783"
278 depends on MFD_MC13XXX && ARM
279 select SND_SOC_IMX_SSI
280 select SND_SOC_IMX_AUDMUX
281 select SND_SOC_MC13783
282 select SND_SOC_IMX_PCM_DMA
283
284 config SND_SOC_FSL_ASOC_CARD
285 tristate "Generic ASoC Sound Card with ASRC support"
286 depends on OF && I2C
287 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
288 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
289 select SND_SOC_IMX_AUDMUX
290 select SND_SOC_IMX_PCM_DMA
291 select SND_SOC_FSL_ESAI
292 select SND_SOC_FSL_SAI
293 select SND_SOC_FSL_SSI
294 help
295 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
296 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
297 CS4271, CS4272 and SGTL5000.
298 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
299
300 endif # SND_IMX_SOC
301
302 endmenu
This page took 0.197623 seconds and 5 git commands to generate.