blob: f2f39dd13bc77e5a74ef36c9b1edf897b2717df7 [file] [log] [blame]
Xiubo Li43550822013-12-17 11:24:38 +08001config SND_SOC_FSL_SAI
2 tristate
3 select SND_SOC_GENERIC_DMAENGINE_PCM
4
Shawn Guoa23dc692012-03-16 16:56:38 +08005config SND_SOC_FSL_SSI
6 tristate
7
Nicolin Chena2388a42013-08-21 11:13:16 +08008config SND_SOC_FSL_SPDIF
9 tristate
10
Nicolin Chen43d24e72014-01-10 17:54:06 +080011config SND_SOC_FSL_ESAI
12 tristate
13
Shawn Guo60aae8d2012-03-16 16:56:40 +080014config SND_SOC_FSL_UTILS
15 tristate
16
Shawn Guoa23dc692012-03-16 16:56:38 +080017menuconfig SND_POWERPC_SOC
18 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040019 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080020 help
21 Say Y or M if you want to add support for codecs attached to
22 the PowerPC CPUs.
23
24if SND_POWERPC_SOC
25
Jon Smirl89dd0842009-05-23 19:12:59 -040026config SND_MPC52xx_DMA
27 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010028
Shawn Guod61e1122012-03-16 16:56:37 +080029config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060030 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010031
32config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -060033 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d382009-01-22 18:23:39 -060034 # I2C is necessary for the CS4270 driver
35 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080036 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080037 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080038 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +010039 select SND_SOC_CS4270
40 select SND_SOC_CS4270_VD33_ERRATA
41 default y if MPC8610_HPCD
42 help
43 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +010044
Timur Tabi27ef3742010-08-19 17:11:40 -050045config SND_SOC_P1022_DS
46 tristate "ALSA SoC support for the Freescale P1022 DS board"
47 # I2C is necessary for the WM8776 driver
48 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080049 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080050 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080051 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -050052 select SND_SOC_WM8776
53 default y if P1022_DS
54 help
55 Say Y if you want to enable audio on the Freescale P1022 DS board.
56 This will also include the Wolfson Microelectronics WM8776 codec
57 driver.
58
Timur Tabi96a0af62012-10-12 14:09:18 -050059config SND_SOC_P1022_RDK
60 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
61 # I2C is necessary for the WM8960 driver
62 depends on P1022_RDK && I2C
63 select SND_SOC_FSL_SSI
64 select SND_SOC_FSL_UTILS
65 select SND_SOC_POWERPC_DMA
66 select SND_SOC_WM8960
67 default y if P1022_RDK
68 help
69 Say Y if you want to enable audio on the Freescale / iVeia
70 P1022 RDK board. This will also include the Wolfson
71 Microelectronics WM8960 codec driver.
72
Grant Likelydc641372008-07-29 11:42:30 +010073config SND_SOC_MPC5200_I2S
74 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +020075 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -040076 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -070077 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +010078 help
79 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -040080
81config SND_SOC_MPC5200_AC97
82 tristate "Freescale MPC5200 PSC in AC97 mode driver"
83 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -060084 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -040085 select SND_MPC52xx_DMA
86 select PPC_BESTCOMM_GEN_BD
87 help
88 Say Y here to support the MPC5200 PSCs in AC97 mode.
89
Jon Smirla9262c42009-05-26 08:34:12 -040090config SND_MPC52xx_SOC_PCM030
91 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -060092 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -040093 select SND_SOC_MPC5200_AC97
94 select SND_SOC_WM9712
95 help
Mark Brown0c0e09e2009-05-26 21:14:59 +010096 Say Y if you want to add support for sound on the Phytec pcm030
97 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -040098
Jon Smirl6ffee432009-05-26 08:34:14 -040099config SND_MPC52xx_SOC_EFIKA
100 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600101 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400102 select SND_SOC_MPC5200_AC97
103 select SND_SOC_STAC9766
104 help
105 Say Y if you want to add support for sound on the Efika.
106
Shawn Guoa23dc692012-03-16 16:56:38 +0800107endif # SND_POWERPC_SOC
108
109menuconfig SND_IMX_SOC
110 tristate "SoC Audio for Freescale i.MX CPUs"
Mark Browna1df5c22013-07-15 17:03:18 +0100111 depends on ARCH_MXC || COMPILE_TEST
Shawn Guoa23dc692012-03-16 16:56:38 +0800112 help
113 Say Y or M if you want to add support for codecs attached to
114 the i.MX CPUs.
115
116if SND_IMX_SOC
117
118config SND_SOC_IMX_SSI
119 tristate
120
Shawn Guo93d7b762013-01-28 14:25:42 +0800121config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300122 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800123 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800124
Shawn Guof19493a2012-03-16 16:56:39 +0800125config SND_SOC_IMX_PCM_DMA
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300126 tristate
Lars-Peter Clausenadaa3222013-04-15 19:19:59 +0200127 select SND_SOC_GENERIC_DMAENGINE_PCM
Shawn Guoa23dc692012-03-16 16:56:38 +0800128
129config SND_SOC_IMX_AUDMUX
130 tristate
131
132config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700133 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700134 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800135 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800136 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800137 select SND_SOC_IMX_AUDMUX
138 select SND_SOC_IMX_SSI
139 help
140 Enable support for audio on the i.MX31ADS with the WM1133-EV1
141 PMIC board with WM8835x fitted.
142
143config SND_SOC_MX27VIS_AIC32X4
144 tristate "SoC audio support for Visstrim M10 boards"
145 depends on MACH_IMX27_VISSTRIM_M10 && I2C
146 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800147 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800148 select SND_SOC_IMX_AUDMUX
149 select SND_SOC_IMX_SSI
150 help
151 Say Y if you want to add support for SoC audio on Visstrim SM10
152 board with TLV320AIC32X4 codec.
153
154config SND_SOC_PHYCORE_AC97
155 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
156 depends on MACH_PCM043 || MACH_PCA100
157 select SND_SOC_AC97_BUS
158 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800159 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800160 select SND_SOC_IMX_AUDMUX
161 select SND_SOC_IMX_SSI
162 help
163 Say Y if you want to add support for SoC audio on Phytec phyCORE
164 and phyCARD boards in AC97 mode
165
166config SND_SOC_EUKREA_TLV320
167 tristate "Eukrea TLV320"
168 depends on MACH_EUKREA_MBIMX27_BASEBOARD \
169 || MACH_EUKREA_MBIMXSD25_BASEBOARD \
170 || MACH_EUKREA_MBIMXSD35_BASEBOARD \
171 || MACH_EUKREA_MBIMXSD51_BASEBOARD
172 depends on I2C
173 select SND_SOC_TLV320AIC23
Shawn Guof19493a2012-03-16 16:56:39 +0800174 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800175 select SND_SOC_IMX_AUDMUX
176 select SND_SOC_IMX_SSI
177 help
178 Enable I2S based access to the TLV320AIC23B codec attached
179 to the SSI interface
180
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800181config SND_SOC_IMX_WM8962
182 tristate "SoC Audio support for i.MX boards with wm8962"
183 depends on OF && I2C
184 select SND_SOC_WM8962
185 select SND_SOC_IMX_PCM_DMA
186 select SND_SOC_IMX_AUDMUX
187 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800188 help
189 Say Y if you want to add support for SoC audio on an i.MX board with
190 a wm8962 codec.
191
Shawn Guoc4483032012-03-16 16:56:44 +0800192config SND_SOC_IMX_SGTL5000
193 tristate "SoC Audio support for i.MX boards with sgtl5000"
194 depends on OF && I2C
195 select SND_SOC_SGTL5000
196 select SND_SOC_IMX_PCM_DMA
197 select SND_SOC_IMX_AUDMUX
198 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800199 help
200 Say Y if you want to add support for SoC audio on an i.MX board with
201 a sgtl5000 codec.
202
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800203config SND_SOC_IMX_SPDIF
204 tristate "SoC Audio support for i.MX boards with S/PDIF"
205 select SND_SOC_IMX_PCM_DMA
206 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800207 select SND_SOC_SPDIF
Mark Brown4345adf2013-09-08 17:20:37 +0100208 select REGMAP_MMIO
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800209 help
210 SoC Audio support for i.MX boards with S/PDIF
211 Say Y if you want to add support for SoC audio on an i.MX board with
212 a S/DPDIF.
213
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200214config SND_SOC_IMX_MC13783
215 tristate "SoC Audio support for I.MX boards with mc13783"
Fabio Estevam9f19de62013-08-06 18:03:07 -0300216 depends on MFD_MC13783 && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200217 select SND_SOC_IMX_SSI
218 select SND_SOC_IMX_AUDMUX
219 select SND_SOC_MC13783
220 select SND_SOC_IMX_PCM_DMA
221
Shawn Guoa23dc692012-03-16 16:56:38 +0800222endif # SND_IMX_SOC