Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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_KUNIT_TEST
  32. tristate "KUnit tests for SoC topology"
  33. depends on KUNIT
  34. depends on SND_SOC_TOPOLOGY
  35. default KUNIT_ALL_TESTS
  36. help
  37. If you want to perform tests on ALSA SoC topology support say Y here.
  38. This builds a module which can be later manually loaded to run KUNIT
  39. test cases against soc-topology.c API. This should be primarily used
  40. by developers to test their changes to ASoC.
  41. Do note that it creates fake playback devices which do not interact
  42. well with userspace. When running tests one may want to disable
  43. userspace applications such as pulseaudio, to prevent unnecessary
  44. problems.
  45. config SND_SOC_UTILS_KUNIT_TEST
  46. tristate "KUnit tests for SoC utils"
  47. depends on KUNIT
  48. default KUNIT_ALL_TESTS
  49. help
  50. If you want to perform tests on ALSA SoC utils library say Y here.
  51. config SND_SOC_ACPI
  52. tristate
  53. # All the supported SoCs
  54. source "sound/soc/adi/Kconfig"
  55. source "sound/soc/amd/Kconfig"
  56. source "sound/soc/apple/Kconfig"
  57. source "sound/soc/atmel/Kconfig"
  58. source "sound/soc/au1x/Kconfig"
  59. source "sound/soc/bcm/Kconfig"
  60. source "sound/soc/cirrus/Kconfig"
  61. source "sound/soc/dwc/Kconfig"
  62. source "sound/soc/fsl/Kconfig"
  63. source "sound/soc/hisilicon/Kconfig"
  64. source "sound/soc/jz4740/Kconfig"
  65. source "sound/soc/kirkwood/Kconfig"
  66. source "sound/soc/img/Kconfig"
  67. source "sound/soc/intel/Kconfig"
  68. source "sound/soc/mediatek/Kconfig"
  69. source "sound/soc/meson/Kconfig"
  70. source "sound/soc/mxs/Kconfig"
  71. source "sound/soc/pxa/Kconfig"
  72. source "sound/soc/qcom/Kconfig"
  73. source "sound/soc/rockchip/Kconfig"
  74. source "sound/soc/samsung/Kconfig"
  75. source "sound/soc/sh/Kconfig"
  76. source "sound/soc/sof/Kconfig"
  77. source "sound/soc/spear/Kconfig"
  78. source "sound/soc/sprd/Kconfig"
  79. source "sound/soc/sti/Kconfig"
  80. source "sound/soc/stm/Kconfig"
  81. source "sound/soc/sunxi/Kconfig"
  82. source "sound/soc/tegra/Kconfig"
  83. source "sound/soc/ti/Kconfig"
  84. source "sound/soc/uniphier/Kconfig"
  85. source "sound/soc/ux500/Kconfig"
  86. source "sound/soc/xilinx/Kconfig"
  87. source "sound/soc/xtensa/Kconfig"
  88. # Supported codecs
  89. source "sound/soc/codecs/Kconfig"
  90. # generic frame-work
  91. source "sound/soc/generic/Kconfig"
  92. endif # SND_SOC