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