Debian Codegraph @

sound/soc/Kconfig

raw
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # SoC audio configuration
4 #
5
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 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
24 if SND_SOC
25
26 config SND_SOC_AC97_BUS
27 bool
28
29 config SND_SOC_GENERIC_DMAENGINE_PCM
30 bool
31 select SND_DMAENGINE_PCM
32
33 config SND_SOC_COMPRESS
34 bool
35 select SND_COMPRESS_OFFLOAD
36
37 config SND_SOC_TOPOLOGY
38 bool
39 select SND_DYNAMIC_MINORS
40
41 config 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
52 config 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
69 config 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
77 config 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
84 config SND_SOC_OPS_KUNIT_TEST
85 tristate "KUnit tests for SoC ops"
86 depends on KUNIT
87 default KUNIT_ALL_TESTS
88 help
89 If you want to perform tests on ALSA SoC ops library say Y here.
90
91 config SND_SOC_ACPI
92 tristate
93
94 config SND_SOC_USB
95 tristate "SoC based USB audio offloading"
96 depends on SND_USB_AUDIO
97 help
98 Enable this option if an ASoC platform card has support to handle
99 USB audio offloading. This enables the SoC USB layer, which will
100 notify the ASoC USB DPCM backend DAI link about available USB audio
101 devices. Based on the notifications, sequences to enable the audio
102 stream can be taken based on the design.
103
104 # All the supported SoCs
105 source "sound/soc/adi/Kconfig"
106 source "sound/soc/amd/Kconfig"
107 source "sound/soc/apple/Kconfig"
108 source "sound/soc/atmel/Kconfig"
109 source "sound/soc/au1x/Kconfig"
110 source "sound/soc/bcm/Kconfig"
111 source "sound/soc/cirrus/Kconfig"
112 source "sound/soc/dwc/Kconfig"
113 source "sound/soc/fsl/Kconfig"
114 source "sound/soc/google/Kconfig"
115 source "sound/soc/hisilicon/Kconfig"
116 source "sound/soc/jz4740/Kconfig"
117 source "sound/soc/kirkwood/Kconfig"
118 source "sound/soc/loongson/Kconfig"
119 source "sound/soc/img/Kconfig"
120 source "sound/soc/intel/Kconfig"
121 source "sound/soc/mediatek/Kconfig"
122 source "sound/soc/meson/Kconfig"
123 source "sound/soc/mxs/Kconfig"
124 source "sound/soc/pxa/Kconfig"
125 source "sound/soc/qcom/Kconfig"
126 source "sound/soc/renesas/Kconfig"
127 source "sound/soc/rockchip/Kconfig"
128 source "sound/soc/samsung/Kconfig"
129 source "sound/soc/sdca/Kconfig"
130 source "sound/soc/sophgo/Kconfig"
131 source "sound/soc/spacemit/Kconfig"
132 source "sound/soc/spear/Kconfig"
133 source "sound/soc/sprd/Kconfig"
134 source "sound/soc/starfive/Kconfig"
135 source "sound/soc/sti/Kconfig"
136 source "sound/soc/stm/Kconfig"
137 source "sound/soc/sunxi/Kconfig"
138 source "sound/soc/tegra/Kconfig"
139 source "sound/soc/ti/Kconfig"
140 source "sound/soc/uniphier/Kconfig"
141 source "sound/soc/ux500/Kconfig"
142 source "sound/soc/xilinx/Kconfig"
143 source "sound/soc/xtensa/Kconfig"
144
145 # SOF
146 source "sound/soc/sof/Kconfig"
147
148 # Supported codecs
149 source "sound/soc/codecs/Kconfig"
150
151 source "sound/soc/sdw_utils/Kconfig"
152
153 # generic frame-work
154 source "sound/soc/generic/Kconfig"
155
156 endif # SND_SOC
157