]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - sound/soc/fsl/Kconfig
ASoC: fsl: refine DMA/FIQ dependencies
[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_SAI
6         tristate "Synchronous Audio Interface (SAI) module support"
7         select REGMAP_MMIO
8         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
9         select SND_SOC_GENERIC_DMAENGINE_PCM
10         help
11           Say Y if you want to add Synchronous Audio Interface (SAI)
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_SSI
17         tristate "Synchronous Serial Interface module support"
18         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
19         select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
20         select REGMAP_MMIO
21         help
22           Say Y if you want to add Synchronous Serial Interface (SSI)
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_SPDIF
28         tristate "Sony/Philips Digital Interface module support"
29         select REGMAP_MMIO
30         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
31         select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
32         help
33           Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
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_ESAI
39         tristate "Enhanced Serial Audio Interface (ESAI) module support"
40         select REGMAP_MMIO
41         select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
42         select SND_SOC_FSL_UTILS
43         help
44           Say Y if you want to add Enhanced Synchronous Audio Interface
45           (ESAI) 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_UTILS
50         tristate
51
52 config SND_SOC_IMX_PCM_DMA
53         tristate
54         select SND_SOC_GENERIC_DMAENGINE_PCM
55
56 config SND_SOC_IMX_AUDMUX
57         tristate "Digital Audio Mux module support"
58         help
59           Say Y if you want to add Digital Audio Mux (AUDMUX) support
60           for the ARM i.MX CPUs.
61           This option is only useful for out-of-tree drivers since
62           in-tree drivers select it automatically.
63
64 config SND_POWERPC_SOC
65         tristate "SoC Audio for Freescale PowerPC CPUs"
66         depends on FSL_SOC || PPC_MPC52xx
67         help
68           Say Y or M if you want to add support for codecs attached to
69           the PowerPC CPUs.
70
71 config SND_IMX_SOC
72         tristate "SoC Audio for Freescale i.MX CPUs"
73         depends on ARCH_MXC || COMPILE_TEST
74         help
75           Say Y or M if you want to add support for codecs attached to
76           the i.MX CPUs.
77
78 if SND_POWERPC_SOC
79
80 config SND_MPC52xx_DMA
81         tristate
82
83 config SND_SOC_POWERPC_DMA
84         tristate
85
86 comment "SoC Audio support for Freescale PPC boards:"
87
88 config SND_SOC_MPC8610_HPCD
89         tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
90         # I2C is necessary for the CS4270 driver
91         depends on MPC8610_HPCD && I2C
92         select SND_SOC_FSL_SSI
93         select SND_SOC_FSL_UTILS
94         select SND_SOC_POWERPC_DMA
95         select SND_SOC_CS4270
96         select SND_SOC_CS4270_VD33_ERRATA
97         default y if MPC8610_HPCD
98         help
99           Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
100
101 config SND_SOC_P1022_DS
102         tristate "ALSA SoC support for the Freescale P1022 DS board"
103         # I2C is necessary for the WM8776 driver
104         depends on P1022_DS && I2C
105         select SND_SOC_FSL_SSI
106         select SND_SOC_FSL_UTILS
107         select SND_SOC_POWERPC_DMA
108         select SND_SOC_WM8776
109         default y if P1022_DS
110         help
111           Say Y if you want to enable audio on the Freescale P1022 DS board.
112           This will also include the Wolfson Microelectronics WM8776 codec
113           driver.
114
115 config SND_SOC_P1022_RDK
116         tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
117         # I2C is necessary for the WM8960 driver
118         depends on P1022_RDK && I2C
119         select SND_SOC_FSL_SSI
120         select SND_SOC_FSL_UTILS
121         select SND_SOC_POWERPC_DMA
122         select SND_SOC_WM8960
123         default y if P1022_RDK
124         help
125           Say Y if you want to enable audio on the Freescale / iVeia
126           P1022 RDK board.  This will also include the Wolfson
127           Microelectronics WM8960 codec driver.
128
129 config SND_SOC_MPC5200_I2S
130         tristate "Freescale MPC5200 PSC in I2S mode driver"
131         depends on PPC_MPC52xx && PPC_BESTCOMM
132         select SND_MPC52xx_DMA
133         select PPC_BESTCOMM_GEN_BD
134         help
135           Say Y here to support the MPC5200 PSCs in I2S mode.
136
137 config SND_SOC_MPC5200_AC97
138         tristate "Freescale MPC5200 PSC in AC97 mode driver"
139         depends on PPC_MPC52xx && PPC_BESTCOMM
140         select SND_SOC_AC97_BUS
141         select SND_MPC52xx_DMA
142         select PPC_BESTCOMM_GEN_BD
143         help
144           Say Y here to support the MPC5200 PSCs in AC97 mode.
145
146 config SND_MPC52xx_SOC_PCM030
147         tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
148         depends on PPC_MPC5200_SIMPLE
149         select SND_SOC_MPC5200_AC97
150         select SND_SOC_WM9712
151         help
152           Say Y if you want to add support for sound on the Phytec pcm030
153           baseboard.
154
155 config SND_MPC52xx_SOC_EFIKA
156         tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
157         depends on PPC_EFIKA
158         select SND_SOC_MPC5200_AC97
159         select SND_SOC_STAC9766
160         help
161           Say Y if you want to add support for sound on the Efika.
162
163 endif # SND_POWERPC_SOC
164
165 if SND_IMX_SOC
166
167 config SND_SOC_IMX_SSI
168         tristate
169
170 config SND_SOC_IMX_PCM_FIQ
171         tristate
172         select FIQ
173
174 comment "SoC Audio support for Freescale i.MX boards:"
175
176 config SND_MXC_SOC_WM1133_EV1
177         tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
178         depends on MACH_MX31ADS_WM1133_EV1
179         select SND_SOC_WM8350
180         select SND_SOC_IMX_PCM_FIQ
181         select SND_SOC_IMX_AUDMUX
182         select SND_SOC_IMX_SSI
183         help
184           Enable support for audio on the i.MX31ADS with the WM1133-EV1
185           PMIC board with WM8835x fitted.
186
187 config SND_SOC_MX27VIS_AIC32X4
188         tristate "SoC audio support for Visstrim M10 boards"
189         depends on MACH_IMX27_VISSTRIM_M10 && I2C
190         select SND_SOC_TLV320AIC32X4
191         select SND_SOC_IMX_PCM_DMA
192         select SND_SOC_IMX_AUDMUX
193         select SND_SOC_IMX_SSI
194         help
195           Say Y if you want to add support for SoC audio on Visstrim SM10
196           board with TLV320AIC32X4 codec.
197
198 config SND_SOC_PHYCORE_AC97
199         tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
200         depends on MACH_PCM043 || MACH_PCA100
201         select SND_SOC_AC97_BUS
202         select SND_SOC_WM9712
203         select SND_SOC_IMX_PCM_FIQ
204         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 Phytec phyCORE
208           and phyCARD boards in AC97 mode
209
210 config SND_SOC_EUKREA_TLV320
211         tristate "Eukrea TLV320"
212         depends on MACH_EUKREA_MBIMX27_BASEBOARD \
213                 || MACH_EUKREA_MBIMXSD25_BASEBOARD \
214                 || MACH_EUKREA_MBIMXSD35_BASEBOARD \
215                 || MACH_EUKREA_MBIMXSD51_BASEBOARD
216         depends on I2C
217         select SND_SOC_TLV320AIC23
218         select SND_SOC_IMX_PCM_FIQ
219         select SND_SOC_IMX_AUDMUX
220         select SND_SOC_IMX_SSI
221         help
222           Enable I2S based access to the TLV320AIC23B codec attached
223           to the SSI interface
224
225 config SND_SOC_IMX_WM8962
226         tristate "SoC Audio support for i.MX boards with wm8962"
227         depends on OF && I2C
228         select SND_SOC_WM8962
229         select SND_SOC_IMX_PCM_DMA
230         select SND_SOC_IMX_AUDMUX
231         select SND_SOC_FSL_SSI
232         help
233           Say Y if you want to add support for SoC audio on an i.MX board with
234           a wm8962 codec.
235
236 config SND_SOC_IMX_SGTL5000
237         tristate "SoC Audio support for i.MX boards with sgtl5000"
238         depends on OF && I2C
239         select SND_SOC_SGTL5000
240         select SND_SOC_IMX_PCM_DMA
241         select SND_SOC_IMX_AUDMUX
242         select SND_SOC_FSL_SSI
243         help
244           Say Y if you want to add support for SoC audio on an i.MX board with
245           a sgtl5000 codec.
246
247 config SND_SOC_IMX_SPDIF
248         tristate "SoC Audio support for i.MX boards with S/PDIF"
249         select SND_SOC_IMX_PCM_DMA
250         select SND_SOC_FSL_SPDIF
251         help
252           SoC Audio support for i.MX boards with S/PDIF
253           Say Y if you want to add support for SoC audio on an i.MX board with
254           a S/DPDIF.
255
256 config SND_SOC_IMX_MC13783
257         tristate "SoC Audio support for I.MX boards with mc13783"
258         depends on MFD_MC13XXX && ARM
259         select SND_SOC_IMX_SSI
260         select SND_SOC_IMX_AUDMUX
261         select SND_SOC_MC13783
262         select SND_SOC_IMX_PCM_DMA
263
264 endif # SND_IMX_SOC
265
266 endmenu