Linux Audio

Check our new training course

Linux debugging, profiling, tracing and performance analysis training

Apr 14-17, 2025
Register
Loading...
v6.13.7
  1# SPDX-License-Identifier: GPL-2.0-only
  2#
  3# SoC audio configuration
  4#
  5
  6menuconfig 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	select REGMAP_I2C if I2C
 12	select REGMAP_SPI if SPI_MASTER
 13	help
 14
 15	  If you want ASoC support, you should say Y here and also to the
 16	  specific driver for your SoC platform below.
 17
 18	  ASoC provides power efficient ALSA support for embedded battery powered
 19	  SoC based systems like PDA's, Phones and Personal Media Players.
 20
 21	  This ASoC audio support can also be built as a module.  If so, the module
 22	  will be called snd-soc-core.
 23
 24if SND_SOC
 25
 26config SND_SOC_AC97_BUS
 27	bool
 28
 29config SND_SOC_GENERIC_DMAENGINE_PCM
 30	bool
 31	select SND_DMAENGINE_PCM
 32
 33config SND_SOC_COMPRESS
 34	bool
 35	select SND_COMPRESS_OFFLOAD
 36
 37config SND_SOC_TOPOLOGY
 38	bool
 39	select SND_DYNAMIC_MINORS
 40
 41config SND_SOC_TOPOLOGY_BUILD
 42	bool "Build topology core"
 43	select SND_SOC_TOPOLOGY
 44	depends on KUNIT
 45	help
 46	  This option exists to facilitate running the KUnit tests for
 47	  the topology core, KUnit is frequently tested in virtual
 48	  environments with minimal drivers enabled but the topology
 49	  core is usually selected by drivers.  There is little reason
 50	  to enable it if not doing a KUnit build.
 51
 52config SND_SOC_TOPOLOGY_KUNIT_TEST
 53	tristate "KUnit tests for SoC topology"
 54	depends on KUNIT
 55	depends on SND_SOC_TOPOLOGY
 56	default KUNIT_ALL_TESTS
 57	help
 58	  If you want to perform tests on ALSA SoC topology support say Y here.
 59
 60	  This builds a module which can be later manually loaded to run KUNIT
 61	  test cases against soc-topology.c API. This should be primarily used
 62	  by developers to test their changes to ASoC.
 63
 64	  Do note that it creates fake playback devices which do not interact
 65	  well with userspace. When running tests one may want to disable
 66	  userspace applications such as pulseaudio, to prevent unnecessary
 67	  problems.
 68
 69config SND_SOC_CARD_KUNIT_TEST
 70	tristate "KUnit tests for SoC card"
 71	depends on KUNIT
 72	default KUNIT_ALL_TESTS
 73	help
 74	  If you want to perform tests on ALSA SoC card functions say Y here.
 75	  If unsure, say N.
 76
 77config SND_SOC_UTILS_KUNIT_TEST
 78	tristate "KUnit tests for SoC utils"
 79	depends on KUNIT
 80	default KUNIT_ALL_TESTS
 81	help
 82	  If you want to perform tests on ALSA SoC utils library say Y here.
 83
 84config SND_SOC_ACPI
 85	tristate
 86
 87# All the supported SoCs
 88source "sound/soc/adi/Kconfig"
 89source "sound/soc/amd/Kconfig"
 90source "sound/soc/apple/Kconfig"
 91source "sound/soc/atmel/Kconfig"
 92source "sound/soc/au1x/Kconfig"
 93source "sound/soc/bcm/Kconfig"
 94source "sound/soc/cirrus/Kconfig"
 95source "sound/soc/dwc/Kconfig"
 96source "sound/soc/fsl/Kconfig"
 97source "sound/soc/google/Kconfig"
 98source "sound/soc/hisilicon/Kconfig"
 99source "sound/soc/jz4740/Kconfig"
100source "sound/soc/kirkwood/Kconfig"
101source "sound/soc/loongson/Kconfig"
102source "sound/soc/img/Kconfig"
103source "sound/soc/intel/Kconfig"
104source "sound/soc/mediatek/Kconfig"
105source "sound/soc/meson/Kconfig"
106source "sound/soc/mxs/Kconfig"
107source "sound/soc/pxa/Kconfig"
108source "sound/soc/qcom/Kconfig"
109source "sound/soc/renesas/Kconfig"
110source "sound/soc/rockchip/Kconfig"
111source "sound/soc/samsung/Kconfig"
112source "sound/soc/sdca/Kconfig"
 
