Commit | Line | Data |
---|---|---|
eba9e06f AS |
1 | menu "SoC Audio for Freescale CPUs" |
2 | ||
204dec93 AS |
3 | comment "Common SoC Audio options for Freescale CPUs:" |
4 | ||
3117bb31 NC |
5 | config SND_SOC_FSL_ASRC |
6 | tristate "Asynchronous Sample Rate Converter (ASRC) module support" | |
7 | select REGMAP_MMIO | |
bdb9eb49 | 8 | select SND_SOC_GENERIC_DMAENGINE_PCM |
3117bb31 NC |
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 | ||
43550821 | 15 | config SND_SOC_FSL_SAI |
b71fc4e6 | 16 | tristate "Synchronous Audio Interface (SAI) module support" |
7d150c60 | 17 | select REGMAP_MMIO |
ff40260f | 18 | select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n |
43550821 | 19 | select SND_SOC_GENERIC_DMAENGINE_PCM |
b71fc4e6 XL |
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. | |
43550821 | 25 | |
a23dc694 | 26 | config SND_SOC_FSL_SSI |
1169006b | 27 | tristate "Synchronous Serial Interface module (SSI) support" |
31ee2bfd | 28 | select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n |
ff40260f | 29 | select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC) |
43248122 | 30 | select REGMAP_MMIO |
204dec93 AS |
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. | |
84bc278b | 36 | |
a2388a49 | 37 | config SND_SOC_FSL_SPDIF |
1169006b | 38 | tristate "Sony/Philips Digital Interface (S/PDIF) module support" |
7d150c60 | 39 | select REGMAP_MMIO |
31ee2bfd | 40 | select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n |
ff40260f | 41 | select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC) |
204dec93 AS |
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. | |
a2388a49 | 47 | |
43d24e76 | 48 | config SND_SOC_FSL_ESAI |
40e3b934 | 49 | tristate "Enhanced Serial Audio Interface (ESAI) module support" |
7d150c60 | 50 | select REGMAP_MMIO |
ff40260f | 51 | select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n |
40e3b934 XL |
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. | |
43d24e76 | 57 | |
60aae8da | 58 | config SND_SOC_FSL_UTILS |
75d91f9b | 59 | tristate |
60aae8da | 60 | |
eba9e06f AS |
61 | config SND_SOC_IMX_PCM_DMA |
62 | tristate | |
63 | select SND_SOC_GENERIC_DMAENGINE_PCM | |
64 | ||
65 | config SND_SOC_IMX_AUDMUX | |
204dec93 AS |
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. | |
eba9e06f AS |
72 | |
73 | config SND_POWERPC_SOC | |
a23dc694 | 74 | tristate "SoC Audio for Freescale PowerPC CPUs" |
f99ddef0 | 75 | depends on FSL_SOC || PPC_MPC52xx |
a23dc694 SG |
76 | help |
77 | Say Y or M if you want to add support for codecs attached to | |
78 | the PowerPC CPUs. | |
79 | ||
eba9e06f AS |
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 | ||
a23dc694 SG |
87 | if SND_POWERPC_SOC |
88 | ||
89dd0842 JS |
89 | config SND_MPC52xx_DMA |
90 | tristate | |
84bc278b | 91 | |
d61e1126 | 92 | config SND_SOC_POWERPC_DMA |
75d91f9b | 93 | tristate |
17467f23 | 94 | |
eba9e06f AS |
95 | comment "SoC Audio support for Freescale PPC boards:" |
96 | ||
17467f23 | 97 | config SND_SOC_MPC8610_HPCD |
75d91f9b | 98 | tristate "ALSA SoC support for the Freescale MPC8610 HPCD board" |
ff637d38 TT |
99 | # I2C is necessary for the CS4270 driver |
100 | depends on MPC8610_HPCD && I2C | |
d61e1126 | 101 | select SND_SOC_FSL_SSI |
60aae8da | 102 | select SND_SOC_FSL_UTILS |
d61e1126 | 103 | select SND_SOC_POWERPC_DMA |
17467f23 TT |
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. | |
dc641378 | 109 | |
27ef3744 TT |
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 | |
d61e1126 | 114 | select SND_SOC_FSL_SSI |
60aae8da | 115 | select SND_SOC_FSL_UTILS |
d61e1126 | 116 | select SND_SOC_POWERPC_DMA |
27ef3744 TT |
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 | ||
96a0af6d TT |
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 | ||
dc641378 GL |
138 | config SND_SOC_MPC5200_I2S |
139 | tristate "Freescale MPC5200 PSC in I2S mode driver" | |
6574612f | 140 | depends on PPC_MPC52xx && PPC_BESTCOMM |
89dd0842 | 141 | select SND_MPC52xx_DMA |
847cdf42 | 142 | select PPC_BESTCOMM_GEN_BD |
dc641378 GL |
143 | help |
144 | Say Y here to support the MPC5200 PSCs in I2S mode. | |
20d0e152 JS |
145 | |
146 | config SND_SOC_MPC5200_AC97 | |
147 | tristate "Freescale MPC5200 PSC in AC97 mode driver" | |
148 | depends on PPC_MPC52xx && PPC_BESTCOMM | |
6a84c234 | 149 | select SND_SOC_AC97_BUS |
20d0e152 JS |
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 | ||
a9262c4f JS |
155 | config SND_MPC52xx_SOC_PCM030 |
156 | tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712" | |
40d9ec14 | 157 | depends on PPC_MPC5200_SIMPLE |
a9262c4f JS |
158 | select SND_SOC_MPC5200_AC97 |
159 | select SND_SOC_WM9712 | |
160 | help | |
0c0e09e2 MB |
161 | Say Y if you want to add support for sound on the Phytec pcm030 |
162 | baseboard. | |
20d0e152 | 163 | |
6ffee43e JS |
164 | config SND_MPC52xx_SOC_EFIKA |
165 | tristate "SoC AC97 Audio support for bbplan Efika and STAC9766" | |
40d9ec14 | 166 | depends on PPC_EFIKA |
6ffee43e JS |
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 | ||
a23dc694 SG |
172 | endif # SND_POWERPC_SOC |
173 | ||
a23dc694 SG |
174 | if SND_IMX_SOC |
175 | ||
176 | config SND_SOC_IMX_SSI | |
177 | tristate | |
5f9e6ff6 | 178 | select SND_SOC_FSL_UTILS |
a23dc694 | 179 | |
93d7b762 | 180 | config SND_SOC_IMX_PCM_FIQ |
3f1a91aa | 181 | tristate |
a23dc694 | 182 | select FIQ |
a23dc694 | 183 | |
eba9e06f | 184 | comment "SoC Audio support for Freescale i.MX boards:" |
a23dc694 SG |
185 | |
186 | config SND_MXC_SOC_WM1133_EV1 | |
2e341ca6 | 187 | tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted" |
e25c681a | 188 | depends on MACH_MX31ADS_WM1133_EV1 |
a23dc694 | 189 | select SND_SOC_WM8350 |
f19493a3 | 190 | select SND_SOC_IMX_PCM_FIQ |
a23dc694 SG |
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 | |
f19493a3 | 201 | select SND_SOC_IMX_PCM_DMA |
a23dc694 SG |
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 | |
f19493a3 | 213 | select SND_SOC_IMX_PCM_FIQ |
a23dc694 SG |
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" | |
7b8751ab | 222 | depends on ARCH_MXC && I2C |
cc1bc54a | 223 | select SND_SOC_TLV320AIC23_I2C |
a23dc694 SG |
224 | select SND_SOC_IMX_AUDMUX |
225 | select SND_SOC_IMX_SSI | |
66f23290 DC |
226 | select SND_SOC_FSL_SSI |
227 | select SND_SOC_IMX_PCM_DMA | |
a23dc694 SG |
228 | help |
229 | Enable I2S based access to the TLV320AIC23B codec attached | |
230 | to the SSI interface | |
231 | ||
8de2ae2a NC |
232 | config SND_SOC_IMX_WM8962 |
233 | tristate "SoC Audio support for i.MX boards with wm8962" | |
a2915d4f | 234 | depends on OF && I2C && INPUT |
8de2ae2a NC |
235 | select SND_SOC_WM8962 |
236 | select SND_SOC_IMX_PCM_DMA | |
237 | select SND_SOC_IMX_AUDMUX | |
238 | select SND_SOC_FSL_SSI | |
8de2ae2a NC |
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 | ||
7e7292db SC |
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 | |
7e7292db SC |
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 | ||
c448303e SG |
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_SSI | |
c448303e SG |
262 | help |
263 | Say Y if you want to add support for SoC audio on an i.MX board with | |
264 | a sgtl5000 codec. | |
265 | ||
2a956ec0 NC |
266 | config SND_SOC_IMX_SPDIF |
267 | tristate "SoC Audio support for i.MX boards with S/PDIF" | |
268 | select SND_SOC_IMX_PCM_DMA | |
269 | select SND_SOC_FSL_SPDIF | |
2a956ec0 NC |
270 | help |
271 | SoC Audio support for i.MX boards with S/PDIF | |
272 | Say Y if you want to add support for SoC audio on an i.MX board with | |
273 | a S/DPDIF. | |
274 | ||
6b0a795a PR |
275 | config SND_SOC_IMX_MC13783 |
276 | tristate "SoC Audio support for I.MX boards with mc13783" | |
e5a3da21 | 277 | depends on MFD_MC13XXX && ARM |
6b0a795a PR |
278 | select SND_SOC_IMX_SSI |
279 | select SND_SOC_IMX_AUDMUX | |
280 | select SND_SOC_MC13783 | |
281 | select SND_SOC_IMX_PCM_DMA | |
282 | ||
38c6e4bb SW |
283 | config SND_SOC_FSL_ASOC_CARD |
284 | tristate "Generic ASoC Sound Card with ASRC support" | |
285 | depends on OF && I2C | |
ab07eaed AB |
286 | # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m: |
287 | depends on SND_AC97_CODEC || SND_AC97_CODEC=n | |
38c6e4bb SW |
288 | select SND_SOC_IMX_AUDMUX |
289 | select SND_SOC_IMX_PCM_DMA | |
290 | select SND_SOC_FSL_ESAI | |
291 | select SND_SOC_FSL_SAI | |
292 | select SND_SOC_FSL_SSI | |
38c6e4bb SW |
293 | help |
294 | ALSA SoC Audio support with ASRC feature for Freescale SoCs that have | |
57e756d3 FT |
295 | ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888, |
296 | CS4271, CS4272 and SGTL5000. | |
38c6e4bb SW |
297 | Say Y if you want to add support for Freescale Generic ASoC Sound Card. |
298 | ||
a23dc694 | 299 | endif # SND_IMX_SOC |
eba9e06f AS |
300 | |
301 | endmenu |