Kconfig 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menu "Audio support for Texas Instruments SoCs"
  3. depends on DMA_OMAP || TI_EDMA || TI_K3_UDMA || COMPILE_TEST
  4. config SND_SOC_TI_EDMA_PCM
  5. tristate
  6. select SND_SOC_GENERIC_DMAENGINE_PCM
  7. config SND_SOC_TI_SDMA_PCM
  8. tristate
  9. select SND_SOC_GENERIC_DMAENGINE_PCM
  10. config SND_SOC_TI_UDMA_PCM
  11. tristate
  12. select SND_SOC_GENERIC_DMAENGINE_PCM
  13. comment "Texas Instruments DAI support for:"
  14. config SND_SOC_DAVINCI_ASP
  15. tristate "daVinci Audio Serial Port (ASP) or McBSP support"
  16. depends on ARCH_DAVINCI || COMPILE_TEST
  17. select SND_SOC_TI_EDMA_PCM
  18. help
  19. Say Y or M here if you want audio support via daVinci ASP or McBSP.
  20. The driver only implements the ASP support which is a subset of
  21. daVinci McBSP (w/o the multichannel support).
  22. config SND_SOC_DAVINCI_MCASP
  23. tristate "Multichannel Audio Serial Port (McASP) support"
  24. select SND_SOC_TI_EDMA_PCM
  25. select SND_SOC_TI_SDMA_PCM
  26. select SND_SOC_TI_UDMA_PCM
  27. help
  28. Say Y or M here if you want to have support for McASP IP found in
  29. various Texas Instruments SoCs like:
  30. - daVinci devices
  31. - Sitara line of SoCs (AM335x, AM438x, etc)
  32. - DRA7x devices
  33. - Keystone devices
  34. - K3 devices (am654, j721e)
  35. config SND_SOC_DAVINCI_VCIF
  36. tristate "daVinci Voice Interface (VCIF) support"
  37. depends on ARCH_DAVINCI || COMPILE_TEST
  38. select SND_SOC_TI_EDMA_PCM
  39. help
  40. Say Y or M here if you want audio support via daVinci VCIF.
  41. config SND_SOC_OMAP_DMIC
  42. tristate "Digital Microphone Module (DMIC) support"
  43. depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
  44. select SND_SOC_TI_SDMA_PCM
  45. help
  46. Say Y or M here if you want to have support for DMIC IP found in
  47. OMAP4 and OMAP5.
  48. config SND_SOC_OMAP_MCBSP
  49. tristate "Multichannel Buffered Serial Port (McBSP) support"
  50. depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST
  51. select SND_SOC_TI_SDMA_PCM
  52. help
  53. Say Y or M here if you want to have support for McBSP IP found in
  54. Texas Instruments OMAP1/2/3/4/5 SoCs.
  55. config SND_SOC_OMAP_MCPDM
  56. tristate "Multichannel PDM Controller (McPDM) support"
  57. depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
  58. select SND_SOC_TI_SDMA_PCM
  59. help
  60. Say Y or M here if you want to have support for McPDM IP found in
  61. OMAP4 and OMAP5.
  62. comment "Audio support for boards with Texas Instruments SoCs"
  63. config SND_SOC_NOKIA_N810
  64. tristate "SoC Audio support for Nokia N810"
  65. depends on MACH_NOKIA_N810 && I2C
  66. select SND_SOC_OMAP_MCBSP
  67. select SND_SOC_TLV320AIC3X
  68. help
  69. Say Y or M if you want to add support for SoC audio on Nokia N810.
  70. config SND_SOC_NOKIA_RX51
  71. tristate "SoC Audio support for Nokia RX-51"
  72. depends on ARCH_OMAP3 && I2C && GPIOLIB
  73. select SND_SOC_OMAP_MCBSP
  74. select SND_SOC_TLV320AIC3X
  75. select SND_SOC_TPA6130A2
  76. help
  77. Say Y or M if you want to add support for SoC audio on Nokia RX-51
  78. hardware. This is also known as Nokia N900 product.
  79. config SND_SOC_OMAP3_PANDORA
  80. tristate "SoC Audio support for OMAP3 Pandora"
  81. depends on ARCH_OMAP3
  82. depends on TWL4030_CORE
  83. select SND_SOC_OMAP_MCBSP
  84. select SND_SOC_TWL4030
  85. help
  86. Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora.
  87. config SND_SOC_OMAP3_TWL4030
  88. tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"
  89. depends on ARCH_OMAP3 || COMPILE_TEST
  90. depends on TWL4030_CORE
  91. select SND_SOC_OMAP_MCBSP
  92. select SND_SOC_TWL4030
  93. help
  94. Say Y or M if you want to add support for SoC audio on OMAP3 based
  95. boards using twl4030 as codec. This driver currently supports:
  96. - Beagleboard or Devkit8000
  97. - Gumstix Overo or CompuLab CM-T35/CM-T3730
  98. - IGEP v2
  99. - OMAP3EVM
  100. - SDP3430
  101. - Zoom2
  102. config SND_SOC_OMAP_ABE_TWL6040
  103. tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
  104. depends on TWL6040_CORE && COMMON_CLK
  105. depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST
  106. select SND_SOC_OMAP_DMIC
  107. select SND_SOC_OMAP_MCPDM
  108. select SND_SOC_TWL6040
  109. help
  110. Say Y or M if you want to add support for SoC audio on OMAP boards
  111. using ABE and twl6040 codec. This driver currently supports:
  112. - SDP4430/Blaze boards
  113. - PandaBoard (4430)
  114. - PandaBoardES (4460)
  115. - OMAP5 uEVM
  116. config SND_SOC_OMAP_AMS_DELTA
  117. tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
  118. depends on MACH_AMS_DELTA && TTY
  119. select SND_SOC_OMAP_MCBSP
  120. select SND_SOC_CX20442
  121. help
  122. Say Y or M if you want to add support for SoC audio device
  123. connected to a handset and a speakerphone found on Amstrad E3 (Delta)
  124. videophone.
  125. Note that in order to get those devices fully supported, you have to
  126. build the kernel with standard serial port driver included and
  127. configured for at least 4 ports. Then, from userspace, you must load
  128. a line discipline #19 on the modem (ttyS3) serial line. The simplest
  129. way to achieve this is to install util-linux-ng and use the included
  130. ldattach utility. This can be started automatically from udev,
  131. a simple rule like this one should do the trick (it does for me):
  132. ACTION=="add", KERNEL=="controlC0", \
  133. RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
  134. config SND_SOC_OMAP_HDMI
  135. tristate "OMAP4/5 HDMI audio support"
  136. depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST
  137. select SND_SOC_TI_SDMA_PCM
  138. help
  139. For HDMI audio to work OMAPDSS HDMI support should be
  140. enabled.
  141. The hdmi audio driver implements cpu-dai component using the
  142. callbacks provided by OMAPDSS and registers the component
  143. under DSS HDMI device. Omap-pcm is registered for platform
  144. component also under DSS HDMI device. Dummy codec is used as
  145. as codec component. The hdmi audio driver implements also
  146. the card and registers it under its own platform device.
  147. The device for the driver is registered by OMAPDSS hdmi
  148. driver.
  149. config SND_SOC_OMAP_OSK5912
  150. tristate "SoC Audio support for omap osk5912"
  151. depends on MACH_OMAP_OSK && I2C
  152. select SND_SOC_OMAP_MCBSP
  153. select SND_SOC_TLV320AIC23_I2C
  154. help
  155. Say Y or M if you want to add support for SoC audio on osk5912.
  156. config SND_SOC_DAVINCI_EVM
  157. tristate "SoC Audio support for DaVinci EVMs"
  158. depends on ARCH_DAVINCI && I2C
  159. select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_DM355_EVM
  160. select SND_SOC_DAVINCI_ASP if SND_SOC_DM365_AIC3X_CODEC
  161. select SND_SOC_DAVINCI_VCIF if SND_SOC_DM365_VOICE_CODEC
  162. select SND_SOC_DAVINCI_ASP if MACH_DAVINCI_EVM # DM6446
  163. select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DM6467_EVM
  164. select SND_SOC_SPDIF if MACH_DAVINCI_DM6467_EVM
  165. select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA830_EVM
  166. select SND_SOC_DAVINCI_MCASP if MACH_DAVINCI_DA850_EVM
  167. select SND_SOC_TLV320AIC3X
  168. help
  169. Say Y if you want to add support for SoC audio on the following TI
  170. DaVinci EVM platforms:
  171. - DM355
  172. - DM365
  173. - DM6446
  174. - DM6447
  175. - DM830
  176. - DM850
  177. choice
  178. prompt "DM365 codec select"
  179. depends on SND_SOC_DAVINCI_EVM
  180. depends on MACH_DAVINCI_DM365_EVM
  181. config SND_SOC_DM365_AIC3X_CODEC
  182. bool "Audio Codec - AIC3101"
  183. help
  184. Say Y if you want to add support for AIC3101 audio codec
  185. config SND_SOC_DM365_VOICE_CODEC
  186. bool "Voice Codec - CQ93VC"
  187. help
  188. Say Y if you want to add support for SoC On-chip voice codec
  189. endchoice
  190. config SND_SOC_DM365_VOICE_CODEC_MODULE
  191. def_tristate y
  192. depends on SND_SOC_DM365_VOICE_CODEC && SND_SOC
  193. select MFD_DAVINCI_VOICECODEC
  194. select SND_SOC_CQ0093VC
  195. help
  196. The is an internal symbol needed to ensure that the codec
  197. and MFD driver can be built as loadable modules if necessary.
  198. config SND_SOC_J721E_EVM
  199. tristate "SoC Audio support for j721e EVM"
  200. depends on ARCH_K3 || COMPILE_TEST
  201. depends on I2C
  202. select SND_SOC_PCM3168A_I2C
  203. select SND_SOC_DAVINCI_MCASP
  204. help
  205. Say Y if you want to add support for SoC audio on j721e Common
  206. Processor Board and Infotainment expansion board.
  207. endmenu