2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2006-10-06 16:33:55 +00:00
|
|
|
#
|
|
|
|
# SoC audio configuration
|
|
|
|
#
|
|
|
|
|
2008-05-23 14:10:37 +00:00
|
|
|
menuconfig SND_SOC
|
2007-04-17 13:41:52 +00:00
|
|
|
tristate "ALSA for SoC audio support"
|
2007-03-08 11:53:02 +00:00
|
|
|
select SND_PCM
|
2008-09-15 14:57:36 +00:00
|
|
|
select AC97_BUS if SND_SOC_AC97_BUS
|
2016-02-17 08:44:25 +00:00
|
|
|
select SND_JACK
|
2011-06-13 18:35:29 +00:00
|
|
|
select REGMAP_I2C if I2C
|
|
|
|
select REGMAP_SPI if SPI_MASTER
|
2020-06-13 16:50:22 +00:00
|
|
|
help
|
2006-10-06 16:33:55 +00:00
|
|
|
|
2007-04-17 13:41:52 +00: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 13:54:17 +00:00
|
|
|
|
2007-04-17 13:41:52 +00: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 16:33:55 +00:00
|
|
|
|
2007-04-17 13:41:52 +00:00
|
|
|
This ASoC audio support can also be built as a module. If so, the module
|
2006-10-06 16:33:55 +00:00
|
|
|
will be called snd-soc-core.
|
|
|
|
|
2008-05-23 14:10:37 +00:00
|
|
|
if SND_SOC
|
|
|
|
|
|
|
|
config SND_SOC_AC97_BUS
|
|
|
|
bool
|
|
|
|
|
2013-04-15 17:19:50 +00:00
|
|
|
config SND_SOC_GENERIC_DMAENGINE_PCM
|
|
|
|
bool
|
2013-08-12 08:42:37 +00:00
|
|
|
select SND_DMAENGINE_PCM
|
2013-04-15 17:19:50 +00:00
|
|
|
|
2015-10-13 15:41:00 +00:00
|
|
|
config SND_SOC_COMPRESS
|
|
|
|
bool
|
|
|
|
select SND_COMPRESS_OFFLOAD
|
|
|
|
|
2015-08-15 15:24:20 +00:00
|
|
|
config SND_SOC_TOPOLOGY
|
|
|
|
bool
|
2021-07-26 18:21:42 +00:00
|
|
|
select SND_DYNAMIC_MINORS
|
2015-08-15 15:24:20 +00:00
|
|
|
|
2023-07-18 00:28:46 +00: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 08:58:04 +00:00
|
|
|
config SND_SOC_TOPOLOGY_KUNIT_TEST
|
2021-01-20 15:28:44 +00: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 13:54:17 +00: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-12 23:49:38 +00:00
|
|
|
config SND_SOC_ACPI
|
|
|
|
tristate
|
|
|
|
|
2008-12-16 14:44:48 +00:00
|
|
|
# All the supported SoCs
|
2013-12-06 10:02:50 +00:00
|
|
|
source "sound/soc/adi/Kconfig"
|
2016-01-08 23:22:09 +00:00
|
|
|
source "sound/soc/amd/Kconfig"
|
2022-08-24 16:07:14 +00:00
|
|
|
source "sound/soc/apple/Kconfig"
|
2008-10-03 14:57:50 +00:00
|
|
|
source "sound/soc/atmel/Kconfig"
|
2008-07-09 14:27:56 +00:00
|
|
|
source "sound/soc/au1x/Kconfig"
|
2013-11-22 15:24:08 +00:00
|
|
|
source "sound/soc/bcm/Kconfig"
|
2012-08-21 15:21:51 +00:00
|
|
|
source "sound/soc/cirrus/Kconfig"
|
2012-06-21 10:24:51 +00:00
|
|
|
source "sound/soc/dwc/Kconfig"
|
2008-12-16 14:44:48 +00:00
|
|
|
source "sound/soc/fsl/Kconfig"
|
2023-05-08 11:30:31 +00:00
|
|
|
source "sound/soc/google/Kconfig"
|
2017-03-31 22:06:00 +00:00
|
|
|
source "sound/soc/hisilicon/Kconfig"
|
2010-07-05 03:09:22 +00:00
|
|
|
source "sound/soc/jz4740/Kconfig"
|
2010-05-31 11:49:14 +00:00
|
|
|
source "sound/soc/kirkwood/Kconfig"
|
2023-06-15 12:27:18 +00:00
|
|
|
source "sound/soc/loongson/Kconfig"
|
2015-11-04 14:40:48 +00:00
|
|
|
source "sound/soc/img/Kconfig"
|
2013-11-21 11:32:24 +00:00
|
|
|
source "sound/soc/intel/Kconfig"
|
2015-06-15 14:38:02 +00:00
|
|
|
source "sound/soc/mediatek/Kconfig"
|
2018-07-17 15:42:51 +00:00
|
|
|
source "sound/soc/meson/Kconfig"
|
2011-07-21 04:36:58 +00:00
|
|
|
source "sound/soc/mxs/Kconfig"
|
2006-10-12 12:34:32 +00:00
|
|
|
source "sound/soc/pxa/Kconfig"
|
2015-03-13 08:01:07 +00:00
|
|
|
source "sound/soc/qcom/Kconfig"
|
2014-07-05 11:13:03 +00:00
|
|
|
source "sound/soc/rockchip/Kconfig"
|
2010-11-22 06:37:25 +00:00
|
|
|
source "sound/soc/samsung/Kconfig"
|
2007-05-14 16:40:07 +00:00
|
|
|
source "sound/soc/sh/Kconfig"
|
2019-04-12 16:09:02 +00:00
|
|
|
source "sound/soc/sof/Kconfig"
|
2013-06-10 10:49:40 +00:00
|
|
|
source "sound/soc/spear/Kconfig"
|
2019-01-29 08:04:45 +00:00
|
|
|
source "sound/soc/sprd/Kconfig"
|
2023-05-26 14:54:01 +00:00
|
|
|
source "sound/soc/starfive/Kconfig"
|
2015-07-16 09:36:05 +00:00
|
|
|
source "sound/soc/sti/Kconfig"
|
2017-04-10 15:19:56 +00:00
|
|
|
source "sound/soc/stm/Kconfig"
|
2015-09-12 13:26:24 +00:00
|
|
|
source "sound/soc/sunxi/Kconfig"
|
2011-01-08 05:36:17 +00:00
|
|
|
source "sound/soc/tegra/Kconfig"
|
2018-12-17 12:21:34 +00:00
|
|
|
source "sound/soc/ti/Kconfig"
|
2017-11-22 11:43:17 +00:00
|
|
|
source "sound/soc/uniphier/Kconfig"
|
2012-05-08 13:57:18 +00:00
|
|
|
source "sound/soc/ux500/Kconfig"
|
2018-12-07 18:32:38 +00:00
|
|
|
source "sound/soc/xilinx/Kconfig"
|
2014-12-26 17:19:38 +00:00
|
|
|
source "sound/soc/xtensa/Kconfig"
|
2006-10-06 16:41:42 +00:00
|
|
|
|
2006-10-06 16:38:37 +00:00
|
|
|
# Supported codecs
|
|
|
|
source "sound/soc/codecs/Kconfig"
|
|
|
|
|
2012-04-09 04:17:50 +00:00
|
|
|
# generic frame-work
|
|
|
|
source "sound/soc/generic/Kconfig"
|
|
|
|
|
2008-05-23 14:10:37 +00:00
|
|
|
endif # SND_SOC
|
|
|
|
|