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