113source "sound/soc/sof/Kconfig"
114source "sound/soc/spear/Kconfig"
115source "sound/soc/sprd/Kconfig"
116source "sound/soc/starfive/Kconfig"
117source "sound/soc/sti/Kconfig"
118source "sound/soc/stm/Kconfig"
119source "sound/soc/sunxi/Kconfig"
120source "sound/soc/tegra/Kconfig"
121source "sound/soc/ti/Kconfig"
 
122source "sound/soc/uniphier/Kconfig"
123source "sound/soc/ux500/Kconfig"
124source "sound/soc/xilinx/Kconfig"
125source "sound/soc/xtensa/Kconfig"
 
126
127# Supported codecs
128source "sound/soc/codecs/Kconfig"
129
130source "sound/soc/sdw_utils/Kconfig"
131
132# generic frame-work
133source "sound/soc/generic/Kconfig"
134
135endif	# SND_SOC
136
v5.4
 1# SPDX-License-Identifier: GPL-2.0-only
 2#
 3# SoC audio configuration
 4#
 5
 6menuconfig 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	select REGMAP_I2C if I2C
12	select REGMAP_SPI if SPI_MASTER
13	---help---
14
15	  If you want ASoC support, you should say Y here and also to the
16	  specific driver for your SoC platform below.
17	  
18	  ASoC provides power efficient ALSA support for embedded battery powered
19	  SoC based systems like PDA's, Phones and Personal Media Players.
20
21	  This ASoC audio support can also be built as a module.  If so, the module
22	  will be called snd-soc-core.
23
24if SND_SOC
25
26config SND_SOC_AC97_BUS
27	bool
28
29config SND_SOC_GENERIC_DMAENGINE_PCM
30	bool
31	select SND_DMAENGINE_PCM
32
33config SND_SOC_COMPRESS
34	bool
35	select SND_COMPRESS_OFFLOAD
36
37config SND_SOC_TOPOLOGY
38	bool
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
40config SND_SOC_ACPI
41	tristate
42
43# All the supported SoCs
44source "sound/soc/adi/Kconfig"
45source "sound/soc/amd/Kconfig"
 
46source "sound/soc/atmel/Kconfig"
47source "sound/soc/au1x/Kconfig"
48source "sound/soc/bcm/Kconfig"
49source "sound/soc/cirrus/Kconfig"
50source "sound/soc/dwc/Kconfig"
51source "sound/soc/fsl/Kconfig"
 
52source "sound/soc/hisilicon/Kconfig"
53source "sound/soc/jz4740/Kconfig"
54source "sound/soc/kirkwood/Kconfig"
 
55source "sound/soc/img/Kconfig"
56source "sound/soc/intel/Kconfig"
57source "sound/soc/mediatek/Kconfig"
58source "sound/soc/meson/Kconfig"
59source "sound/soc/mxs/Kconfig"
60source "sound/soc/pxa/Kconfig"
61source "sound/soc/qcom/Kconfig"
 
62source "sound/soc/rockchip/Kconfig"
63source "sound/soc/samsung/Kconfig"
64source "sound/soc/sh/Kconfig"
65source "sound/soc/sirf/Kconfig"
66source "sound/soc/sof/Kconfig"
67source "sound/soc/spear/Kconfig"
68source "sound/soc/sprd/Kconfig"
 
69source "sound/soc/sti/Kconfig"
70source "sound/soc/stm/Kconfig"
71source "sound/soc/sunxi/Kconfig"
72source "sound/soc/tegra/Kconfig"
73source "sound/soc/ti/Kconfig"
74source "sound/soc/txx9/Kconfig"
75source "sound/soc/uniphier/Kconfig"
76source "sound/soc/ux500/Kconfig"
77source "sound/soc/xilinx/Kconfig"
78source "sound/soc/xtensa/Kconfig"
79source "sound/soc/zte/Kconfig"
80
81# Supported codecs
82source "sound/soc/codecs/Kconfig"
 
 
83
84# generic frame-work
85source "sound/soc/generic/Kconfig"
86
87endif	# SND_SOC
88