Kconfig 8.8 KB
Newer Older
1 2
menu "SoC Audio for Freescale CPUs"

3 4
comment "Common SoC Audio options for Freescale CPUs:"

5 6 7
config SND_SOC_FSL_ASRC
	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
	select REGMAP_MMIO
8
	select SND_SOC_GENERIC_DMAENGINE_PCM
9 10 11 12 13 14
	help
	  Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.

15
config SND_SOC_FSL_SAI
16
	tristate "Synchronous Audio Interface (SAI) module support"
17
	select REGMAP_MMIO
18
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
19
	select SND_SOC_GENERIC_DMAENGINE_PCM
20 21 22 23 24
	help
	  Say Y if you want to add Synchronous Audio Interface (SAI)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.
25

26
config SND_SOC_FSL_SSI
27
	tristate "Synchronous Serial Interface module support"
28
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
29
	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
M
Markus Pargmann 已提交
30
	select REGMAP_MMIO
31 32 33 34 35
	help
	  Say Y if you want to add Synchronous Serial Interface (SSI)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.
36

37
config SND_SOC_FSL_SPDIF
38
	tristate "Sony/Philips Digital Interface module support"
39
	select REGMAP_MMIO
40
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
41
	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
42 43 44 45 46
	help
	  Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
	  support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.
47

48
config SND_SOC_FSL_ESAI
49
	tristate "Enhanced Serial Audio Interface (ESAI) module support"
50
	select REGMAP_MMIO
51
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
52
	select SND_SOC_FSL_UTILS
53 54 55 56 57
	help
	  Say Y if you want to add Enhanced Synchronous Audio Interface
	  (ESAI) support for the Freescale CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.
58

59
config SND_SOC_FSL_UTILS
60
	tristate
61

62 63 64 65 66
config SND_SOC_IMX_PCM_DMA
	tristate
	select SND_SOC_GENERIC_DMAENGINE_PCM

config SND_SOC_IMX_AUDMUX
67 68 69 70 71 72
	tristate "Digital Audio Mux module support"
	help
	  Say Y if you want to add Digital Audio Mux (AUDMUX) support
	  for the ARM i.MX CPUs.
	  This option is only useful for out-of-tree drivers since
	  in-tree drivers select it automatically.
73 74

config SND_POWERPC_SOC
75
	tristate "SoC Audio for Freescale PowerPC CPUs"
76
	depends on FSL_SOC || PPC_MPC52xx
77 78 79 80
	help
	  Say Y or M if you want to add support for codecs attached to
	  the PowerPC CPUs.

81 82 83 84 85 86 87
config SND_IMX_SOC
	tristate "SoC Audio for Freescale i.MX CPUs"
	depends on ARCH_MXC || COMPILE_TEST
	help
	  Say Y or M if you want to add support for codecs attached to
	  the i.MX CPUs.

88 89
if SND_POWERPC_SOC

90 91
config SND_MPC52xx_DMA
	tristate
92

93
config SND_SOC_POWERPC_DMA
94
	tristate
95

96 97
comment "SoC Audio support for Freescale PPC boards:"

98
config SND_SOC_MPC8610_HPCD
99
	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
100 101
	# I2C is necessary for the CS4270 driver
	depends on MPC8610_HPCD && I2C
102
	select SND_SOC_FSL_SSI
103
	select SND_SOC_FSL_UTILS
104
	select SND_SOC_POWERPC_DMA
105 106 107 108 109
	select SND_SOC_CS4270
	select SND_SOC_CS4270_VD33_ERRATA
	default y if MPC8610_HPCD
	help
	  Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
110

111 112 113 114
config SND_SOC_P1022_DS
	tristate "ALSA SoC support for the Freescale P1022 DS board"
	# I2C is necessary for the WM8776 driver
	depends on P1022_DS && I2C
115
	select SND_SOC_FSL_SSI
116
	select SND_SOC_FSL_UTILS
117
	select SND_SOC_POWERPC_DMA
118 119 120 121 122 123 124
	select SND_SOC_WM8776
	default y if P1022_DS
	help
	  Say Y if you want to enable audio on the Freescale P1022 DS board.
	  This will also include the Wolfson Microelectronics WM8776 codec
	  driver.

125 126 127 128 129 130 131 132 133 134 135 136 137 138
config SND_SOC_P1022_RDK
	tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
	# I2C is necessary for the WM8960 driver
	depends on P1022_RDK && I2C
	select SND_SOC_FSL_SSI
	select SND_SOC_FSL_UTILS
	select SND_SOC_POWERPC_DMA
	select SND_SOC_WM8960
	default y if P1022_RDK
	help
	  Say Y if you want to enable audio on the Freescale / iVeia
	  P1022 RDK board.  This will also include the Wolfson
	  Microelectronics WM8960 codec driver.

139 140
config SND_SOC_MPC5200_I2S
	tristate "Freescale MPC5200 PSC in I2S mode driver"
141
	depends on PPC_MPC52xx && PPC_BESTCOMM
142
	select SND_MPC52xx_DMA
143
	select PPC_BESTCOMM_GEN_BD
144 145
	help
	  Say Y here to support the MPC5200 PSCs in I2S mode.
J
Jon Smirl 已提交
146 147 148 149

config SND_SOC_MPC5200_AC97
	tristate "Freescale MPC5200 PSC in AC97 mode driver"
	depends on PPC_MPC52xx && PPC_BESTCOMM
150
	select SND_SOC_AC97_BUS
