blob: 338a91642471846fd424a99aa6760406a39532d6 [file] [log] [blame]
Xiubo Li43550822013-12-17 11:24:38 +08001config SND_SOC_FSL_SAI
2 tristate
Xiubo Li7d150c62014-02-11 10:47:04 +08003 select REGMAP_MMIO
Xiubo Li43550822013-12-17 11:24:38 +08004 select SND_SOC_GENERIC_DMAENGINE_PCM
5
Shawn Guoa23dc692012-03-16 16:56:38 +08006config SND_SOC_FSL_SSI
7 tristate
8
Nicolin Chena2388a42013-08-21 11:13:16 +08009config SND_SOC_FSL_SPDIF
10 tristate
Xiubo Li7d150c62014-02-11 10:47:04 +080011 select REGMAP_MMIO
Nicolin Chena2388a42013-08-21 11:13:16 +080012
Nicolin Chen43d24e72014-01-10 17:54:06 +080013config SND_SOC_FSL_ESAI
14 tristate
Xiubo Li7d150c62014-02-11 10:47:04 +080015 select REGMAP_MMIO
Xiubo Lia603c8e2014-03-21 14:17:14 +080016 select SND_SOC_FSL_UTILS
Nicolin Chen43d24e72014-01-10 17:54:06 +080017
Shawn Guo60aae8d2012-03-16 16:56:40 +080018config SND_SOC_FSL_UTILS
19 tristate
20
Shawn Guoa23dc692012-03-16 16:56:38 +080021menuconfig SND_POWERPC_SOC
22 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040023 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080024 help
25 Say Y or M if you want to add support for codecs attached to
26 the PowerPC CPUs.
27
28if SND_POWERPC_SOC
29
Jon Smirl89dd0842009-05-23 19:12:59 -040030config SND_MPC52xx_DMA
31 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010032
Shawn Guod61e1122012-03-16 16:56:37 +080033config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060034 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010035
36config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -060037 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d382009-01-22 18:23:39 -060038 # I2C is necessary for the CS4270 driver
39 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080040 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080041 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080042 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +010043 select SND_SOC_CS4270
44 select SND_SOC_CS4270_VD33_ERRATA
45 default y if MPC8610_HPCD
46 help
47 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +010048
Timur Tabi27ef3742010-08-19 17:11:40 -050049config SND_SOC_P1022_DS
50 tristate "ALSA SoC support for the Freescale P1022 DS board"
51 # I2C is necessary for the WM8776 driver
52 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080053 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080054 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080055 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -050056 select SND_SOC_WM8776
57 default y if P1022_DS
58 help
59 Say Y if you want to enable audio on the Freescale P1022 DS board.
60 This will also include the Wolfson Microelectronics WM8776 codec
61 driver.
62
Timur Tabi96a0af62012-10-12 14:09:18 -050063config SND_SOC_P1022_RDK
64 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
65 # I2C is necessary for the WM8960 driver
66 depends on P1022_RDK && I2C
67 select SND_SOC_FSL_SSI
68 select SND_SOC_FSL_UTILS
69 select SND_SOC_POWERPC_DMA
70 select SND_SOC_WM8960
71 default y if P1022_RDK
72 help
73 Say Y if you want to enable audio on the Freescale / iVeia
74 P1022 RDK board. This will also include the Wolfson
75 Microelectronics WM8960 codec driver.
76
Grant Likelydc641372008-07-29 11:42:30 +010077config SND_SOC_MPC5200_I2S
78 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +020079 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -040080 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -070081 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +010082 help
83 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -040084
85config SND_SOC_MPC5200_AC97
86 tristate "Freescale MPC5200 PSC in AC97 mode driver"
87 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -060088 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -040089 select SND_MPC52xx_DMA
90 select PPC_BESTCOMM_GEN_BD
91 help
92 Say Y here to support the MPC5200 PSCs in AC97 mode.
93
Jon Smirla9262c42009-05-26 08:34:12 -040094config SND_MPC52xx_SOC_PCM030
95 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -060096 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -040097 select SND_SOC_MPC5200_AC97
98 select SND_SOC_WM9712
99 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100100 Say Y if you want to add support for sound on the Phytec pcm030
101 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400102
Jon Smirl6ffee432009-05-26 08:34:14 -0400103config SND_MPC52xx_SOC_EFIKA
104 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600105 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400106 select SND_SOC_MPC5200_AC97
107 select SND_SOC_STAC9766
108 help
109 Say Y if you want to add support for sound on the Efika.
110
Shawn Guoa23dc692012-03-16 16:56:38 +0800111endif # SND_POWERPC_SOC
112
113menuconfig SND_IMX_SOC
114 tristate "SoC Audio for Freescale i.MX CPUs"
Mark Browna1df5c22013-07-15 17:03:18 +0100115 depends on ARCH_MXC || COMPILE_TEST
Shawn Guoa23dc692012-03-16 16:56:38 +0800116 help
117 Say Y or M if you want to add support for codecs attached to
118 the i.MX CPUs.
119
120if SND_IMX_SOC
121
122config SND_SOC_IMX_SSI
123 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800124 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800125
Shawn Guo93d7b762013-01-28 14:25:42 +0800126config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300127 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800128 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800129
Shawn Guof19493a2012-03-16 16:56:39 +0800130config SND_SOC_IMX_PCM_DMA
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300131 tristate
Lars-Peter Clausenadaa3222013-04-15 19:19:59 +0200132 select SND_SOC_GENERIC_DMAENGINE_PCM
Shawn Guoa23dc692012-03-16 16:56:38 +0800133
134config SND_SOC_IMX_AUDMUX
135 tristate
136
137config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700138 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700139 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800140 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800141 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800142 select SND_SOC_IMX_AUDMUX
143 select SND_SOC_IMX_SSI
144 help
145 Enable support for audio on the i.MX31ADS with the WM1133-EV1
146 PMIC board with WM8835x fitted.
147
148config SND_SOC_MX27VIS_AIC32X4
149 tristate "SoC audio support for Visstrim M10 boards"
150 depends on MACH_IMX27_VISSTRIM_M10 && I2C
151 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800152 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800153 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 Visstrim SM10
157 board with TLV320AIC32X4 codec.
158
159config SND_SOC_PHYCORE_AC97
160 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
161 depends on MACH_PCM043 || MACH_PCA100
162 select SND_SOC_AC97_BUS
163 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800164 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800165 select SND_SOC_IMX_AUDMUX
166 select SND_SOC_IMX_SSI
167 help
168 Say Y if you want to add support for SoC audio on Phytec phyCORE
169 and phyCARD boards in AC97 mode
170
171config SND_SOC_EUKREA_TLV320
172 tristate "Eukrea TLV320"
173 depends on MACH_EUKREA_MBIMX27_BASEBOARD \
174 || MACH_EUKREA_MBIMXSD25_BASEBOARD \
175 || MACH_EUKREA_MBIMXSD35_BASEBOARD \
Denis Carikli66f23292014-01-15 18:23:25 +0100176 || MACH_EUKREA_MBIMXSD51_BASEBOARD \
177 || (OF && ARM)
Shawn Guoa23dc692012-03-16 16:56:38 +0800178 depends on I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400179 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800180 select SND_SOC_IMX_AUDMUX
181 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100182 select SND_SOC_FSL_SSI
183 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800184 help
185 Enable I2S based access to the TLV320AIC23B codec attached
186 to the SSI interface
187
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800188config SND_SOC_IMX_WM8962
189 tristate "SoC Audio support for i.MX boards with wm8962"
190 depends on OF && I2C
191 select SND_SOC_WM8962
192 select SND_SOC_IMX_PCM_DMA
193 select SND_SOC_IMX_AUDMUX
194 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800195 help
196 Say Y if you want to add support for SoC audio on an i.MX board with
197 a wm8962 codec.
198
Shawn Guoc4483032012-03-16 16:56:44 +0800199config SND_SOC_IMX_SGTL5000
200 tristate "SoC Audio support for i.MX boards with sgtl5000"
201 depends on OF && I2C
202 select SND_SOC_SGTL5000
203 select SND_SOC_IMX_PCM_DMA
204 select SND_SOC_IMX_AUDMUX
205 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800206 help
207 Say Y if you want to add support for SoC audio on an i.MX board with
208 a sgtl5000 codec.
209
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800210config SND_SOC_IMX_SPDIF
211 tristate "SoC Audio support for i.MX boards with S/PDIF"
212 select SND_SOC_IMX_PCM_DMA
213 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800214 help
215 SoC Audio support for i.MX boards with S/PDIF
216 Say Y if you want to add support for SoC audio on an i.MX board with
217 a S/DPDIF.
218
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200219config SND_SOC_IMX_MC13783
220 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400221 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200222 select SND_SOC_IMX_SSI
223 select SND_SOC_IMX_AUDMUX
224 select SND_SOC_MC13783
225 select SND_SOC_IMX_PCM_DMA
226
Shawn Guoa23dc692012-03-16 16:56:38 +0800227endif # SND_IMX_SOC