xref: /openbmc/linux/sound/soc/fsl/Kconfig (revision 275876e2)
1menu "SoC Audio for Freescale CPUs"
2
3comment "Common SoC Audio options for Freescale CPUs:"
4
5config SND_SOC_FSL_ASRC
6	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
7	select REGMAP_MMIO
8	select SND_SOC_GENERIC_DMAENGINE_PCM
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
15config SND_SOC_FSL_SAI
16	tristate "Synchronous Audio Interface (SAI) module support"
17	select REGMAP_MMIO
18	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
19	select SND_SOC_GENERIC_DMAENGINE_PCM
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.
25
26config SND_SOC_FSL_SSI
27	tristate "Synchronous Serial Interface module support"
28	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
29	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
30	select REGMAP_MMIO
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.
36
37config SND_SOC_FSL_SPDIF
38	tristate "Sony/Philips Digital Interface module support"
39	select REGMAP_MMIO
40	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
41	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
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.
47
48config SND_SOC_FSL_ESAI
49	tristate "Enhanced Serial Audio Interface (ESAI) module support"
50	select REGMAP_MMIO
51	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
52	select SND_SOC_FSL_UTILS
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.
58
59config SND_SOC_FSL_UTILS
60	tristate
61
62config SND_SOC_IMX_PCM_DMA
63	tristate
64	select SND_SOC_GENERIC_DMAENGINE_PCM
65
66config SND_SOC_IMX_AUDMUX
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.
73
74config SND_POWERPC_SOC
75	tristate "SoC Audio for Freescale PowerPC CPUs"
76	depends on FSL_SOC || PPC_MPC52xx
77	help
78	  Say Y or M if you want to add support for codecs attached to
79	  the PowerPC CPUs.
80
81config 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
88if SND_POWERPC_SOC
89
90config SND_MPC52xx_DMA
91	tristate
92
93config SND_SOC_POWERPC_DMA
94	tristate
95
96comment "SoC Audio support for Freescale PPC boards:"
97
98config SND_SOC_MPC8610_HPCD
99	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
100	# I2C is necessary for the CS4270 driver
101	depends on MPC8610_HPCD && I2C
102	select SND_SOC_FSL_SSI
103	select SND_SOC_FSL_UTILS
104	select SND_SOC_POWERPC_DMA
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.
110
111config 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
115	select SND_SOC_FSL_SSI
116	select SND_SOC_FSL_UTILS
117	select SND_SOC_POWERPC_DMA
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
125config 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
139config SND_SOC_MPC5200_I2S
140	tristate "Freescale MPC5200 PSC in I2S mode driver"
141	depends on PPC_MPC52xx && PPC_BESTCOMM
142	select SND_MPC52xx_DMA
143	select PPC_BESTCOMM_GEN_BD
144	help
145	  Say Y here to support the MPC5200 PSCs in I2S mode.
146
147config SND_SOC_MPC5200_AC97
148	tristate "Freescale MPC5200 PSC in AC97 mode driver"
149	depends on PPC_MPC52xx && PPC_BESTCOMM
150	select SND_SOC_AC97_BUS
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
156config SND_MPC52xx_SOC_PCM030
157	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
158	depends on PPC_MPC5200_SIMPLE
159	select SND_SOC_MPC5200_AC97
160	select SND_SOC_WM9712
161	help
162	  Say Y if you want to add support for sound on the Phytec pcm030
163	  baseboard.
164
165config SND_MPC52xx_SOC_EFIKA
166	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
167	depends on PPC_EFIKA
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
173endif # SND_POWERPC_SOC
174
175if SND_IMX_SOC
176
177config SND_SOC_IMX_SSI
178	tristate
179	select SND_SOC_FSL_UTILS
180
181config SND_SOC_IMX_PCM_FIQ
182	tristate
183	select FIQ
184
185comment "SoC Audio support for Freescale i.MX boards:"
186
187config SND_MXC_SOC_WM1133_EV1
188	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
189	depends on MACH_MX31ADS_WM1133_EV1
190	select SND_SOC_WM8350
191	select SND_SOC_IMX_PCM_FIQ
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
198config 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
202	select SND_SOC_IMX_PCM_DMA
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
209config 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
214	select SND_SOC_IMX_PCM_FIQ
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
221config SND_SOC_EUKREA_TLV320
222	tristate "Eukrea TLV320"
223	depends on ARCH_MXC && I2C
224	select SND_SOC_TLV320AIC23_I2C
225	select SND_SOC_IMX_AUDMUX
226	select SND_SOC_IMX_SSI
227	select SND_SOC_FSL_SSI
228	select SND_SOC_IMX_PCM_DMA
229	help
230	  Enable I2S based access to the TLV320AIC23B codec attached
231	  to the SSI interface
232
233config SND_SOC_IMX_WM8962
234	tristate "SoC Audio support for i.MX boards with wm8962"
235	depends on OF && I2C && INPUT
236	select SND_SOC_WM8962
237	select SND_SOC_IMX_PCM_DMA
238	select SND_SOC_IMX_AUDMUX
239	select SND_SOC_FSL_SSI
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
244config SND_SOC_IMX_SGTL5000
245	tristate "SoC Audio support for i.MX boards with sgtl5000"
246	depends on OF && I2C
247	select SND_SOC_SGTL5000
248	select SND_SOC_IMX_PCM_DMA
249	select SND_SOC_IMX_AUDMUX
250	select SND_SOC_FSL_SSI
251	help
252	  Say Y if you want to add support for SoC audio on an i.MX board with
253	  a sgtl5000 codec.
254
255config SND_SOC_IMX_SPDIF
256	tristate "SoC Audio support for i.MX boards with S/PDIF"
257	select SND_SOC_IMX_PCM_DMA
258	select SND_SOC_FSL_SPDIF
259	help
260	  SoC Audio support for i.MX boards with S/PDIF
261	  Say Y if you want to add support for SoC audio on an i.MX board with
262	  a S/DPDIF.
263
264config SND_SOC_IMX_MC13783
265	tristate "SoC Audio support for I.MX boards with mc13783"
266	depends on MFD_MC13XXX && ARM
267	select SND_SOC_IMX_SSI
268	select SND_SOC_IMX_AUDMUX
269	select SND_SOC_MC13783
270	select SND_SOC_IMX_PCM_DMA
271
272endif # SND_IMX_SOC
273
274endmenu
275