Kconfig 8.9 KB

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