Kconfig 7.6 KB

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