0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # SoC audio configuration
0004 #
0005
0006 menuconfig SND_SOC
0007 tristate "ALSA for SoC audio support"
0008 select SND_PCM
0009 select AC97_BUS if SND_SOC_AC97_BUS
0010 select SND_JACK
0011 select REGMAP_I2C if I2C
0012 select REGMAP_SPI if SPI_MASTER
0013 help
0014
0015 If you want ASoC support, you should say Y here and also to the
0016 specific driver for your SoC platform below.
0017
0018 ASoC provides power efficient ALSA support for embedded battery powered
0019 SoC based systems like PDA's, Phones and Personal Media Players.
0020
0021 This ASoC audio support can also be built as a module. If so, the module
0022 will be called snd-soc-core.
0023
0024 if SND_SOC
0025
0026 config SND_SOC_AC97_BUS
0027 bool
0028
0029 config SND_SOC_GENERIC_DMAENGINE_PCM
0030 bool
0031 select SND_DMAENGINE_PCM
0032
0033 config SND_SOC_COMPRESS
0034 bool
0035 select SND_COMPRESS_OFFLOAD
0036
0037 config SND_SOC_TOPOLOGY
0038 bool
0039 select SND_DYNAMIC_MINORS
0040
0041 config SND_SOC_TOPOLOGY_KUNIT_TEST
0042 tristate "KUnit tests for SoC topology"
0043 depends on KUNIT
0044 depends on SND_SOC_TOPOLOGY
0045 default KUNIT_ALL_TESTS
0046 help
0047 If you want to perform tests on ALSA SoC topology support say Y here.
0048
0049 This builds a module which can be later manually loaded to run KUNIT
0050 test cases against soc-topology.c API. This should be primarily used
0051 by developers to test their changes to ASoC.
0052
0053 Do note that it creates fake playback devices which do not interact
0054 well with userspace. When running tests one may want to disable
0055 userspace applications such as pulseaudio, to prevent unnecessary
0056 problems.
0057
0058 config SND_SOC_UTILS_KUNIT_TEST
0059 tristate "KUnit tests for SoC utils"
0060 depends on KUNIT
0061 default KUNIT_ALL_TESTS
0062 help
0063 If you want to perform tests on ALSA SoC utils library say Y here.
0064
0065 config SND_SOC_ACPI
0066 tristate
0067
0068 # All the supported SoCs
0069 source "sound/soc/adi/Kconfig"
0070 source "sound/soc/amd/Kconfig"
0071 source "sound/soc/atmel/Kconfig"
0072 source "sound/soc/au1x/Kconfig"
0073 source "sound/soc/bcm/Kconfig"
0074 source "sound/soc/cirrus/Kconfig"
0075 source "sound/soc/dwc/Kconfig"
0076 source "sound/soc/fsl/Kconfig"
0077 source "sound/soc/hisilicon/Kconfig"
0078 source "sound/soc/jz4740/Kconfig"
0079 source "sound/soc/kirkwood/Kconfig"
0080 source "sound/soc/img/Kconfig"
0081 source "sound/soc/intel/Kconfig"
0082 source "sound/soc/mediatek/Kconfig"
0083 source "sound/soc/meson/Kconfig"
0084 source "sound/soc/mxs/Kconfig"
0085 source "sound/soc/pxa/Kconfig"
0086 source "sound/soc/qcom/Kconfig"
0087 source "sound/soc/rockchip/Kconfig"
0088 source "sound/soc/samsung/Kconfig"
0089 source "sound/soc/sh/Kconfig"
0090 source "sound/soc/sof/Kconfig"
0091 source "sound/soc/spear/Kconfig"
0092 source "sound/soc/sprd/Kconfig"
0093 source "sound/soc/sti/Kconfig"
0094 source "sound/soc/stm/Kconfig"
0095 source "sound/soc/sunxi/Kconfig"
0096 source "sound/soc/tegra/Kconfig"
0097 source "sound/soc/ti/Kconfig"
0098 source "sound/soc/uniphier/Kconfig"
0099 source "sound/soc/ux500/Kconfig"
0100 source "sound/soc/xilinx/Kconfig"
0101 source "sound/soc/xtensa/Kconfig"
0102
0103 # Supported codecs
0104 source "sound/soc/codecs/Kconfig"
0105
0106 # generic frame-work
0107 source "sound/soc/generic/Kconfig"
0108
0109 endif # SND_SOC
0110