Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "SoC Audio for Freescale CPUs"
  3. comment "Common SoC Audio options for Freescale CPUs:"
  4. config SND_SOC_FSL_ASRC
  5. tristate "Asynchronous Sample Rate Converter (ASRC) module support"
  6. depends on HAS_DMA
  7. select REGMAP_MMIO
  8. select SND_SOC_GENERIC_DMAENGINE_PCM
  9. help
  10. Say Y if you want to add Asynchronous Sample Rate Converter (ASRC)
  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.
  14. config SND_SOC_FSL_SAI
  15. tristate "Synchronous Audio Interface (SAI) module support"
  16. select REGMAP_MMIO
  17. select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
  18. select SND_SOC_GENERIC_DMAENGINE_PCM
  19. help
  20. Say Y if you want to add Synchronous Audio Interface (SAI)
  21. support for the Freescale CPUs.
  22. This option is only useful for out-of-tree drivers since
  23. in-tree drivers select it automatically.
  24. config SND_SOC_FSL_MQS
  25. tristate "Medium Quality Sound (MQS) module support"
  26. depends on SND_SOC_FSL_SAI
  27. select REGMAP_MMIO
  28. help
  29. Say Y if you want to add Medium Quality Sound (MQS)
  30. support for the Freescale CPUs.
  31. This option is only useful for out-of-tree drivers since
  32. in-tree drivers select it automatically.
  33. config SND_SOC_FSL_AUDMIX
  34. tristate "Audio Mixer (AUDMIX) module support"
  35. select REGMAP_MMIO
  36. help
  37. Say Y if you want to add Audio Mixer (AUDMIX)
  38. support for the NXP iMX CPUs.
  39. config SND_SOC_FSL_SSI
  40. tristate "Synchronous Serial Interface module (SSI) support"
  41. select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
  42. select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
  43. select REGMAP_MMIO
  44. help
  45. Say Y if you want to add Synchronous Serial Interface (SSI)
  46. support for the Freescale CPUs.
  47. This option is only useful for out-of-tree drivers since
  48. in-tree drivers select it automatically.
  49. config SND_SOC_FSL_SPDIF
  50. tristate "Sony/Philips Digital Interface (S/PDIF) module support"
  51. select REGMAP_MMIO
  52. select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
  53. select SND_SOC_IMX_PCM_FIQ if SND_IMX_SOC != n && (MXC_TZIC || MXC_AVIC)
  54. select BITREVERSE
  55. help
  56. Say Y if you want to add Sony/Philips Digital Interface (SPDIF)
  57. support for the Freescale CPUs.
  58. This option is only useful for out-of-tree drivers since
  59. in-tree drivers select it automatically.
  60. config SND_SOC_FSL_ESAI
  61. tristate "Enhanced Serial Audio Interface (ESAI) module support"
  62. select REGMAP_MMIO
  63. select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
  64. help
  65. Say Y if you want to add Enhanced Synchronous Audio Interface
  66. (ESAI) support for the Freescale CPUs.
  67. This option is only useful for out-of-tree drivers since
  68. in-tree drivers select it automatically.
  69. config SND_SOC_FSL_MICFIL
  70. tristate "Pulse Density Modulation Microphone Interface (MICFIL) module support"
  71. select REGMAP_MMIO
  72. select SND_SOC_IMX_PCM_DMA if SND_IMX_SOC != n
  73. select SND_SOC_GENERIC_DMAENGINE_PCM
  74. help
  75. Say Y if you want to add Pulse Density Modulation microphone
  76. interface (MICFIL) support for NXP.
  77. config SND_SOC_FSL_EASRC
  78. tristate "Enhanced Asynchronous Sample Rate Converter (EASRC) module support"
  79. depends on SND_SOC_FSL_ASRC
  80. select REGMAP_MMIO
  81. select SND_SOC_GENERIC_DMAENGINE_PCM
  82. help
  83. Say Y if you want to add Enhanced ASRC support for NXP. The ASRC is
  84. a digital module that converts audio from a source sample rate to a
  85. destination sample rate. It is a new design module compare with the
  86. old ASRC.
  87. config SND_SOC_FSL_UTILS
  88. tristate
  89. config SND_SOC_IMX_PCM_DMA
  90. tristate
  91. select SND_SOC_GENERIC_DMAENGINE_PCM
  92. config SND_SOC_IMX_AUDMUX
  93. tristate "Digital Audio Mux module support"
  94. help
  95. Say Y if you want to add Digital Audio Mux (AUDMUX) support
  96. for the ARM i.MX CPUs.
  97. This option is only useful for out-of-tree drivers since
  98. in-tree drivers select it automatically.
  99. config SND_POWERPC_SOC
  100. tristate "SoC Audio for Freescale PowerPC CPUs"
  101. depends on FSL_SOC || PPC_MPC52xx
  102. help
  103. Say Y or M if you want to add support for codecs attached to
  104. the PowerPC CPUs.
  105. config SND_IMX_SOC
  106. tristate "SoC Audio for Freescale i.MX CPUs"
  107. depends on ARCH_MXC || COMPILE_TEST
  108. help
  109. Say Y or M if you want to add support for codecs attached to
  110. the i.MX CPUs.
  111. if SND_POWERPC_SOC
  112. config SND_MPC52xx_DMA
  113. tristate
  114. config SND_SOC_POWERPC_DMA
  115. tristate
  116. comment "SoC Audio support for Freescale PPC boards:"
  117. config SND_SOC_MPC8610_HPCD
  118. tristate "ALSA SoC support for the Freescale MPC8610 HPCD board"
  119. # I2C is necessary for the CS4270 driver
  120. depends on MPC8610_HPCD && I2C
  121. select SND_SOC_FSL_SSI
  122. select SND_SOC_FSL_UTILS
  123. select SND_SOC_POWERPC_DMA
  124. select SND_SOC_CS4270
  125. select SND_SOC_CS4270_VD33_ERRATA
  126. default y if MPC8610_HPCD
  127. help
  128. Say Y if you want to enable audio on the Freescale MPC8610 HPCD.
  129. config SND_SOC_P1022_DS
  130. tristate "ALSA SoC support for the Freescale P1022 DS board"
  131. # I2C is necessary for the WM8776 driver
  132. depends on P1022_DS && I2C
  133. select SND_SOC_FSL_SSI
  134. select SND_SOC_FSL_UTILS
  135. select SND_SOC_POWERPC_DMA
  136. select SND_SOC_WM8776
  137. default y if P1022_DS
  138. help
  139. Say Y if you want to enable audio on the Freescale P1022 DS board.
  140. This will also include the Wolfson Microelectronics WM8776 codec
  141. driver.
  142. config SND_SOC_P1022_RDK
  143. tristate "ALSA SoC support for the Freescale / iVeia P1022 RDK board"
  144. # I2C is necessary for the WM8960 driver
  145. depends on P1022_RDK && I2C
  146. select SND_SOC_FSL_SSI
  147. select SND_SOC_FSL_UTILS
  148. select SND_SOC_POWERPC_DMA
  149. select SND_SOC_WM8960
  150. default y if P1022_RDK
  151. help
  152. Say Y if you want to enable audio on the Freescale / iVeia
  153. P1022 RDK board. This will also include the Wolfson
  154. Microelectronics WM8960 codec driver.
  155. config SND_SOC_MPC5200_I2S
  156. tristate "Freescale MPC5200 PSC in I2S mode driver"
  157. depends on PPC_MPC52xx && PPC_BESTCOMM
  158. select SND_MPC52xx_DMA
  159. select PPC_BESTCOMM_GEN_BD
  160. help
  161. Say Y here to support the MPC5200 PSCs in I2S mode.
  162. config SND_SOC_MPC5200_AC97
  163. tristate "Freescale MPC5200 PSC in AC97 mode driver"
  164. depends on PPC_MPC52xx && PPC_BESTCOMM
  165. select SND_SOC_AC97_BUS
  166. select SND_MPC52xx_DMA
  167. select PPC_BESTCOMM_GEN_BD
  168. help
  169. Say Y here to support the MPC5200 PSCs in AC97 mode.
  170. config SND_MPC52xx_SOC_PCM030
  171. tristate "SoC AC97 Audio support for Phytec pcm030 and WM9712"
  172. depends on PPC_MPC5200_SIMPLE
  173. select SND_SOC_MPC5200_AC97
  174. select SND_SOC_WM9712
  175. help
  176. Say Y if you want to add support for sound on the Phytec pcm030
  177. baseboard.
  178. config SND_MPC52xx_SOC_EFIKA
  179. tristate "SoC AC97 Audio support for bbplan Efika and STAC9766"
  180. depends on PPC_EFIKA
  181. select SND_SOC_MPC5200_AC97
  182. select SND_SOC_STAC9766
  183. help
  184. Say Y if you want to add support for sound on the Efika.
  185. endif # SND_POWERPC_SOC
  186. config SND_SOC_IMX_PCM_FIQ
  187. tristate
  188. default y if SND_SOC_IMX_SSI=y && (SND_SOC_FSL_SSI=m || SND_SOC_FSL_SPDIF=m) && (MXC_TZIC || MXC_AVIC)
  189. select FIQ
  190. if SND_IMX_SOC
  191. config SND_SOC_IMX_SSI
  192. tristate
  193. select SND_SOC_FSL_UTILS
  194. comment "SoC Audio support for Freescale i.MX boards:"
  195. config SND_MXC_SOC_WM1133_EV1
  196. tristate "Audio on the i.MX31ADS with WM1133-EV1 fitted"
  197. depends on MACH_MX31ADS_WM1133_EV1
  198. select SND_SOC_WM8350
  199. select SND_SOC_IMX_PCM_FIQ
  200. select SND_SOC_IMX_AUDMUX
  201. select SND_SOC_IMX_SSI
  202. help
  203. Enable support for audio on the i.MX31ADS with the WM1133-EV1
  204. PMIC board with WM8835x fitted.
  205. config SND_SOC_MX27VIS_AIC32X4
  206. tristate "SoC audio support for Visstrim M10 boards"
  207. depends on MACH_IMX27_VISSTRIM_M10 && I2C
  208. select SND_SOC_TLV320AIC32X4
  209. select SND_SOC_IMX_PCM_DMA
  210. select SND_SOC_IMX_AUDMUX
  211. select SND_SOC_IMX_SSI
  212. help
  213. Say Y if you want to add support for SoC audio on Visstrim SM10
  214. board with TLV320AIC32X4 codec.
  215. config SND_SOC_PHYCORE_AC97
  216. tristate "SoC Audio support for Phytec phyCORE (and phyCARD) boards"
  217. depends on MACH_PCM043 || MACH_PCA100
  218. select SND_SOC_AC97_BUS
  219. select SND_SOC_WM9712
  220. select SND_SOC_IMX_PCM_FIQ
  221. select SND_SOC_IMX_AUDMUX
  222. select SND_SOC_IMX_SSI
  223. help
  224. Say Y if you want to add support for SoC audio on Phytec phyCORE
  225. and phyCARD boards in AC97 mode
  226. config SND_SOC_EUKREA_TLV320
  227. tristate "Eukrea TLV320"
  228. depends on ARCH_MXC && !ARM64 && I2C
  229. select SND_SOC_TLV320AIC23_I2C
  230. select SND_SOC_IMX_AUDMUX
  231. select SND_SOC_IMX_SSI
  232. select SND_SOC_FSL_SSI
  233. select SND_SOC_IMX_PCM_DMA
  234. help
  235. Enable I2S based access to the TLV320AIC23B codec attached
  236. to the SSI interface
  237. config SND_SOC_IMX_ES8328
  238. tristate "SoC Audio support for i.MX boards with the ES8328 codec"
  239. depends on OF && (I2C || SPI)
  240. select SND_SOC_ES8328_I2C if I2C
  241. select SND_SOC_ES8328_SPI if SPI_MASTER
  242. select SND_SOC_IMX_PCM_DMA
  243. select SND_SOC_IMX_AUDMUX
  244. select SND_SOC_FSL_SSI
  245. help
  246. Say Y if you want to add support for the ES8328 audio codec connected
  247. via SSI/I2S over either SPI or I2C.
  248. config SND_SOC_IMX_SGTL5000
  249. tristate "SoC Audio support for i.MX boards with sgtl5000"
  250. depends on OF && I2C
  251. select SND_SOC_SGTL5000
  252. select SND_SOC_IMX_PCM_DMA
  253. select SND_SOC_IMX_AUDMUX
  254. select SND_SOC_FSL_SSI
  255. help
  256. Say Y if you want to add support for SoC audio on an i.MX board with
  257. a sgtl5000 codec.
  258. config SND_SOC_IMX_SPDIF
  259. tristate "SoC Audio support for i.MX boards with S/PDIF"
  260. select SND_SOC_IMX_PCM_DMA
  261. select SND_SOC_FSL_SPDIF
  262. help
  263. SoC Audio support for i.MX boards with S/PDIF
  264. Say Y if you want to add support for SoC audio on an i.MX board with
  265. a S/DPDIF.
  266. config SND_SOC_IMX_MC13783
  267. tristate "SoC Audio support for I.MX boards with mc13783"
  268. depends on MFD_MC13XXX && ARM
  269. select SND_SOC_IMX_SSI
  270. select SND_SOC_IMX_AUDMUX
  271. select SND_SOC_MC13783
  272. select SND_SOC_IMX_PCM_DMA
  273. config SND_SOC_FSL_ASOC_CARD
  274. tristate "Generic ASoC Sound Card with ASRC support"
  275. depends on OF && I2C
  276. # enforce SND_SOC_FSL_ASOC_CARD=m if SND_AC97_CODEC=m:
  277. depends on SND_AC97_CODEC || SND_AC97_CODEC=n
  278. select SND_SIMPLE_CARD_UTILS
  279. select SND_SOC_IMX_AUDMUX
  280. select SND_SOC_IMX_PCM_DMA
  281. select SND_SOC_FSL_ESAI
  282. select SND_SOC_FSL_SAI
  283. select SND_SOC_FSL_SSI
  284. help
  285. ALSA SoC Audio support with ASRC feature for Freescale SoCs that have
  286. ESAI/SAI/SSI and connect with external CODECs such as WM8962, CS42888,
  287. CS4271, CS4272, SGTL5000 and TLV320AIC32x4.
  288. Say Y if you want to add support for Freescale Generic ASoC Sound Card.
  289. config SND_SOC_IMX_AUDMIX
  290. tristate "SoC Audio support for i.MX boards with AUDMIX"
  291. select SND_SOC_FSL_AUDMIX
  292. select SND_SOC_FSL_SAI
  293. help
  294. SoC Audio support for i.MX boards with Audio Mixer
  295. Say Y if you want to add support for SoC audio on an i.MX board with
  296. an Audio Mixer.
  297. endif # SND_IMX_SOC
  298. endmenu