Kconfig 2.71 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
Liam Girdwood's avatar
Liam Girdwood committed
2 3 4 5
#
# SoC audio configuration
#

Takashi Iwai's avatar
Takashi Iwai committed
6
menuconfig SND_SOC
7
	tristate "ALSA for SoC audio support"
8
	select SND_PCM
9
	select AC97_BUS if SND_SOC_AC97_BUS
10
	select SND_JACK
11 12
	select REGMAP_I2C if I2C
	select REGMAP_SPI if SPI_MASTER
13
	help
Liam Girdwood's avatar
Liam Girdwood committed
14

15 16 17 18 19
	  If you want ASoC support, you should say Y here and also to the
	  specific driver for your SoC platform below.
	  
	  ASoC provides power efficient ALSA support for embedded battery powered
	  SoC based systems like PDA's, Phones and Personal Media Players.
Liam Girdwood's avatar
Liam Girdwood committed
20

21
	  This ASoC audio support can also be built as a module.  If so, the module
Liam Girdwood's avatar
Liam Girdwood committed
22 23
	  will be called snd-soc-core.

Takashi Iwai's avatar
Takashi Iwai committed
24 25 26 27 28
if SND_SOC

config SND_SOC_AC97_BUS
	bool

29 30
config SND_SOC_GENERIC_DMAENGINE_PCM
	bool
31
	select SND_DMAENGINE_PCM
32

33 34 35 36
config SND_SOC_COMPRESS
	bool
	select SND_COMPRESS_OFFLOAD

37 38
config SND_SOC_TOPOLOGY
	bool
39
	select SND_DYNAMIC_MINORS
40

41
config SND_SOC_TOPOLOGY_KUNIT_TEST
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
	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.

58 59 60
config SND_SOC_ACPI
	tristate

61
# All the supported SoCs
62
source "sound/soc/adi/Kconfig"
63
source "sound/soc/amd/Kconfig"
64
source "sound/soc/atmel/Kconfig"
65
source "sound/soc/au1x/Kconfig"
Florian Meier's avatar
Florian Meier committed
66
source "sound/soc/bcm/Kconfig"
67
source "sound/soc/cirrus/Kconfig"
68
source "sound/soc/dwc/Kconfig"
69
source "sound/soc/fsl/Kconfig"
70
source "sound/soc/hisilicon/Kconfig"
71
source "sound/soc/jz4740/Kconfig"
72
source "sound/soc/kirkwood/Kconfig"
73
source "sound/soc/img/Kconfig"
74
source "sound/soc/intel/Kconfig"
75
source "sound/soc/mediatek/Kconfig"
76
source "sound/soc/meson/Kconfig"
77
source "sound/soc/mxs/Kconfig"
78
source "sound/soc/pxa/Kconfig"
79
source "sound/soc/qcom/Kconfig"
80
source "sound/soc/rockchip/Kconfig"
81
source "sound/soc/samsung/Kconfig"
Manuel Lauss's avatar
Manuel Lauss committed
82
source "sound/soc/sh/Kconfig"
83
source "sound/soc/sof/Kconfig"
84
source "sound/soc/spear/Kconfig"
85
source "sound/soc/sprd/Kconfig"
86
source "sound/soc/sti/Kconfig"
olivier moysan's avatar
olivier moysan committed
87
source "sound/soc/stm/Kconfig"
88
source "sound/soc/sunxi/Kconfig"
89
source "sound/soc/tegra/Kconfig"
90
source "sound/soc/ti/Kconfig"
91
source "sound/soc/uniphier/Kconfig"
Ola Lilja's avatar
Ola Lilja committed
92
source "sound/soc/ux500/Kconfig"
93
source "sound/soc/xilinx/Kconfig"
94
source "sound/soc/xtensa/Kconfig"
95

96 97 98
# Supported codecs
source "sound/soc/codecs/Kconfig"

99 100 101
# generic frame-work
source "sound/soc/generic/Kconfig"

Takashi Iwai's avatar
Takashi Iwai committed
102 103
endif	# SND_SOC