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