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

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

5 6 7 8 9 10 11 12 13
config SND_SOC_FSL_ASRC
	tristate "Asynchronous Sample Rate Converter (ASRC) module support"
	select REGMAP_MMIO
	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.

14
config SND_SOC_FSL_SAI
15
	tristate "Synchronous Audio Interface (SAI) module support"
16
	select REGMAP_MMIO
17
	select SND_SOC_GENERIC_DMAENGINE_PCM
18 19 20 21 22
	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.
23

24
config SND_SOC_FSL_SSI
25
	tristate "Synchronous Serial Interface module support"
26 27
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && ARCH_MXC
M
Markus Pargmann 已提交
28
	select REGMAP_MMIO
29 30 31 32 33
	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.
34

35
config SND_SOC_FSL_SPDIF
36
	tristate "Sony/Philips Digital Interface module support"
37
	select REGMAP_MMIO
38 39
	select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
	select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && ARCH_MXC
40 41 42 43 44
	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.
45

46
config SND_SOC_FSL_ESAI
47
	tristate "Enhanced Serial Audio Interface (ESAI) module support"
48
	select REGMAP_MMIO
49
	select SND_SOC_FSL_UTILS
50 51 52 53 54
	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.
55

56
config SND_SOC_FSL_UTILS
57
	tristate
58

59 60 61 62 63
config SND_SOC_IMX_PCM_DMA
	tristate
	select SND_SOC_GENERIC_DMAENGINE_PCM

config SND_SOC_IMX_AUDMUX
64 65 66 67 68 69
	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.
70 71

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

78 79 80 81 82 83 84
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.

85 86
if SND_POWERPC_SOC

87 88
config SND_MPC52xx_DMA
	tristate
89

90
config SND_SOC_POWERPC_DMA
91
	tristate
92

93 94
comment "SoC Audio support for Freescale PPC boards:"

95
config SND_SOC_MPC8610_HPCD
96
	tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
97 98
	# I2C is necessary for the CS4270 driver
	depends on MPC8610_HPCD && I2C
99
	select SND_SOC_FSL_SSI
100
	select SND_SOC_FSL_UTILS
101
	select SND_SOC_POWERPC_DMA
102 103 104 105 106
	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.
107

108 109 110 111
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
112
	select SND_SOC_FSL_SSI
113
	select SND_SOC_FSL_UTILS
114
	select SND_SOC_POWERPC_DMA
115 116 117 118 119 120 121
	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.

122 123 124 125 126 127 128 129 130 131 132 133 134 135
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.

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

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

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

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

170 171 172 173 174 175
endif # SND_POWERPC_SOC

if SND_IMX_SOC

config SND_SOC_IMX_SSI
	tristate
176
	select SND_SOC_FSL_UTILS
177

178
config SND_SOC_IMX_PCM_FIQ
F
Fabio Estevam 已提交
179
	tristate
180 181
	select FIQ

182
comment "SoC Audio support for Freescale i.MX boards:"
183 184

config SND_MXC_SOC_WM1133_EV1
185
	tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
K
Kees Cook 已提交
186
	depends on MACH_MX31ADS_WM1133_EV1
187
	select SND_SOC_WM8350
188
	select SND_SOC_IMX_PCM_FIQ
189 190 191 192 193 194 195 196 197 198
	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
199
	select SND_SOC_IMX_PCM_DMA
200 201 202 203 204 205 206 207 208 209 210
	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
211
	select SND_SOC_IMX_PCM_FIQ
212 213 214 215 216 217 218 219
	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"
220
	depends on ARCH_MXC && I2C
221
	select SND_SOC_TLV320AIC23_I2C
222 223
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_IMX_SSI
224 225
	select SND_SOC_FSL_SSI
	select SND_SOC_IMX_PCM_DMA
226 227 228 229
	help
	  Enable I2S based access to the TLV320AIC23B codec attached
	  to the SSI interface

230 231
config SND_SOC_IMX_WM8962
	tristate "SoC Audio support for i.MX boards with wm8962"
232
	depends on OF && I2C && INPUT
233 234 235 236 237 238 239 240
	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.

241 242 243 244 245 246 247 248 249 250 251
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.

252 253 254 255 256 257 258 259 260
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.

261 262
config SND_SOC_IMX_MC13783
	tristate "SoC Audio support for I.MX boards with mc13783"
263
	depends on MFD_MC13XXX && ARM
264 265 266 267 268
	select SND_SOC_IMX_SSI
	select SND_SOC_IMX_AUDMUX
	select SND_SOC_MC13783
	select SND_SOC_IMX_PCM_DMA

269
endif # SND_IMX_SOC
270 271

endmenu