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