xref: /openbmc/linux/sound/soc/fsl/Kconfig (revision 2d6bed9c)
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_MPC5200_I2S
50	tristate "Freescale MPC5200 PSC in I2S mode driver"
51	depends on PPC_MPC52xx && PPC_BESTCOMM
52	select SND_MPC52xx_DMA
53	select PPC_BESTCOMM_GEN_BD
54	help
55	  Say Y here to support the MPC5200 PSCs in I2S mode.
56
57config SND_SOC_MPC5200_AC97
58	tristate "Freescale MPC5200 PSC in AC97 mode driver"
59	depends on PPC_MPC52xx && PPC_BESTCOMM
60	select SND_SOC_AC97_BUS
61	select SND_MPC52xx_DMA
62	select PPC_BESTCOMM_GEN_BD
63	help
64	  Say Y here to support the MPC5200 PSCs in AC97 mode.
65
66config SND_MPC52xx_SOC_PCM030
67	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
68	depends on PPC_MPC5200_SIMPLE
69	select SND_SOC_MPC5200_AC97
70	select SND_SOC_WM9712
71	help
72	  Say Y if you want to add support for sound on the Phytec pcm030
73	  baseboard.
74
75config SND_MPC52xx_SOC_EFIKA
76	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
77	depends on PPC_EFIKA
78	select SND_SOC_MPC5200_AC97
79	select SND_SOC_STAC9766
80	help
81	  Say Y if you want to add support for sound on the Efika.
82
83endif # SND_POWERPC_SOC
84
85menuconfig SND_IMX_SOC
86	tristate "SoC Audio for Freescale i.MX CPUs"
87	depends on ARCH_MXC
88	help
89	  Say Y or M if you want to add support for codecs attached to
90	  the i.MX CPUs.
91
92if SND_IMX_SOC
93
94config SND_SOC_IMX_SSI
95	tristate
96
97config SND_SOC_IMX_PCM
98	tristate
99
100config SND_SOC_IMX_PCM_FIQ
101	tristate
102	select FIQ
103	select SND_SOC_IMX_PCM
104
105config SND_SOC_IMX_PCM_DMA
106	tristate
107	select SND_SOC_DMAENGINE_PCM
108	select SND_SOC_IMX_PCM
109
110config SND_SOC_IMX_AUDMUX
111	tristate
112
113config SND_MXC_SOC_WM1133_EV1
114	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
115	depends on MACH_MX31ADS_WM1133_EV1 && EXPERIMENTAL
116	select SND_SOC_WM8350
117	select SND_SOC_IMX_PCM_FIQ
118	select SND_SOC_IMX_AUDMUX
119	select SND_SOC_IMX_SSI
120	help
121	  Enable support for audio on the i.MX31ADS with the WM1133-EV1
122	  PMIC board with WM8835x fitted.
123
124config SND_SOC_MX27VIS_AIC32X4
125	tristate "SoC audio support for Visstrim M10 boards"
126	depends on MACH_IMX27_VISSTRIM_M10 && I2C
127	select SND_SOC_TLV320AIC32X4
128	select SND_SOC_IMX_PCM_DMA
129	select SND_SOC_IMX_AUDMUX
130	select SND_SOC_IMX_SSI
131	help
132	  Say Y if you want to add support for SoC audio on Visstrim SM10
133	  board with TLV320AIC32X4 codec.
134
135config SND_SOC_PHYCORE_AC97
136	tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
137	depends on MACH_PCM043 || MACH_PCA100
138	select SND_SOC_AC97_BUS
139	select SND_SOC_WM9712
140	select SND_SOC_IMX_PCM_FIQ
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 Phytec phyCORE
145	  and phyCARD boards in AC97 mode
146
147config SND_SOC_EUKREA_TLV320
148	tristate "Eukrea TLV320"
149	depends on MACH_EUKREA_MBIMX27_BASEBOARD \
150		|| MACH_EUKREA_MBIMXSD25_BASEBOARD \
151		|| MACH_EUKREA_MBIMXSD35_BASEBOARD \
152		|| MACH_EUKREA_MBIMXSD51_BASEBOARD
153	depends on I2C
154	select SND_SOC_TLV320AIC23
155	select SND_SOC_IMX_PCM_FIQ
156	select SND_SOC_IMX_AUDMUX
157	select SND_SOC_IMX_SSI
158	help
159	  Enable I2S based access to the TLV320AIC23B codec attached
160	  to the SSI interface
161
162config SND_SOC_IMX_SGTL5000
163	tristate "SoC Audio support for i.MX boards with sgtl5000"
164	depends on OF && I2C
165	select SND_SOC_SGTL5000
166	select SND_SOC_IMX_PCM_DMA
167	select SND_SOC_IMX_AUDMUX
168	select SND_SOC_FSL_SSI
169	select SND_SOC_FSL_UTILS
170	help
171	  Say Y if you want to add support for SoC audio on an i.MX board with
172	  a sgtl5000 codec.
173
174config SND_SOC_IMX_MC13783
175	tristate "SoC Audio support for I.MX boards with mc13783"
176	depends on MFD_MC13783
177	select SND_SOC_IMX_SSI
178	select SND_SOC_IMX_AUDMUX
179	select SND_SOC_MC13783
180	select SND_SOC_IMX_PCM_DMA
181
182endif # SND_IMX_SOC
183