Kconfig 8.7 KB

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