]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
a3288176 LG |
2 | # |
3 | # SoC audio configuration | |
4 | # | |
5 | ||
89fe5117 | 6 | menuconfig SND_SOC |
43a23389 | 7 | tristate "ALSA for SoC audio support" |
1fc273b8 | 8 | select SND_PCM |
db845374 | 9 | select AC97_BUS if SND_SOC_AC97_BUS |
fe0d128c | 10 | select SND_JACK |
be3ea3b9 MB |
11 | select REGMAP_I2C if I2C |
12 | select REGMAP_SPI if SPI_MASTER | |
a7f7f624 | 13 | help |
a3288176 | 14 | |
43a23389 LG |
15 | If you want ASoC support, you should say Y here and also to the |
16 | specific driver for your SoC platform below. | |
89342fa3 | 17 | |
43a23389 LG |
18 | ASoC provides power efficient ALSA support for embedded battery powered |
19 | SoC based systems like PDA's, Phones and Personal Media Players. | |
a3288176 | 20 | |
43a23389 | 21 | This ASoC audio support can also be built as a module. If so, the module |
a3288176 LG |
22 | will be called snd-soc-core. |
23 | ||
89fe5117 TI |
24 | if SND_SOC |
25 | ||
26 | config SND_SOC_AC97_BUS | |
27 | bool | |
28 | ||
28c4468b LPC |
29 | config SND_SOC_GENERIC_DMAENGINE_PCM |
30 | bool | |
b7ae6f31 | 31 | select SND_DMAENGINE_PCM |
28c4468b | 32 | |
6f0c4226 JY |
33 | config SND_SOC_COMPRESS |
34 | bool | |
35 | select SND_COMPRESS_OFFLOAD | |
36 | ||
78b50f39 MB |
37 | config SND_SOC_TOPOLOGY |
38 | bool | |
2635c226 | 39 | select SND_DYNAMIC_MINORS |
78b50f39 | 40 | |
b7dc237e MB |
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 | ||
b5fb388d | 52 | config SND_SOC_TOPOLOGY_KUNIT_TEST |
d52bbf74 AS |
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 | ||
ef7784e4 RF |
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 | ||
89342fa3 RF |
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 | ||
7feb2f78 PLB |
84 | config SND_SOC_ACPI |
85 | tristate | |
86 | ||
0b34a3d0 | 87 | # All the supported SoCs |
8f2fe346 | 88 | source "sound/soc/adi/Kconfig" |
7c31335a | 89 | source "sound/soc/amd/Kconfig" |
3df5d0d9 | 90 | source "sound/soc/apple/Kconfig" |
6c742509 | 91 | source "sound/soc/atmel/Kconfig" |
4a161d23 | 92 | source "sound/soc/au1x/Kconfig" |
c6aeb7de | 93 | source "sound/soc/bcm/Kconfig" |
0ed275ef | 94 | source "sound/soc/cirrus/Kconfig" |
3a9cf8ef | 95 | source "sound/soc/dwc/Kconfig" |
0b34a3d0 | 96 | source "sound/soc/fsl/Kconfig" |
70264872 | 97 | source "sound/soc/google/Kconfig" |
0bf750f4 | 98 | source "sound/soc/hisilicon/Kconfig" |
9af83810 | 99 | source "sound/soc/jz4740/Kconfig" |
f9b95980 | 100 | source "sound/soc/kirkwood/Kconfig" |
d84881e0 | 101 | source "sound/soc/loongson/Kconfig" |
14b947d9 | 102 | source "sound/soc/img/Kconfig" |
784cbf8a | 103 | source "sound/soc/intel/Kconfig" |
ee0bcaff | 104 | source "sound/soc/mediatek/Kconfig" |
6dc4fa17 | 105 | source "sound/soc/meson/Kconfig" |
009ad054 | 106 | source "sound/soc/mxs/Kconfig" |
734c2d4b | 107 | source "sound/soc/pxa/Kconfig" |
6a328885 | 108 | source "sound/soc/qcom/Kconfig" |
c087a94b | 109 | source "sound/soc/renesas/Kconfig" |
4495c89f | 110 | source "sound/soc/rockchip/Kconfig" |
5033f43c | 111 | source "sound/soc/samsung/Kconfig" |
3a513da1 | 112 | source "sound/soc/sdca/Kconfig" |
7e978fa3 | 113 | source "sound/soc/sof/Kconfig" |
e58070ee | 114 | source "sound/soc/spear/Kconfig" |
42fea318 | 115 | source "sound/soc/sprd/Kconfig" |
fd4762b6 | 116 | source "sound/soc/starfive/Kconfig" |
1e6babb4 | 117 | source "sound/soc/sti/Kconfig" |
3e086edf | 118 | source "sound/soc/stm/Kconfig" |
45fb6b6f | 119 | source "sound/soc/sunxi/Kconfig" |
8b75d714 | 120 | source "sound/soc/tegra/Kconfig" |
f2055e14 | 121 | source "sound/soc/ti/Kconfig" |
3a47b1df | 122 | source "sound/soc/uniphier/Kconfig" |
3592b7f6 | 123 | source "sound/soc/ux500/Kconfig" |
33f8db9a | 124 | source "sound/soc/xilinx/Kconfig" |
57b7068d | 125 | source "sound/soc/xtensa/Kconfig" |
8dafc0fb | 126 | |
7f137ab6 RP |
127 | # Supported codecs |
128 | source "sound/soc/codecs/Kconfig" | |
129 | ||
d39388e6 VM |
130 | source "sound/soc/sdw_utils/Kconfig" |
131 | ||
f2390880 KM |
132 | # generic frame-work |
133 | source "sound/soc/generic/Kconfig" | |
134 | ||
89fe5117 TI |
135 | endif # SND_SOC |
136 |