Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  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_OMAP_DMIC
  38. tristate "Digital Microphone Module (DMIC) support"
  39. depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST && COMMON_CLK
  40. select SND_SOC_TI_SDMA_PCM
  41. help
  42. Say Y or M here if you want to have support for DMIC IP found in
  43. OMAP4 and OMAP5.
  44. config SND_SOC_OMAP_MCBSP
  45. tristate "Multichannel Buffered Serial Port (McBSP) support"
  46. depends on ARCH_OMAP || ARCH_OMAP1 || COMPILE_TEST && COMMON_CLK
  47. select SND_SOC_TI_SDMA_PCM
  48. help
  49. Say Y or M here if you want to have support for McBSP IP found in
  50. Texas Instruments OMAP1/2/3/4/5 SoCs.
  51. config SND_SOC_OMAP_MCPDM
  52. tristate "Multichannel PDM Controller (McPDM) support"
  53. depends on ARCH_OMAP4 || SOC_OMAP5 || COMPILE_TEST
  54. select SND_SOC_TI_SDMA_PCM
  55. help
  56. Say Y or M here if you want to have support for McPDM IP found in
  57. OMAP4 and OMAP5.
  58. comment "Audio support for boards with Texas Instruments SoCs"
  59. config SND_SOC_NOKIA_N810
  60. tristate "SoC Audio support for Nokia N810"
  61. depends on MACH_NOKIA_N810 && I2C
  62. select SND_SOC_OMAP_MCBSP
  63. select SND_SOC_TLV320AIC3X
  64. help
  65. Say Y or M if you want to add support for SoC audio on Nokia N810.
  66. config SND_SOC_NOKIA_RX51
  67. tristate "SoC Audio support for Nokia RX-51"
  68. depends on ARCH_OMAP3 && I2C && GPIOLIB
  69. select SND_SOC_OMAP_MCBSP
  70. select SND_SOC_TLV320AIC3X
  71. select SND_SOC_TPA6130A2
  72. help
  73. Say Y or M if you want to add support for SoC audio on Nokia RX-51
  74. hardware. This is also known as Nokia N900 product.
  75. config SND_SOC_OMAP3_PANDORA
  76. tristate "SoC Audio support for OMAP3 Pandora"
  77. depends on ARCH_OMAP3
  78. depends on TWL4030_CORE
  79. select SND_SOC_OMAP_MCBSP
  80. select SND_SOC_TWL4030
  81. help
  82. Say Y or M if you want to add support for SoC audio on the OMAP3 Pandora.
  83. config SND_SOC_OMAP3_TWL4030
  84. tristate "SoC Audio support for OMAP3 based boards with twl4030 codec"
  85. depends on ARCH_OMAP3 || COMPILE_TEST && COMMON_CLK
  86. depends on TWL4030_CORE
  87. select SND_SOC_OMAP_MCBSP
  88. select SND_SOC_TWL4030
  89. help
  90. Say Y or M if you want to add support for SoC audio on OMAP3 based
  91. boards using twl4030 as codec. This driver currently supports:
  92. - Beagleboard or Devkit8000
  93. - Gumstix Overo or CompuLab CM-T35/CM-T3730
  94. - IGEP v2
  95. - OMAP3EVM
  96. - SDP3430
  97. - Zoom2
  98. config SND_SOC_OMAP_ABE_TWL6040
  99. tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec"
  100. depends on TWL6040_CORE && COMMON_CLK
  101. depends on ARCH_OMAP4 || (SOC_OMAP5 && MFD_PALMAS) || COMPILE_TEST
  102. select SND_SOC_OMAP_DMIC
  103. select SND_SOC_OMAP_MCPDM
  104. select SND_SOC_TWL6040
  105. help
  106. Say Y or M if you want to add support for SoC audio on OMAP boards
  107. using ABE and twl6040 codec. This driver currently supports:
  108. - SDP4430/Blaze boards
  109. - PandaBoard (4430)
  110. - PandaBoardES (4460)
  111. - OMAP5 uEVM
  112. config SND_SOC_OMAP_AMS_DELTA
  113. tristate "SoC Audio support for Amstrad E3 (Delta) videophone"
  114. depends on MACH_AMS_DELTA || COMPILE_TEST
  115. depends on TTY
  116. select SND_SOC_OMAP_MCBSP if COMMON_CLK
  117. select SND_SOC_CX20442
  118. help
  119. Say Y or M if you want to add support for SoC audio device
  120. connected to a handset and a speakerphone found on Amstrad E3 (Delta)
  121. videophone.
  122. Note that in order to get those devices fully supported, you have to
  123. build the kernel with standard serial port driver included and
  124. configured for at least 4 ports. Then, from userspace, you must load
  125. a line discipline #19 on the modem (ttyS3) serial line. The simplest
  126. way to achieve this is to install util-linux-ng and use the included
  127. ldattach utility. This can be started automatically from udev,
  128. a simple rule like this one should do the trick (it does for me):
  129. ACTION=="add", KERNEL=="controlC0", \
  130. RUN+="/usr/sbin/ldattach 19 /dev/ttyS3"
  131. config SND_SOC_OMAP_HDMI
  132. tristate "OMAP4/5 HDMI audio support"
  133. depends on OMAP4_DSS_HDMI || OMAP5_DSS_HDMI || COMPILE_TEST
  134. select SND_SOC_TI_SDMA_PCM
  135. help
  136. For HDMI audio to work OMAPDSS HDMI support should be
  137. enabled.
  138. The hdmi audio driver implements cpu-dai component using the
  139. callbacks provided by OMAPDSS and registers the component
  140. under DSS HDMI device. Omap-pcm is registered for platform
  141. component also under DSS HDMI device. Dummy codec is used as
  142. as codec component. The hdmi audio driver implements also
  143. the card and registers it under its own platform device.
  144. The device for the driver is registered by OMAPDSS hdmi
  145. driver.
  146. config SND_SOC_OMAP_OSK5912
  147. tristate "SoC Audio support for omap osk5912"
  148. depends on MACH_OMAP_OSK && I2C
  149. select SND_SOC_OMAP_MCBSP
  150. select SND_SOC_TLV320AIC23_I2C
  151. help
  152. Say Y or M if you want to add support for SoC audio on osk5912.
  153. config SND_SOC_DAVINCI_EVM
  154. tristate "SoC Audio support for DaVinci EVMs"
  155. depends on ARCH_DAVINCI && I2C
  156. select SND_SOC_TLV320AIC3X
  157. help
  158. Say Y if you want to add support for SoC audio on the following TI
  159. DaVinci EVM platforms:
  160. - DM355
  161. - DM365
  162. - DM6446
  163. - DM6447
  164. - DM830
  165. - DM850
  166. config SND_SOC_J721E_EVM
  167. tristate "SoC Audio support for j721e EVM"
  168. depends on ARCH_K3 || COMPILE_TEST && COMMON_CLK
  169. depends on I2C
  170. select SND_SOC_PCM3168A_I2C
  171. select SND_SOC_DAVINCI_MCASP
  172. help
  173. Say Y if you want to add support for SoC audio on j721e Common
  174. Processor Board and Infotainment expansion board.
  175. endmenu