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