Kconfig 8.8 KB

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