2019-05-19 15:07:45 +03:00
# SPDX-License-Identifier: GPL-2.0-only
2006-10-06 20:33:55 +04:00
#
# SoC audio configuration
#
2008-05-23 18:10:37 +04:00
menuconfig SND_SOC
2007-04-17 17:41:52 +04:00
tristate "ALSA for SoC audio support"
2007-03-08 14:53:02 +03:00
select SND_PCM
2008-09-15 18:57:36 +04:00
select AC97_BUS if SND_SOC_AC97_BUS
2016-02-17 11:44:25 +03:00
select SND_JACK
2011-06-13 22:35:29 +04:00
select REGMAP_I2C if I2C
select REGMAP_SPI if SPI_MASTER
2020-06-13 19:50:22 +03:00
help
2006-10-06 20:33:55 +04:00
2007-04-17 17:41:52 +04:00
If you want ASoC support, you should say Y here and also to the
specific driver for your SoC platform below.
2022-04-05 16:54:17 +03:00
2007-04-17 17:41:52 +04:00
ASoC provides power efficient ALSA support for embedded battery powered
SoC based systems like PDA's, Phones and Personal Media Players.
2006-10-06 20:33:55 +04:00
2007-04-17 17:41:52 +04:00
This ASoC audio support can also be built as a module. If so, the module
2006-10-06 20:33:55 +04:00
will be called snd-soc-core.
2008-05-23 18:10:37 +04:00
if SND_SOC
config SND_SOC_AC97_BUS
bool
2013-04-15 21:19:50 +04:00
config SND_SOC_GENERIC_DMAENGINE_PCM
bool
2013-08-12 12:42:37 +04:00
select SND_DMAENGINE_PCM
2013-04-15 21:19:50 +04:00
2015-10-13 18:41:00 +03:00
config SND_SOC_COMPRESS
bool
select SND_COMPRESS_OFFLOAD
2015-08-15 18:24:20 +03:00
config SND_SOC_TOPOLOGY
bool
2021-07-26 21:21:42 +03:00
select SND_DYNAMIC_MINORS
2015-08-15 18:24:20 +03:00
2023-07-18 03:28:46 +03:00
config SND_SOC_TOPOLOGY_BUILD
bool "Build topology core"
select SND_SOC_TOPOLOGY
depends on KUNIT
help
This option exists to facilitate running the KUnit tests for
the topology core, KUnit is frequently tested in virtual
environments with minimal drivers enabled but the topology
core is usually selected by drivers. There is little reason
to enable it if not doing a KUnit build.
2021-04-14 11:58:04 +03:00
config SND_SOC_TOPOLOGY_KUNIT_TEST
2021-01-20 18:28:44 +03:00
tristate "KUnit tests for SoC topology"
depends on KUNIT
depends on SND_SOC_TOPOLOGY
default KUNIT_ALL_TESTS
help
If you want to perform tests on ALSA SoC topology support say Y here.
This builds a module which can be later manually loaded to run KUNIT
test cases against soc-topology.c API. This should be primarily used
by developers to test their changes to ASoC.
Do note that it creates fake playback devices which do not interact
well with userspace. When running tests one may want to disable
userspace applications such as pulseaudio, to prevent unnecessary
problems.
2022-04-05 16:54:17 +03:00
config SND_SOC_UTILS_KUNIT_TEST
tristate "KUnit tests for SoC utils"
depends on KUNIT
default KUNIT_ALL_TESTS
help
If you want to perform tests on ALSA SoC utils library say Y here.
2017-10-13 02:49:38 +03:00
config SND_SOC_ACPI
tristate
2008-12-16 17:44:48 +03:00
# All the supported SoCs
2013-12-06 14:02:50 +04:00
source "sound/soc/adi/Kconfig"
2016-01-09 02:22:09 +03:00
source "sound/soc/amd/Kconfig"
2022-08-24 19:07:14 +03:00
source "sound/soc/apple/Kconfig"
2008-10-03 18:57:50 +04:00
source "sound/soc/atmel/Kconfig"
2008-07-09 18:27:56 +04:00
source "sound/soc/au1x/Kconfig"
2013-11-22 19:24:08 +04:00
source "sound/soc/bcm/Kconfig"
2012-08-21 19:21:51 +04:00
source "sound/soc/cirrus/Kconfig"
2012-06-21 14:24:51 +04:00
source "sound/soc/dwc/Kconfig"
2008-12-16 17:44:48 +03:00
source "sound/soc/fsl/Kconfig"
2023-05-08 14:30:31 +03:00
source "sound/soc/google/Kconfig"
2017-04-01 01:06:00 +03:00
source "sound/soc/hisilicon/Kconfig"
2010-07-05 07:09:22 +04:00
source "sound/soc/jz4740/Kconfig"
2010-05-31 15:49:14 +04:00
source "sound/soc/kirkwood/Kconfig"
2023-06-15 15:27:18 +03:00
source "sound/soc/loongson/Kconfig"
2015-11-04 17:40:48 +03:00
source "sound/soc/img/Kconfig"
2013-11-21 15:32:24 +04:00
source "sound/soc/intel/Kconfig"
2015-06-15 17:38:02 +03:00
source "sound/soc/mediatek/Kconfig"
2018-07-17 18:42:51 +03:00
source "sound/soc/meson/Kconfig"
2011-07-21 08:36:58 +04:00
source "sound/soc/mxs/Kconfig"
2006-10-12 16:34:32 +04:00
source "sound/soc/pxa/Kconfig"
2015-03-13 11:01:07 +03:00
source "sound/soc/qcom/Kconfig"
2014-07-05 15:13:03 +04:00
source "sound/soc/rockchip/Kconfig"
2010-11-22 09:37:25 +03:00
source "sound/soc/samsung/Kconfig"
2007-05-14 20:40:07 +04:00
source "sound/soc/sh/Kconfig"
2019-04-12 19:09:02 +03:00
source "sound/soc/sof/Kconfig"
2013-06-10 14:49:40 +04:00
source "sound/soc/spear/Kconfig"
2019-01-29 11:04:45 +03:00
source "sound/soc/sprd/Kconfig"
2023-05-26 17:54:01 +03:00
source "sound/soc/starfive/Kconfig"
2015-07-16 12:36:05 +03:00
source "sound/soc/sti/Kconfig"
2017-04-10 18:19:56 +03:00
source "sound/soc/stm/Kconfig"
2015-09-12 16:26:24 +03:00
source "sound/soc/sunxi/Kconfig"
2011-01-08 08:36:17 +03:00
source "sound/soc/tegra/Kconfig"
2018-12-17 15:21:34 +03:00
source "sound/soc/ti/Kconfig"
2017-11-22 14:43:17 +03:00
source "sound/soc/uniphier/Kconfig"
2012-05-08 17:57:18 +04:00
source "sound/soc/ux500/Kconfig"
2018-12-07 21:32:38 +03:00
source "sound/soc/xilinx/Kconfig"
2014-12-26 20:19:38 +03:00
source "sound/soc/xtensa/Kconfig"
2006-10-06 20:41:42 +04:00
2006-10-06 20:38:37 +04:00
# Supported codecs
source "sound/soc/codecs/Kconfig"
2012-04-09 08:17:50 +04:00
# generic frame-work
source "sound/soc/generic/Kconfig"
2008-05-23 18:10:37 +04:00
endif # SND_SOC