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