Linux Audio

Check our new training course

Loading...
v6.2
  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_KUNIT_TEST
 42	tristate "KUnit tests for SoC topology"
 43	depends on KUNIT
 44	depends on SND_SOC_TOPOLOGY
 45	default KUNIT_ALL_TESTS
 46	help
 47	  If you want to perform tests on ALSA SoC topology support say Y here.
 48
 49	  This builds a module which can be later manually loaded to run KUNIT
 50	  test cases against soc-topology.c API. This should be primarily used
 51	  by developers to test their changes to ASoC.
 52
 53	  Do note that it creates fake playback devices which do not interact
 54	  well with userspace. When running tests one may want to disable
 55	  userspace applications such as pulseaudio, to prevent unnecessary
 56	  problems.
 57
 58config SND_SOC_UTILS_KUNIT_TEST
 59	tristate "KUnit tests for SoC utils"
 60	depends on KUNIT
 61	default KUNIT_ALL_TESTS
 62	help
 63	  If you want to perform tests on ALSA SoC utils library say Y here.
 64
 65config SND_SOC_ACPI
 66	tristate
 67
 68# All the supported SoCs
 69source "sound/soc/adi/Kconfig"
 70source "sound/soc/amd/Kconfig"
 71source "sound/soc/apple/Kconfig"
 72source "sound/soc/atmel/Kconfig"
 73source "sound/soc/au1x/Kconfig"
 74source "sound/soc/bcm/Kconfig"
 
 75source "sound/soc/cirrus/Kconfig"
 
 76source "sound/soc/dwc/Kconfig"
 77source "sound/soc/fsl/Kconfig"
 78source "sound/soc/hisilicon/Kconfig"
 79source "sound/soc/jz4740/Kconfig"
 
 
 80source "sound/soc/kirkwood/Kconfig"
 81source "sound/soc/img/Kconfig"
 82source "sound/soc/intel/Kconfig"
 83source "sound/soc/mediatek/Kconfig"
 84source "sound/soc/meson/Kconfig"
 85source "sound/soc/mxs/Kconfig"
 86source "sound/soc/pxa/Kconfig"
 87source "sound/soc/qcom/Kconfig"
 88source "sound/soc/rockchip/Kconfig"
 89source "sound/soc/samsung/Kconfig"
 90source "sound/soc/sh/Kconfig"
 91source "sound/soc/sof/Kconfig"
 92source "sound/soc/spear/Kconfig"
 93source "sound/soc/sprd/Kconfig"
 94source "sound/soc/sti/Kconfig"
 95source "sound/soc/stm/Kconfig"
 96source "sound/soc/sunxi/Kconfig"
 97source "sound/soc/tegra/Kconfig"
 98source "sound/soc/ti/Kconfig"
 99source "sound/soc/uniphier/Kconfig"
100source "sound/soc/ux500/Kconfig"
101source "sound/soc/xilinx/Kconfig"
102source "sound/soc/xtensa/Kconfig"
 
103
104# Supported codecs
105source "sound/soc/codecs/Kconfig"
106
107# generic frame-work
108source "sound/soc/generic/Kconfig"
109
110endif	# SND_SOC
111
v4.6
 
 1#
 2# SoC audio configuration
 3#
 4
 5menuconfig SND_SOC
 6	tristate "ALSA for SoC audio support"
 7	select SND_PCM
 8	select AC97_BUS if SND_SOC_AC97_BUS
 9	select SND_JACK
10	select REGMAP_I2C if I2C
11	select REGMAP_SPI if SPI_MASTER
12	---help---
13
14	  If you want ASoC support, you should say Y here and also to the
15	  specific driver for your SoC platform below.
16	  
17	  ASoC provides power efficient ALSA support for embedded battery powered
18	  SoC based systems like PDA's, Phones and Personal Media Players.
19
20	  This ASoC audio support can also be built as a module.  If so, the module
21	  will be called snd-soc-core.
22
23if SND_SOC
24
25config SND_SOC_AC97_BUS
26	bool
27
28config SND_SOC_GENERIC_DMAENGINE_PCM
29	bool
30	select SND_DMAENGINE_PCM
31
32config SND_SOC_COMPRESS
33	bool
34	select SND_COMPRESS_OFFLOAD
35
36config SND_SOC_TOPOLOGY
37	bool
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
39# All the supported SoCs
40source "sound/soc/adi/Kconfig"
41source "sound/soc/amd/Kconfig"
 
42source "sound/soc/atmel/Kconfig"
43source "sound/soc/au1x/Kconfig"
44source "sound/soc/bcm/Kconfig"
45source "sound/soc/blackfin/Kconfig"
46source "sound/soc/cirrus/Kconfig"
47source "sound/soc/davinci/Kconfig"
48source "sound/soc/dwc/Kconfig"
49source "sound/soc/fsl/Kconfig"
 
50source "sound/soc/jz4740/Kconfig"
51source "sound/soc/nuc900/Kconfig"
52source "sound/soc/omap/Kconfig"
53source "sound/soc/kirkwood/Kconfig"
54source "sound/soc/img/Kconfig"
55source "sound/soc/intel/Kconfig"
56source "sound/soc/mediatek/Kconfig"
 
57source "sound/soc/mxs/Kconfig"
58source "sound/soc/pxa/Kconfig"
59source "sound/soc/qcom/Kconfig"
60source "sound/soc/rockchip/Kconfig"
61source "sound/soc/samsung/Kconfig"
62source "sound/soc/sh/Kconfig"
63source "sound/soc/sirf/Kconfig"
64source "sound/soc/spear/Kconfig"
 
65source "sound/soc/sti/Kconfig"
 
66source "sound/soc/sunxi/Kconfig"
67source "sound/soc/tegra/Kconfig"
68source "sound/soc/txx9/Kconfig"
 
69source "sound/soc/ux500/Kconfig"
 
70source "sound/soc/xtensa/Kconfig"
71source "sound/soc/zte/Kconfig"
72
73# Supported codecs
74source "sound/soc/codecs/Kconfig"
75
76# generic frame-work
77source "sound/soc/generic/Kconfig"
78
79endif	# SND_SOC
80