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