blob: 37933629cbedec9787c0225ce8bf00797d719193 [file] [log] [blame]
Alexander Shiyaneba9e062014-03-16 08:21:34 +04001menu "SoC Audio for Freescale CPUs"
2
Alexander Shiyan204dec92014-03-16 08:21:35 +04003comment "Common SoC Audio options for Freescale CPUs:"
4
Xiubo Li43550822013-12-17 11:24:38 +08005config SND_SOC_FSL_SAI
Xiubo Lib71fc4e2014-04-30 18:10:05 +08006 tristate "Synchronous Audio Interface (SAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +08007 select REGMAP_MMIO
Xiubo Li43550822013-12-17 11:24:38 +08008 select SND_SOC_GENERIC_DMAENGINE_PCM
Xiubo Lib71fc4e2014-04-30 18:10:05 +08009 help
10 Say Y if you want to add Synchronous Audio Interface (SAI)
11 support for the Freescale CPUs.
12 This option is only useful for out-of-tree drivers since
13 in-tree drivers select it automatically.
Xiubo Li43550822013-12-17 11:24:38 +080014
Shawn Guoa23dc692012-03-16 16:56:38 +080015config SND_SOC_FSL_SSI
Alexander Shiyan204dec92014-03-16 08:21:35 +040016 tristate "Synchronous Serial Interface module support"
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020017 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
18 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && ARCH_MXC
Markus Pargmann43248122014-05-27 10:24:25 +020019 select REGMAP_MMIO
Alexander Shiyan204dec92014-03-16 08:21:35 +040020 help
21 Say Y if you want to add Synchronous Serial Interface (SSI)
22 support for the Freescale CPUs.
23 This option is only useful for out-of-tree drivers since
24 in-tree drivers select it automatically.
Shawn Guoa23dc692012-03-16 16:56:38 +080025
Nicolin Chena2388a42013-08-21 11:13:16 +080026config SND_SOC_FSL_SPDIF
Alexander Shiyan204dec92014-03-16 08:21:35 +040027 tristate "Sony/Philips Digital Interface module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080028 select REGMAP_MMIO
Arnd Bergmann31ee2bf2014-04-29 21:36:22 +020029 select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
30 select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && ARCH_MXC
Alexander Shiyan204dec92014-03-16 08:21:35 +040031 help
32 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
33 support for the Freescale CPUs.
34 This option is only useful for out-of-tree drivers since
35 in-tree drivers select it automatically.
Nicolin Chena2388a42013-08-21 11:13:16 +080036
Nicolin Chen43d24e72014-01-10 17:54:06 +080037config SND_SOC_FSL_ESAI
Xiubo Li40e3b932014-04-30 18:10:06 +080038 tristate "Enhanced Serial Audio Interface (ESAI) module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080039 select REGMAP_MMIO
Xiubo Lia603c8e2014-03-21 14:17:14 +080040 select SND_SOC_FSL_UTILS
Xiubo Li40e3b932014-04-30 18:10:06 +080041 help
42 Say Y if you want to add Enhanced Synchronous Audio Interface
43 (ESAI) support for the Freescale CPUs.
44 This option is only useful for out-of-tree drivers since
45 in-tree drivers select it automatically.
Nicolin Chen43d24e72014-01-10 17:54:06 +080046
Shawn Guo60aae8d2012-03-16 16:56:40 +080047config SND_SOC_FSL_UTILS
48 tristate
49
Alexander Shiyaneba9e062014-03-16 08:21:34 +040050config SND_SOC_IMX_PCM_DMA
51 tristate
52 select SND_SOC_GENERIC_DMAENGINE_PCM
53
54config SND_SOC_IMX_AUDMUX
Alexander Shiyan204dec92014-03-16 08:21:35 +040055 tristate "Digital Audio Mux module support"
56 help
57 Say Y if you want to add Digital Audio Mux (AUDMUX) support
58 for the ARM i.MX CPUs.
59 This option is only useful for out-of-tree drivers since
60 in-tree drivers select it automatically.
Alexander Shiyaneba9e062014-03-16 08:21:34 +040061
62config SND_POWERPC_SOC
Shawn Guoa23dc692012-03-16 16:56:38 +080063 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040064 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080065 help
66 Say Y or M if you want to add support for codecs attached to
67 the PowerPC CPUs.
68
Alexander Shiyaneba9e062014-03-16 08:21:34 +040069config SND_IMX_SOC
70 tristate "SoC Audio for Freescale i.MX CPUs"
71 depends on ARCH_MXC || COMPILE_TEST
72 help
73 Say Y or M if you want to add support for codecs attached to
74 the i.MX CPUs.
75
Shawn Guoa23dc692012-03-16 16:56:38 +080076if SND_POWERPC_SOC
77
Jon Smirl89dd0842009-05-23 19:12:59 -040078config SND_MPC52xx_DMA
79 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010080
Shawn Guod61e1122012-03-16 16:56:37 +080081config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060082 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010083
Alexander Shiyaneba9e062014-03-16 08:21:34 +040084comment "SoC Audio support for Freescale PPC boards:"
85
Timur Tabi17467f22008-01-11 18:15:26 +010086config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -060087 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d32009-01-22 18:23:39 -060088 # I2C is necessary for the CS4270 driver
89 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080090 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080091 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080092 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +010093 select SND_SOC_CS4270
94 select SND_SOC_CS4270_VD33_ERRATA
95 default y if MPC8610_HPCD
96 help
97 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +010098
Timur Tabi27ef3742010-08-19 17:11:40 -050099config SND_SOC_P1022_DS
100 tristate "ALSA SoC support for the Freescale P1022 DS board"
101 # I2C is necessary for the WM8776 driver
102 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +0800103 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +0800104 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +0800105 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -0500106 select SND_SOC_WM8776
107 default y if P1022_DS
108 help
109 Say Y if you want to enable audio on the Freescale P1022 DS board.
110 This will also include the Wolfson Microelectronics WM8776 codec
111 driver.
112
Timur Tabi96a0af62012-10-12 14:09:18 -0500113config SND_SOC_P1022_RDK
114 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
115 # I2C is necessary for the WM8960 driver
116 depends on P1022_RDK && I2C
117 select SND_SOC_FSL_SSI
118 select SND_SOC_FSL_UTILS
119 select SND_SOC_POWERPC_DMA
120 select SND_SOC_WM8960
121 default y if P1022_RDK
122 help
123 Say Y if you want to enable audio on the Freescale / iVeia
124 P1022 RDK board. This will also include the Wolfson
125 Microelectronics WM8960 codec driver.
126
Grant Likelydc641372008-07-29 11:42:30 +0100127config SND_SOC_MPC5200_I2S
128 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +0200129 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -0400130 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -0700131 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +0100132 help
133 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400134
135config SND_SOC_MPC5200_AC97
136 tristate "Freescale MPC5200 PSC in AC97 mode driver"
137 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -0600138 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -0400139 select SND_MPC52xx_DMA
140 select PPC_BESTCOMM_GEN_BD
141 help
142 Say Y here to support the MPC5200 PSCs in AC97 mode.
143
Jon Smirla9262c42009-05-26 08:34:12 -0400144config SND_MPC52xx_SOC_PCM030
145 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -0600146 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -0400147 select SND_SOC_MPC5200_AC97
148 select SND_SOC_WM9712
149 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100150 Say Y if you want to add support for sound on the Phytec pcm030
151 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400152
Jon Smirl6ffee432009-05-26 08:34:14 -0400153config SND_MPC52xx_SOC_EFIKA
154 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600155 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400156 select SND_SOC_MPC5200_AC97
157 select SND_SOC_STAC9766
158 help
159 Say Y if you want to add support for sound on the Efika.
160
Shawn Guoa23dc692012-03-16 16:56:38 +0800161endif # SND_POWERPC_SOC
162
Shawn Guoa23dc692012-03-16 16:56:38 +0800163if SND_IMX_SOC
164
165config SND_SOC_IMX_SSI
166 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800167 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800168
Shawn Guo93d7b762013-01-28 14:25:42 +0800169config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300170 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800171 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800172
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400173comment "SoC Audio support for Freescale i.MX boards:"
Shawn Guoa23dc692012-03-16 16:56:38 +0800174
175config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700176 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700177 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800178 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800179 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800180 select SND_SOC_IMX_AUDMUX
181 select SND_SOC_IMX_SSI
182 help
183 Enable support for audio on the i.MX31ADS with the WM1133-EV1
184 PMIC board with WM8835x fitted.
185
186config SND_SOC_MX27VIS_AIC32X4
187 tristate "SoC audio support for Visstrim M10 boards"
188 depends on MACH_IMX27_VISSTRIM_M10 && I2C
189 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800190 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800191 select SND_SOC_IMX_AUDMUX
192 select SND_SOC_IMX_SSI
193 help
194 Say Y if you want to add support for SoC audio on Visstrim SM10
195 board with TLV320AIC32X4 codec.
196
197config SND_SOC_PHYCORE_AC97
198 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
199 depends on MACH_PCM043 || MACH_PCA100
200 select SND_SOC_AC97_BUS
201 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800202 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800203 select SND_SOC_IMX_AUDMUX
204 select SND_SOC_IMX_SSI
205 help
206 Say Y if you want to add support for SoC audio on Phytec phyCORE
207 and phyCARD boards in AC97 mode
208
209config SND_SOC_EUKREA_TLV320
210 tristate "Eukrea TLV320"
Alexander Shiyan7b8751a2014-05-23 15:11:01 +0400211 depends on ARCH_MXC && I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400212 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800213 select SND_SOC_IMX_AUDMUX
214 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100215 select SND_SOC_FSL_SSI
216 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800217 help
218 Enable I2S based access to the TLV320AIC23B codec attached
219 to the SSI interface
220
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800221config SND_SOC_IMX_WM8962
222 tristate "SoC Audio support for i.MX boards with wm8962"
Arnd Bergmanna2915d42014-04-29 19:18:22 +0800223 depends on OF && I2C && INPUT
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800224 select SND_SOC_WM8962
225 select SND_SOC_IMX_PCM_DMA
226 select SND_SOC_IMX_AUDMUX
227 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800228 help
229 Say Y if you want to add support for SoC audio on an i.MX board with
230 a wm8962 codec.
231
Shawn Guoc4483032012-03-16 16:56:44 +0800232config SND_SOC_IMX_SGTL5000
233 tristate "SoC Audio support for i.MX boards with sgtl5000"
234 depends on OF && I2C
235 select SND_SOC_SGTL5000
236 select SND_SOC_IMX_PCM_DMA
237 select SND_SOC_IMX_AUDMUX
238 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800239 help
240 Say Y if you want to add support for SoC audio on an i.MX board with
241 a sgtl5000 codec.
242
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800243config SND_SOC_IMX_SPDIF
244 tristate "SoC Audio support for i.MX boards with S/PDIF"
245 select SND_SOC_IMX_PCM_DMA
246 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800247 help
248 SoC Audio support for i.MX boards with S/PDIF
249 Say Y if you want to add support for SoC audio on an i.MX board with
250 a S/DPDIF.
251
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200252config SND_SOC_IMX_MC13783
253 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400254 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200255 select SND_SOC_IMX_SSI
256 select SND_SOC_IMX_AUDMUX
257 select SND_SOC_MC13783
258 select SND_SOC_IMX_PCM_DMA
259
Shawn Guoa23dc692012-03-16 16:56:38 +0800260endif # SND_IMX_SOC
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400261
262endmenu