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