xref: /openbmc/linux/sound/soc/fsl/Kconfig (revision 0d456bad)
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
112	tristate
113
114config SND_SOC_IMX_PCM_FIQ
115	bool
116	select FIQ
117	select SND_SOC_IMX_PCM
118
119config SND_SOC_IMX_PCM_DMA
120	bool
121	select SND_SOC_DMAENGINE_PCM
122	select SND_SOC_IMX_PCM
123
124config SND_SOC_IMX_AUDMUX
125	tristate
126
127config SND_MXC_SOC_WM1133_EV1
128	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
129	depends on MACH_MX31ADS_WM1133_EV1
130	select SND_SOC_WM8350
131	select SND_SOC_IMX_PCM_FIQ
132	select SND_SOC_IMX_AUDMUX
133	select SND_SOC_IMX_SSI
134	help
135	  Enable support for audio on the i.MX31ADS with the WM1133-EV1
136	  PMIC board with WM8835x fitted.
137
138config SND_SOC_MX27VIS_AIC32X4
139	tristate "SoC audio support for Visstrim M10 boards"
140	depends on MACH_IMX27_VISSTRIM_M10 && I2C
141	select SND_SOC_TLV320AIC32X4
142	select SND_SOC_IMX_PCM_DMA
143	select SND_SOC_IMX_AUDMUX
144	select SND_SOC_IMX_SSI
145	help
146	  Say Y if you want to add support for SoC audio on Visstrim SM10
147	  board with TLV320AIC32X4 codec.
148
149config SND_SOC_PHYCORE_AC97
150	tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
151	depends on MACH_PCM043 || MACH_PCA100
152	select SND_SOC_AC97_BUS
153	select SND_SOC_WM9712
154	select SND_SOC_IMX_PCM_FIQ
155	select SND_SOC_IMX_AUDMUX
156	select SND_SOC_IMX_SSI
157	help
158	  Say Y if you want to add support for SoC audio on Phytec phyCORE
159	  and phyCARD boards in AC97 mode
160
161config SND_SOC_EUKREA_TLV320
162	tristate "Eukrea TLV320"
163	depends on MACH_EUKREA_MBIMX27_BASEBOARD \
164		|| MACH_EUKREA_MBIMXSD25_BASEBOARD \
165		|| MACH_EUKREA_MBIMXSD35_BASEBOARD \
166		|| MACH_EUKREA_MBIMXSD51_BASEBOARD
167	depends on I2C
168	select SND_SOC_TLV320AIC23
169	select SND_SOC_IMX_PCM_FIQ
170	select SND_SOC_IMX_AUDMUX
171	select SND_SOC_IMX_SSI
172	help
173	  Enable I2S based access to the TLV320AIC23B codec attached
174	  to the SSI interface
175
176config SND_SOC_IMX_SGTL5000
177	tristate "SoC Audio support for i.MX boards with sgtl5000"
178	depends on OF && I2C
179	select SND_SOC_SGTL5000
180	select SND_SOC_IMX_PCM_DMA
181	select SND_SOC_IMX_AUDMUX
182	select SND_SOC_FSL_SSI
183	select SND_SOC_FSL_UTILS
184	help
185	  Say Y if you want to add support for SoC audio on an i.MX board with
186	  a sgtl5000 codec.
187
188config SND_SOC_IMX_MC13783
189	tristate "SoC Audio support for I.MX boards with mc13783"
190	depends on MFD_MC13783
191	select SND_SOC_IMX_SSI
192	select SND_SOC_IMX_AUDMUX
193	select SND_SOC_MC13783
194	select SND_SOC_IMX_PCM_DMA
195
196endif # SND_IMX_SOC
197