blob: fb73e358b5520522beca1a60bf7fd8b71047887e [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"
17 help
18 Say Y if you want to add Synchronous Serial Interface (SSI)
19 support for the Freescale CPUs.
20 This option is only useful for out-of-tree drivers since
21 in-tree drivers select it automatically.
Shawn Guoa23dc692012-03-16 16:56:38 +080022
Nicolin Chena2388a42013-08-21 11:13:16 +080023config SND_SOC_FSL_SPDIF
Alexander Shiyan204dec92014-03-16 08:21:35 +040024 tristate "Sony/Philips Digital Interface module support"
Xiubo Li7d150c62014-02-11 10:47:04 +080025 select REGMAP_MMIO
Alexander Shiyan204dec92014-03-16 08:21:35 +040026 help
27 Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
28 support for the Freescale CPUs.
29 This option is only useful for out-of-tree drivers since
30 in-tree drivers select it automatically.
Nicolin Chena2388a42013-08-21 11:13:16 +080031
Nicolin Chen43d24e72014-01-10 17:54:06 +080032config SND_SOC_FSL_ESAI
33 tristate
Xiubo Li7d150c62014-02-11 10:47:04 +080034 select REGMAP_MMIO
Xiubo Lia603c8e2014-03-21 14:17:14 +080035 select SND_SOC_FSL_UTILS
Nicolin Chen43d24e72014-01-10 17:54:06 +080036
Shawn Guo60aae8d2012-03-16 16:56:40 +080037config SND_SOC_FSL_UTILS
38 tristate
39
Alexander Shiyaneba9e062014-03-16 08:21:34 +040040config SND_SOC_IMX_PCM_DMA
41 tristate
42 select SND_SOC_GENERIC_DMAENGINE_PCM
43
44config SND_SOC_IMX_AUDMUX
Alexander Shiyan204dec92014-03-16 08:21:35 +040045 tristate "Digital Audio Mux module support"
46 help
47 Say Y if you want to add Digital Audio Mux (AUDMUX) support
48 for the ARM i.MX CPUs.
49 This option is only useful for out-of-tree drivers since
50 in-tree drivers select it automatically.
Alexander Shiyaneba9e062014-03-16 08:21:34 +040051
52config SND_POWERPC_SOC
Shawn Guoa23dc692012-03-16 16:56:38 +080053 tristate "SoC Audio for Freescale PowerPC CPUs"
Eric Millbrandtf99ddef2012-09-20 10:36:43 -040054 depends on FSL_SOC || PPC_MPC52xx
Shawn Guoa23dc692012-03-16 16:56:38 +080055 help
56 Say Y or M if you want to add support for codecs attached to
57 the PowerPC CPUs.
58
Alexander Shiyaneba9e062014-03-16 08:21:34 +040059config SND_IMX_SOC
60 tristate "SoC Audio for Freescale i.MX CPUs"
61 depends on ARCH_MXC || COMPILE_TEST
62 help
63 Say Y or M if you want to add support for codecs attached to
64 the i.MX CPUs.
65
Shawn Guoa23dc692012-03-16 16:56:38 +080066if SND_POWERPC_SOC
67
Jon Smirl89dd0842009-05-23 19:12:59 -040068config SND_MPC52xx_DMA
69 tristate
Grant Likely84bc2782008-07-29 11:42:28 +010070
Shawn Guod61e1122012-03-16 16:56:37 +080071config SND_SOC_POWERPC_DMA
Timur Tabi75d91f92009-01-19 11:57:46 -060072 tristate
Timur Tabi17467f22008-01-11 18:15:26 +010073
Alexander Shiyaneba9e062014-03-16 08:21:34 +040074comment "SoC Audio support for Freescale PPC boards:"
75
Timur Tabi17467f22008-01-11 18:15:26 +010076config SND_SOC_MPC8610_HPCD
Timur Tabi75d91f92009-01-19 11:57:46 -060077 tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
Timur Tabiff637d32009-01-22 18:23:39 -060078 # I2C is necessary for the CS4270 driver
79 depends on MPC8610_HPCD && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080080 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080081 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080082 select SND_SOC_POWERPC_DMA
Timur Tabi17467f22008-01-11 18:15:26 +010083 select SND_SOC_CS4270
84 select SND_SOC_CS4270_VD33_ERRATA
85 default y if MPC8610_HPCD
86 help
87 Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
Grant Likelydc641372008-07-29 11:42:30 +010088
Timur Tabi27ef3742010-08-19 17:11:40 -050089config SND_SOC_P1022_DS
90 tristate "ALSA SoC support for the Freescale P1022 DS board"
91 # I2C is necessary for the WM8776 driver
92 depends on P1022_DS && I2C
Shawn Guod61e1122012-03-16 16:56:37 +080093 select SND_SOC_FSL_SSI
Shawn Guo60aae8d2012-03-16 16:56:40 +080094 select SND_SOC_FSL_UTILS
Shawn Guod61e1122012-03-16 16:56:37 +080095 select SND_SOC_POWERPC_DMA
Timur Tabi27ef3742010-08-19 17:11:40 -050096 select SND_SOC_WM8776
97 default y if P1022_DS
98 help
99 Say Y if you want to enable audio on the Freescale P1022 DS board.
100 This will also include the Wolfson Microelectronics WM8776 codec
101 driver.
102
Timur Tabi96a0af62012-10-12 14:09:18 -0500103config SND_SOC_P1022_RDK
104 tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
105 # I2C is necessary for the WM8960 driver
106 depends on P1022_RDK && I2C
107 select SND_SOC_FSL_SSI
108 select SND_SOC_FSL_UTILS
109 select SND_SOC_POWERPC_DMA
110 select SND_SOC_WM8960
111 default y if P1022_RDK
112 help
113 Say Y if you want to enable audio on the Freescale / iVeia
114 P1022 RDK board. This will also include the Wolfson
115 Microelectronics WM8960 codec driver.
116
Grant Likelydc641372008-07-29 11:42:30 +0100117config SND_SOC_MPC5200_I2S
118 tristate "Freescale MPC5200 PSC in I2S mode driver"
Takashi Iwai65746122009-05-04 16:03:21 +0200119 depends on PPC_MPC52xx && PPC_BESTCOMM
Jon Smirl89dd0842009-05-23 19:12:59 -0400120 select SND_MPC52xx_DMA
Grant Likely847cdf42008-11-14 05:19:00 -0700121 select PPC_BESTCOMM_GEN_BD
Grant Likelydc641372008-07-29 11:42:30 +0100122 help
123 Say Y here to support the MPC5200 PSCs in I2S mode.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400124
125config SND_SOC_MPC5200_AC97
126 tristate "Freescale MPC5200 PSC in AC97 mode driver"
127 depends on PPC_MPC52xx && PPC_BESTCOMM
Grant Likely6a84c232009-06-28 01:41:52 -0600128 select SND_SOC_AC97_BUS
Jon Smirl20d0e1522009-05-26 08:34:10 -0400129 select SND_MPC52xx_DMA
130 select PPC_BESTCOMM_GEN_BD
131 help
132 Say Y here to support the MPC5200 PSCs in AC97 mode.
133
Jon Smirla9262c42009-05-26 08:34:12 -0400134config SND_MPC52xx_SOC_PCM030
135 tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
Grant Likely40d9ec12009-06-28 01:42:06 -0600136 depends on PPC_MPC5200_SIMPLE
Jon Smirla9262c42009-05-26 08:34:12 -0400137 select SND_SOC_MPC5200_AC97
138 select SND_SOC_WM9712
139 help
Mark Brown0c0e09e2009-05-26 21:14:59 +0100140 Say Y if you want to add support for sound on the Phytec pcm030
141 baseboard.
Jon Smirl20d0e1522009-05-26 08:34:10 -0400142
Jon Smirl6ffee432009-05-26 08:34:14 -0400143config SND_MPC52xx_SOC_EFIKA
144 tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
Grant Likely40d9ec12009-06-28 01:42:06 -0600145 depends on PPC_EFIKA
Jon Smirl6ffee432009-05-26 08:34:14 -0400146 select SND_SOC_MPC5200_AC97
147 select SND_SOC_STAC9766
148 help
149 Say Y if you want to add support for sound on the Efika.
150
Shawn Guoa23dc692012-03-16 16:56:38 +0800151endif # SND_POWERPC_SOC
152
Shawn Guoa23dc692012-03-16 16:56:38 +0800153if SND_IMX_SOC
154
155config SND_SOC_IMX_SSI
156 tristate
Xiubo Li5f9e6ff2014-03-21 14:17:15 +0800157 select SND_SOC_FSL_UTILS
Shawn Guoa23dc692012-03-16 16:56:38 +0800158
Shawn Guo93d7b762013-01-28 14:25:42 +0800159config SND_SOC_IMX_PCM_FIQ
Fabio Estevam3f1a91a2013-07-29 18:37:32 -0300160 tristate
Shawn Guoa23dc692012-03-16 16:56:38 +0800161 select FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800162
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400163comment "SoC Audio support for Freescale i.MX boards:"
Shawn Guoa23dc692012-03-16 16:56:38 +0800164
165config SND_MXC_SOC_WM1133_EV1
Linus Torvalds2e341ca2012-05-23 13:05:43 -0700166 tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
Kees Cooke25c6812012-10-23 13:04:23 -0700167 depends on MACH_MX31ADS_WM1133_EV1
Shawn Guoa23dc692012-03-16 16:56:38 +0800168 select SND_SOC_WM8350
Shawn Guof19493a2012-03-16 16:56:39 +0800169 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800170 select SND_SOC_IMX_AUDMUX
171 select SND_SOC_IMX_SSI
172 help
173 Enable support for audio on the i.MX31ADS with the WM1133-EV1
174 PMIC board with WM8835x fitted.
175
176config SND_SOC_MX27VIS_AIC32X4
177 tristate "SoC audio support for Visstrim M10 boards"
178 depends on MACH_IMX27_VISSTRIM_M10 && I2C
179 select SND_SOC_TLV320AIC32X4
Shawn Guof19493a2012-03-16 16:56:39 +0800180 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800181 select SND_SOC_IMX_AUDMUX
182 select SND_SOC_IMX_SSI
183 help
184 Say Y if you want to add support for SoC audio on Visstrim SM10
185 board with TLV320AIC32X4 codec.
186
187config SND_SOC_PHYCORE_AC97
188 tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
189 depends on MACH_PCM043 || MACH_PCA100
190 select SND_SOC_AC97_BUS
191 select SND_SOC_WM9712
Shawn Guof19493a2012-03-16 16:56:39 +0800192 select SND_SOC_IMX_PCM_FIQ
Shawn Guoa23dc692012-03-16 16:56:38 +0800193 select SND_SOC_IMX_AUDMUX
194 select SND_SOC_IMX_SSI
195 help
196 Say Y if you want to add support for SoC audio on Phytec phyCORE
197 and phyCARD boards in AC97 mode
198
199config SND_SOC_EUKREA_TLV320
200 tristate "Eukrea TLV320"
201 depends on MACH_EUKREA_MBIMX27_BASEBOARD \
202 || MACH_EUKREA_MBIMXSD25_BASEBOARD \
203 || MACH_EUKREA_MBIMXSD35_BASEBOARD \
Denis Carikli66f23292014-01-15 18:23:25 +0100204 || MACH_EUKREA_MBIMXSD51_BASEBOARD \
205 || (OF && ARM)
Shawn Guoa23dc692012-03-16 16:56:38 +0800206 depends on I2C
Max Filippovcc1bc542014-03-06 14:04:42 +0400207 select SND_SOC_TLV320AIC23_I2C
Shawn Guoa23dc692012-03-16 16:56:38 +0800208 select SND_SOC_IMX_AUDMUX
209 select SND_SOC_IMX_SSI
Denis Carikli66f23292014-01-15 18:23:25 +0100210 select SND_SOC_FSL_SSI
211 select SND_SOC_IMX_PCM_DMA
Shawn Guoa23dc692012-03-16 16:56:38 +0800212 help
213 Enable I2S based access to the TLV320AIC23B codec attached
214 to the SSI interface
215
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800216config SND_SOC_IMX_WM8962
217 tristate "SoC Audio support for i.MX boards with wm8962"
218 depends on OF && I2C
219 select SND_SOC_WM8962
220 select SND_SOC_IMX_PCM_DMA
221 select SND_SOC_IMX_AUDMUX
222 select SND_SOC_FSL_SSI
Nicolin Chen8de2ae22013-06-11 02:43:30 +0800223 help
224 Say Y if you want to add support for SoC audio on an i.MX board with
225 a wm8962 codec.
226
Shawn Guoc4483032012-03-16 16:56:44 +0800227config SND_SOC_IMX_SGTL5000
228 tristate "SoC Audio support for i.MX boards with sgtl5000"
229 depends on OF && I2C
230 select SND_SOC_SGTL5000
231 select SND_SOC_IMX_PCM_DMA
232 select SND_SOC_IMX_AUDMUX
233 select SND_SOC_FSL_SSI
Shawn Guoc4483032012-03-16 16:56:44 +0800234 help
235 Say Y if you want to add support for SoC audio on an i.MX board with
236 a sgtl5000 codec.
237
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800238config SND_SOC_IMX_SPDIF
239 tristate "SoC Audio support for i.MX boards with S/PDIF"
240 select SND_SOC_IMX_PCM_DMA
241 select SND_SOC_FSL_SPDIF
Nicolin Chen2a956ec2013-08-28 12:04:46 +0800242 help
243 SoC Audio support for i.MX boards with S/PDIF
244 Say Y if you want to add support for SoC audio on an i.MX board with
245 a S/DPDIF.
246
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200247config SND_SOC_IMX_MC13783
248 tristate "SoC Audio support for I.MX boards with mc13783"
Alexander Shiyane5a3da22013-12-14 17:03:10 +0400249 depends on MFD_MC13XXX && ARM
Philippe Rétornaz6b0a7952012-05-15 13:53:51 +0200250 select SND_SOC_IMX_SSI
251 select SND_SOC_IMX_AUDMUX
252 select SND_SOC_MC13783
253 select SND_SOC_IMX_PCM_DMA
254
Shawn Guoa23dc692012-03-16 16:56:38 +0800255endif # SND_IMX_SOC
Alexander Shiyaneba9e062014-03-16 08:21:34 +0400256
257endmenu