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