]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - sound/soc/fsl/Kconfig
ASoC: fsl: select FSL_SSI or FSL_SAI depending on selected SOC types
[karo-tx-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         select REGMAP_MMIO
8         select SND_SOC_GENERIC_DMAENGINE_PCM
9         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
15 config SND_SOC_FSL_SAI
16         tristate "Synchronous Audio Interface (SAI) module support"
17         select REGMAP_MMIO
18         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
19         select SND_SOC_GENERIC_DMAENGINE_PCM
20         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.
25
26 config SND_SOC_FSL_SSI
27         tristate "Synchronous Serial Interface module (SSI) support"
28         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
29         select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
30         select REGMAP_MMIO
31         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.
36
37 config SND_SOC_FSL_SPDIF
38         tristate "Sony/Philips Digital Interface (S/PDIF) module support"
39         select REGMAP_MMIO
40         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
41         select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
42         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.
47
48 config SND_SOC_FSL_ESAI
49         tristate "Enhanced Serial Audio Interface (ESAI) module support"
50         select REGMAP_MMIO
51         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
52         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.
57
58 config SND_SOC_FSL_UTILS
59         tristate
60
61 config SND_SOC_IMX_PCM_DMA
62         tristate
63         select SND_SOC_GENERIC_DMAENGINE_PCM
64
65 config SND_SOC_IMX_AUDMUX
66         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.
72
73 config SND_POWERPC_SOC
74         tristate "SoC Audio for Freescale PowerPC CPUs"
75         depends on FSL_SOC || PPC_MPC52xx
76         help
77           Say Y or M if you want to add support for codecs attached to
78           the PowerPC CPUs.
79
80 config 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
87 if SND_POWERPC_SOC
88
89 config SND_MPC52xx_DMA
90         tristate
91
92 config SND_SOC_POWERPC_DMA
93         tristate
94
95 comment "SoC Audio support for Freescale PPC boards:"
96
97 config SND_SOC_MPC8610_HPCD
98         tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
99         # I2C is necessary for the CS4270 driver
100         depends on MPC8610_HPCD && I2C
101         select SND_SOC_FSL_SSI
102         select SND_SOC_FSL_UTILS
103         select SND_SOC_POWERPC_DMA
104         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.
109
110 config 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
114         select SND_SOC_FSL_SSI
115         select SND_SOC_FSL_UTILS
116         select SND_SOC_POWERPC_DMA
117         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
124 config 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
138 config SND_SOC_MPC5200_I2S
139         tristate "Freescale MPC5200 PSC in I2S mode driver"
140         depends on PPC_MPC52xx && PPC_BESTCOMM
141         select SND_MPC52xx_DMA
142         select PPC_BESTCOMM_GEN_BD
143         help
144           Say Y here to support the MPC5200 PSCs in I2S mode.
145
146 config SND_SOC_MPC5200_AC97
147         tristate "Freescale MPC5200 PSC in AC97 mode driver"
148         depends on PPC_MPC52xx && PPC_BESTCOMM
149         select SND_SOC_AC97_BUS
150         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
155 config SND_MPC52xx_SOC_PCM030
156         tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
157         depends on PPC_MPC5200_SIMPLE
158         select SND_SOC_MPC5200_AC97
159         select SND_SOC_WM9712
160         help
161           Say Y if you want to add support for sound on the Phytec pcm030
162           baseboard.
163
164 config SND_MPC52xx_SOC_EFIKA
165         tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
166         depends on PPC_EFIKA
167         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
172 endif # SND_POWERPC_SOC
173
174 if SND_IMX_SOC
175
176 config SND_SOC_IMX_SSI
177         tristate
178         select SND_SOC_FSL_UTILS
179
180 config SND_SOC_IMX_PCM_FIQ
181         tristate
182         select FIQ
183
184 comment "SoC Audio support for Freescale i.MX boards:"
185
186 config SND_MXC_SOC_WM1133_EV1
187         tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
188         depends on MACH_MX31ADS_WM1133_EV1
189         select SND_SOC_WM8350
190         select SND_SOC_IMX_PCM_FIQ
191         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
197 config 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
201         select SND_SOC_IMX_PCM_DMA
202         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
208 config 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
213         select SND_SOC_IMX_PCM_FIQ
214         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
220 config SND_SOC_EUKREA_TLV320
221         tristate "Eukrea TLV320"
222         depends on ARCH_MXC && I2C
223         select SND_SOC_TLV320AIC23_I2C
224         select SND_SOC_IMX_AUDMUX
225         select SND_SOC_IMX_SSI
226         select SND_SOC_FSL_SSI
227         select SND_SOC_IMX_PCM_DMA
228         help
229           Enable I2S based access to the TLV320AIC23B codec attached
230           to the SSI interface
231
232 config SND_SOC_IMX_WM8962
233         tristate "SoC Audio support for i.MX boards with wm8962"
234         depends on OF && I2C && INPUT
235         select SND_SOC_WM8962
236         select SND_SOC_IMX_PCM_DMA
237         select SND_SOC_IMX_AUDMUX
238         select SND_SOC_FSL_SSI
239         help
240           Say Y if you want to add support for SoC audio on an i.MX board with
241           a wm8962 codec.
242
243 config 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
251         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
255 config 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_SAI if SOC_IMX6SX || SOC_IMX6UL
262         select SND_SOC_FSL_SSI if SOC_IMX6Q || SOC_IMX6SL
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         select SND_SOC_IMX_AUDMUX
288         select SND_SOC_IMX_PCM_DMA
289         select SND_SOC_FSL_ESAI
290         select SND_SOC_FSL_SAI
291         select SND_SOC_FSL_SSI
292         help
293          ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
294          ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888
295          and SGTL5000.
296          Say Y if you want to add support for Freescale Generic ASoC Sound Card.
297
298 endif # SND_IMX_SOC
299
300 endmenu