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