]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - sound/soc/fsl/Kconfig
UBUNTU: Ubuntu-4.13.0-45.50
[mirror_ubuntu-artful-kernel.git] / sound / soc / fsl / Kconfig
CommitLineData
eba9e06f
AS
1menu "SoC Audio for Freescale CPUs"
2
204dec93
AS
3comment "Common SoC Audio options for Freescale CPUs:"
4
3117bb31
NC
5config 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 16config 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 27config 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 38config 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)
b3af6d3f 43 select BITREVERSE
204dec93
AS
44 help
45 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
46 support for the Freescale CPUs.
47 This option is only useful for out-of-tree drivers since
48 in-tree drivers select it automatically.
a2388a49 49
43d24e76 50config SND_SOC_FSL_ESAI
40e3b934 51 tristate "Enhanced Serial Audio Interface (ESAI) module support"
7d150c60 52 select REGMAP_MMIO
ff40260f 53 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
40e3b934
XL
54 help
55 Say Y if you want to add Enhanced Synchronous Audio Interface
56 (ESAI) support for the Freescale CPUs.
57 This option is only useful for out-of-tree drivers since
58 in-tree drivers select it automatically.
43d24e76 59
60aae8da 60config SND_SOC_FSL_UTILS
75d91f9b 61 tristate
60aae8da 62
eba9e06f
AS
63config SND_SOC_IMX_PCM_DMA
64 tristate
65 select SND_SOC_GENERIC_DMAENGINE_PCM
66
67config SND_SOC_IMX_AUDMUX
204dec93
AS
68 tristate "Digital Audio Mux module support"
69 help
70 Say Y if you want to add Digital Audio Mux (AUDMUX) support
71 for the ARM i.MX CPUs.
72 This option is only useful for out-of-tree drivers since
73 in-tree drivers select it automatically.
eba9e06f
AS
74
75config SND_POWERPC_SOC
a23dc694 76 tristate "SoC Audio for Freescale PowerPC CPUs"
f99ddef0 77 depends on FSL_SOC || PPC_MPC52xx
a23dc694
SG
78 help
79 Say Y or M if you want to add support for codecs attached to
80 the PowerPC CPUs.
81
eba9e06f
AS
82config SND_IMX_SOC
83 tristate "SoC Audio for Freescale i.MX CPUs"
84 depends on ARCH_MXC || COMPILE_TEST
85 help
86 Say Y or M if you want to add support for codecs attached to
87 the i.MX CPUs.
88
a23dc694
SG
89if SND_POWERPC_SOC
90
89dd0842
JS
91config SND_MPC52xx_DMA
92 tristate
84bc278b 93
d61e1126 94config SND_SOC_POWERPC_DMA
75d91f9b 95 tristate
17467f23 96
eba9e06f
AS
97comment "SoC Audio support for Freescale PPC boards:"
98
17467f23 99config SND_SOC_MPC8610_HPCD
75d91f9b 100 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
ff637d38
TT
101 # I2C is necessary for the CS4270 driver
102 depends on MPC8610_HPCD && I2C
d61e1126 103 select SND_SOC_FSL_SSI
60aae8da 104 select SND_SOC_FSL_UTILS
d61e1126 105 select SND_SOC_POWERPC_DMA
17467f23
TT
106 select SND_SOC_CS4270
107 select SND_SOC_CS4270_VD33_ERRATA
108 default y if MPC8610_HPCD
109 help
110 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
dc641378 111
27ef3744
TT
112config SND_SOC_P1022_DS
113 tristate "ALSA SoC support for the Freescale P1022 DS board"
114 # I2C is necessary for the WM8776 driver
115 depends on P1022_DS && I2C
d61e1126 116 select SND_SOC_FSL_SSI
60aae8da 117 select SND_SOC_FSL_UTILS
d61e1126 118 select SND_SOC_POWERPC_DMA
27ef3744
TT
119 select SND_SOC_WM8776
120 default y if P1022_DS
121 help
122 Say Y if you want to enable audio on the Freescale P1022 DS board.
123 This will also include the Wolfson Microelectronics WM8776 codec
124 driver.
125
96a0af6d
TT
126config SND_SOC_P1022_RDK
127 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
128 # I2C is necessary for the WM8960 driver
129 depends on P1022_RDK && I2C
130 select SND_SOC_FSL_SSI
131 select SND_SOC_FSL_UTILS
132 select SND_SOC_POWERPC_DMA
133 select SND_SOC_WM8960
134 default y if P1022_RDK
135 help
136 Say Y if you want to enable audio on the Freescale / iVeia
137 P1022 RDK board. This will also include the Wolfson
138 Microelectronics WM8960 codec driver.
139
dc641378
GL
140config SND_SOC_MPC5200_I2S
141 tristate "Freescale MPC5200 PSC in I2S mode driver"
6574612f 142 depends on PPC_MPC52xx && PPC_BESTCOMM
89dd0842 143 select SND_MPC52xx_DMA
847cdf42 144 select PPC_BESTCOMM_GEN_BD
dc641378
GL
145 help
146 Say Y here to support the MPC5200 PSCs in I2S mode.
20d0e152
JS
147
148config SND_SOC_MPC5200_AC97
149 tristate "Freescale MPC5200 PSC in AC97 mode driver"
150 depends on PPC_MPC52xx && PPC_BESTCOMM
6a84c234 151 select SND_SOC_AC97_BUS
20d0e152
JS
152 select SND_MPC52xx_DMA
153 select PPC_BESTCOMM_GEN_BD
154 help
155 Say Y here to support the MPC5200 PSCs in AC97 mode.
156
a9262c4f
JS
157config SND_MPC52xx_SOC_PCM030
158 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
40d9ec14 159 depends on PPC_MPC5200_SIMPLE
a9262c4f
JS
160 select SND_SOC_MPC5200_AC97
161 select SND_SOC_WM9712
162 help
0c0e09e2
MB
163 Say Y if you want to add support for sound on the Phytec pcm030
164 baseboard.
20d0e152 165
6ffee43e
JS
166config SND_MPC52xx_SOC_EFIKA
167 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
40d9ec14 168 depends on PPC_EFIKA
6ffee43e
JS
169 select SND_SOC_MPC5200_AC97
170 select SND_SOC_STAC9766
171 help
172 Say Y if you want to add support for sound on the Efika.
173
a23dc694
SG
174endif # SND_POWERPC_SOC
175
a23dc694
SG
176if SND_IMX_SOC
177
178config SND_SOC_IMX_SSI
179 tristate
5f9e6ff6 180 select SND_SOC_FSL_UTILS
a23dc694 181
93d7b762 182config SND_SOC_IMX_PCM_FIQ
3f1a91aa 183 tristate
a23dc694 184 select FIQ
a23dc694 185
eba9e06f 186comment "SoC Audio support for Freescale i.MX boards:"
a23dc694
SG
187
188config SND_MXC_SOC_WM1133_EV1
2e341ca6 189 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
e25c681a 190 depends on MACH_MX31ADS_WM1133_EV1
a23dc694 191 select SND_SOC_WM8350
f19493a3 192 select SND_SOC_IMX_PCM_FIQ
a23dc694
SG
193 select SND_SOC_IMX_AUDMUX
194 select SND_SOC_IMX_SSI
195 help
196 Enable support for audio on the i.MX31ADS with the WM1133-EV1
197 PMIC board with WM8835x fitted.
198
199config SND_SOC_MX27VIS_AIC32X4
200 tristate "SoC audio support for Visstrim M10 boards"
201 depends on MACH_IMX27_VISSTRIM_M10 && I2C
202 select SND_SOC_TLV320AIC32X4
f19493a3 203 select SND_SOC_IMX_PCM_DMA
a23dc694
SG
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 Visstrim SM10
208 board with TLV320AIC32X4 codec.
209
210config SND_SOC_PHYCORE_AC97
211 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
212 depends on MACH_PCM043 || MACH_PCA100
213 select SND_SOC_AC97_BUS
214 select SND_SOC_WM9712
f19493a3 215 select SND_SOC_IMX_PCM_FIQ
a23dc694
SG
216 select SND_SOC_IMX_AUDMUX
217 select SND_SOC_IMX_SSI
218 help
219 Say Y if you want to add support for SoC audio on Phytec phyCORE
220 and phyCARD boards in AC97 mode
221
222config SND_SOC_EUKREA_TLV320
223 tristate "Eukrea TLV320"
7b8751ab 224 depends on ARCH_MXC && I2C
cc1bc54a 225 select SND_SOC_TLV320AIC23_I2C
a23dc694
SG
226 select SND_SOC_IMX_AUDMUX
227 select SND_SOC_IMX_SSI
66f23290
DC
228 select SND_SOC_FSL_SSI
229 select SND_SOC_IMX_PCM_DMA
a23dc694
SG
230 help
231 Enable I2S based access to the TLV320AIC23B codec attached
232 to the SSI interface
233
8de2ae2a
NC
234config SND_SOC_IMX_WM8962
235 tristate "SoC Audio support for i.MX boards with wm8962"
a2915d4f 236 depends on OF && I2C && INPUT
8de2ae2a
NC
237 select SND_SOC_WM8962
238 select SND_SOC_IMX_PCM_DMA
239 select SND_SOC_IMX_AUDMUX
240 select SND_SOC_FSL_SSI
8de2ae2a
NC
241 help
242 Say Y if you want to add support for SoC audio on an i.MX board with
243 a wm8962 codec.
244
7e7292db
SC
245config SND_SOC_IMX_ES8328
246 tristate "SoC Audio support for i.MX boards with the ES8328 codec"
247 depends on OF && (I2C || SPI)
248 select SND_SOC_ES8328_I2C if I2C
249 select SND_SOC_ES8328_SPI if SPI_MASTER
250 select SND_SOC_IMX_PCM_DMA
251 select SND_SOC_IMX_AUDMUX
252 select SND_SOC_FSL_SSI
7e7292db
SC
253 help
254 Say Y if you want to add support for the ES8328 audio codec connected
255 via SSI/I2S over either SPI or I2C.
256
c448303e
SG
257config SND_SOC_IMX_SGTL5000
258 tristate "SoC Audio support for i.MX boards with sgtl5000"
259 depends on OF && I2C
260 select SND_SOC_SGTL5000
261 select SND_SOC_IMX_PCM_DMA
262 select SND_SOC_IMX_AUDMUX
263 select SND_SOC_FSL_SSI
c448303e
SG
264 help
265 Say Y if you want to add support for SoC audio on an i.MX board with
266 a sgtl5000 codec.
267
2a956ec0
NC
268config SND_SOC_IMX_SPDIF
269 tristate "SoC Audio support for i.MX boards with S/PDIF"
270 select SND_SOC_IMX_PCM_DMA
271 select SND_SOC_FSL_SPDIF
2a956ec0
NC
272 help
273 SoC Audio support for i.MX boards with S/PDIF
274 Say Y if you want to add support for SoC audio on an i.MX board with
275 a S/DPDIF.
276
6b0a795a
PR
277config SND_SOC_IMX_MC13783
278 tristate "SoC Audio support for I.MX boards with mc13783"
e5a3da21 279 depends on MFD_MC13XXX && ARM
6b0a795a
PR
280 select SND_SOC_IMX_SSI
281 select SND_SOC_IMX_AUDMUX
282 select SND_SOC_MC13783
283 select SND_SOC_IMX_PCM_DMA
284
38c6e4bb
SW
285config SND_SOC_FSL_ASOC_CARD
286 tristate "Generic ASoC Sound Card with ASRC support"
287 depends on OF && I2C
ab07eaed
AB
288 # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
289 depends on SND_AC97_CODEC || SND_AC97_CODEC=n
38c6e4bb
SW
290 select SND_SOC_IMX_AUDMUX
291 select SND_SOC_IMX_PCM_DMA
292 select SND_SOC_FSL_ESAI
293 select SND_SOC_FSL_SAI
294 select SND_SOC_FSL_SSI
38c6e4bb
SW
295 help
296 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
57e756d3
FT
297 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
298 CS4271, CS4272 and SGTL5000.
38c6e4bb
SW
299 Say Y if you want to add support for Freescale Generic ASoC Sound Card.
300
a23dc694 301endif # SND_IMX_SOC
eba9e06f
AS
302
303endmenu