Kconfig 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # SoC audio configuration
  4. #
  5. menuconfig SND_SOC
  6. tristate "ALSA for SoC audio support"
  7. select SND_PCM
  8. select AC97_BUS if SND_SOC_AC97_BUS
  9. select SND_JACK
  10. select REGMAP_I2C if I2C
  11. select REGMAP_SPI if SPI_MASTER
  12. help
  13. If you want ASoC support, you should say Y here and also to the
  14. specific driver for your SoC platform below.
  15. ASoC provides power efficient ALSA support for embedded battery powered
  16. SoC based systems like PDA's, Phones and Personal Media Players.
  17. This ASoC audio support can also be built as a module. If so, the module
  18. will be called snd-soc-core.
  19. if SND_SOC
  20. config SND_SOC_AC97_BUS
  21. bool
  22. config SND_SOC_GENERIC_DMAENGINE_PCM
  23. bool
  24. select SND_DMAENGINE_PCM
  25. config SND_SOC_COMPRESS
  26. bool
  27. select SND_COMPRESS_OFFLOAD
  28. config SND_SOC_TOPOLOGY
  29. bool
  30. select SND_DYNAMIC_MINORS
  31. config SND_SOC_TOPOLOGY_BUILD
  32. bool "Build topology core"
  33. select SND_SOC_TOPOLOGY
  34. depends on KUNIT
  35. help
  36. This option exists to facilitate running the KUnit tests for
  37. the topology core, KUnit is frequently tested in virtual
  38. environments with minimal drivers enabled but the topology
  39. core is usually selected by drivers. There is little reason
  40. to enable it if not doing a KUnit build.
  41. config SND_SOC_TOPOLOGY_KUNIT_TEST
  42. tristate "KUnit tests for SoC topology"
  43. depends on KUNIT
  44. depends on SND_SOC_TOPOLOGY
  45. default KUNIT_ALL_TESTS
  46. help
  47. If you want to perform tests on ALSA SoC topology support say Y here.
  48. This builds a module which can be later manually loaded to run KUNIT
  49. test cases against soc-topology.c API. This should be primarily used
  50. by developers to test their changes to ASoC.
  51. Do note that it creates fake playback devices which do not interact
  52. well with userspace. When running tests one may want to disable
  53. userspace applications such as pulseaudio, to prevent unnecessary
  54. problems.
  55. config SND_SOC_CARD_KUNIT_TEST
  56. tristate "KUnit tests for SoC card"
  57. depends on KUNIT
  58. default KUNIT_ALL_TESTS
  59. help
  60. If you want to perform tests on ALSA SoC card functions say Y here.
  61. If unsure, say N.
  62. config SND_SOC_UTILS_KUNIT_TEST
  63. tristate "KUnit tests for SoC utils"
  64. depends on KUNIT
  65. default KUNIT_ALL_TESTS
  66. help
  67. If you want to perform tests on ALSA SoC utils library say Y here.
  68. config SND_SOC_OPS_KUNIT_TEST
  69. tristate "KUnit tests for SoC ops"
  70. depends on KUNIT
  71. default KUNIT_ALL_TESTS
  72. help
  73. If you want to perform tests on ALSA SoC ops library say Y here.
  74. config SND_SOC_ACPI
  75. tristate
  76. config SND_SOC_USB
  77. tristate "SoC based USB audio offloading"
  78. depends on SND_USB_AUDIO
  79. help
  80. Enable this option if an ASoC platform card has support to handle
  81. USB audio offloading. This enables the SoC USB layer, which will
  82. notify the ASoC USB DPCM backend DAI link about available USB audio
  83. devices. Based on the notifications, sequences to enable the audio
  84. stream can be taken based on the design.
  85. # All the supported SoCs
  86. source "sound/soc/adi/Kconfig"
  87. source "sound/soc/amd/Kconfig"
  88. source "sound/soc/apple/Kconfig"
  89. source "sound/soc/atmel/Kconfig"
  90. source "sound/soc/au1x/Kconfig"
  91. source "sound/soc/bcm/Kconfig"
  92. source "sound/soc/cirrus/Kconfig"
  93. source "sound/soc/dwc/Kconfig"
  94. source "sound/soc/fsl/Kconfig"
  95. source "sound/soc/google/Kconfig"
  96. source "sound/soc/hisilicon/Kconfig"
  97. source "sound/soc/jz4740/Kconfig"
  98. source "sound/soc/kirkwood/Kconfig"
  99. source "sound/soc/loongson/Kconfig"
  100. source "sound/soc/img/Kconfig"
  101. source "sound/soc/intel/Kconfig"
  102. source "sound/soc/mediatek/Kconfig"
  103. source "sound/soc/meson/Kconfig"
  104. source "sound/soc/mxs/Kconfig"
  105. source "sound/soc/pxa/Kconfig"
  106. source "sound/soc/qcom/Kconfig"
  107. source "sound/soc/renesas/Kconfig"
  108. source "sound/soc/rockchip/Kconfig"
  109. source "sound/soc/samsung/Kconfig"
  110. source "sound/soc/sdca/Kconfig"
  111. source "sound/soc/sophgo/Kconfig"
  112. source "sound/soc/spacemit/Kconfig"
  113. source "sound/soc/spear/Kconfig"
  114. source "sound/soc/sprd/Kconfig"
  115. source "sound/soc/starfive/Kconfig"
  116. source "sound/soc/sti/Kconfig"
  117. source "sound/soc/stm/Kconfig"
  118. source "sound/soc/sunxi/Kconfig"
  119. source "sound/soc/tegra/Kconfig"
  120. source "sound/soc/ti/Kconfig"
  121. source "sound/soc/uniphier/Kconfig"
  122. source "sound/soc/ux500/Kconfig"
  123. source "sound/soc/xilinx/Kconfig"
  124. source "sound/soc/xtensa/Kconfig"
  125. # SOF
  126. source "sound/soc/sof/Kconfig"
  127. # Supported codecs
  128. source "sound/soc/codecs/Kconfig"
  129. source "sound/soc/sdw_utils/Kconfig"
  130. # generic frame-work
  131. source "sound/soc/generic/Kconfig"
  132. endif # SND_SOC