J
Jon Smirl 已提交
151 152 153 154 155
	select SND_MPC52xx_DMA
	select PPC_BESTCOMM_GEN_BD
	help
	  Say Y here to support the MPC5200 PSCs in AC97 mode.

156 157
config SND_MPC52xx_SOC_PCM030
	tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
158
	depends on PPC_MPC5200_SIMPLE
159 160 161
	select SND_SOC_MPC5200_AC97
	select SND_SOC_WM9712
	help
162 163
	  Say Y if you want to add support for sound on the Phytec pcm030
	  baseboard.
J
Jon Smirl 已提交
164

165 166
config SND_MPC52xx_SOC_EFIKA
	tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
167
	depends on PPC_EFIKA
168 169 170 171 172
	select SND_SOC_MPC5200_AC97
	select SND_SOC_STAC9766
	help
	  Say Y if you want to add support for sound on the Efika.

173 174 175 176 177 178
endif # SND_POWERPC_SOC

if SND_IMX_SOC

config SND_SOC_IMX_SSI
	tristate
179
	select SND_SOC_FSL_UTILS
180

181
config SND_SOC_IMX_PCM_FIQ
F
Fabio Estevam 已提交
182
	tristate
183 184
	select FIQ

185
comment "SoC Audio support for Freescale i.MX boards:"
186 187

config SND_MXC_SOC_WM1133_EV1
188
	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
K
Kees Cook 已提交
189
	depends on MACH_MX31ADS_WM1133_EV1
190
	select SND_SOC_WM8350
191
	select SND_SOC_IMX_PCM_FIQ
192 193 194 195 196 197 198 199 200 201
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_SSI
	help
	  Enable support for audio on the i.MX31ADS with the WM1133-EV1
	  PMIC board with WM8835x fitted.

config SND_SOC_MX27VIS_AIC32X4
	tristate "SoC audio support for Visstrim M10 boards"
	depends on MACH_IMX27_VISSTRIM_M10 && I2C
	select SND_SOC_TLV320AIC32X4
202
	select SND_SOC_IMX_PCM_DMA
203 204 205 206 207 208 209 210 211 212 213
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_SSI
	help
	  Say Y if you want to add support for SoC audio on Visstrim SM10
	  board with TLV320AIC32X4 codec.

config SND_SOC_PHYCORE_AC97
	tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
	depends on MACH_PCM043 || MACH_PCA100
	select SND_SOC_AC97_BUS
	select SND_SOC_WM9712
214
	select SND_SOC_IMX_PCM_FIQ
215 216 217 218 219 220 221 222
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_SSI
	help
	  Say Y if you want to add support for SoC audio on Phytec phyCORE
	  and phyCARD boards in AC97 mode

config SND_SOC_EUKREA_TLV320
	tristate "Eukrea TLV320"
223
	depends on ARCH_MXC && I2C
224
	select SND_SOC_TLV320AIC23_I2C
225 226
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_SSI
227 228
	select SND_SOC_FSL_SSI
	select SND_SOC_IMX_PCM_DMA
229 230 231 232
	help
	  Enable I2S based access to the TLV320AIC23B codec attached
	  to the SSI interface

233 234
config SND_SOC_IMX_WM8962
	tristate "SoC Audio support for i.MX boards with wm8962"
235
	depends on OF && I2C && INPUT
236 237 238 239 240 241 242 243
	select SND_SOC_WM8962
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a wm8962 codec.

244 245 246 247 248 249 250 251 252 253 254 255
config SND_SOC_IMX_ES8328
	tristate "SoC Audio support for i.MX boards with the ES8328 codec"
	depends on OF && (I2C || SPI)
	select SND_SOC_ES8328_I2C if I2C
	select SND_SOC_ES8328_SPI if SPI_MASTER
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for the ES8328 audio codec connected
	  via SSI/I2S over either SPI or I2C.

256 257 258 259 260 261 262 263 264 265 266
config SND_SOC_IMX_SGTL5000
	tristate "SoC Audio support for i.MX boards with sgtl5000"
	depends on OF && I2C
	select SND_SOC_SGTL5000
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_FSL_SSI
	help
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a sgtl5000 codec.

267 268 269 270 271 272 273 274 275
config SND_SOC_IMX_SPDIF
	tristate "SoC Audio support for i.MX boards with S/PDIF"
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_FSL_SPDIF
	help
	  SoC Audio support for i.MX boards with S/PDIF
	  Say Y if you want to add support for SoC audio on an i.MX board with
	  a S/DPDIF.

276 277
config SND_SOC_IMX_MC13783
	tristate "SoC Audio support for I.MX boards with mc13783"
278
	depends on MFD_MC13XXX && ARM
279 280 281 282 283
	select SND_SOC_IMX_SSI
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_MC13783
	select SND_SOC_IMX_PCM_DMA

284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300
config SND_SOC_FSL_ASOC_CARD
	tristate "Generic ASoC Sound Card with ASRC support"
	depends on OF && I2C
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_PCM_DMA
	select SND_SOC_FSL_ESAI
	select SND_SOC_FSL_SAI
	select SND_SOC_FSL_SSI
	select SND_SOC_CS42XX8_I2C
	select SND_SOC_SGTL5000
	select SND_SOC_WM8962
	help
	 ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
	 ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888
	 and SGTL5000.
	 Say Y if you want to add support for Freescale Generic ASoC Sound Card.

301
endif # SND_IMX_SOC
302 303

endmenu