1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2a3288176SLiam Girdwood# 3a3288176SLiam Girdwood# SoC audio configuration 4a3288176SLiam Girdwood# 5a3288176SLiam Girdwood 689fe5117STakashi Iwaimenuconfig SND_SOC 743a23389SLiam Girdwood tristate "ALSA for SoC audio support" 81fc273b8STakashi Iwai select SND_PCM 9db845374SMark Brown select AC97_BUS if SND_SOC_AC97_BUS 10fe0d128cSTakashi Iwai select SND_JACK 11be3ea3b9SMark Brown select REGMAP_I2C if I2C 12be3ea3b9SMark Brown select REGMAP_SPI if SPI_MASTER 13a7f7f624SMasahiro Yamada help 14a3288176SLiam Girdwood 1543a23389SLiam Girdwood If you want ASoC support, you should say Y here and also to the 1643a23389SLiam Girdwood specific driver for your SoC platform below. 17a3288176SLiam Girdwood 1843a23389SLiam Girdwood ASoC provides power efficient ALSA support for embedded battery powered 1943a23389SLiam Girdwood SoC based systems like PDA's, Phones and Personal Media Players. 2043a23389SLiam Girdwood 2143a23389SLiam Girdwood This ASoC audio support can also be built as a module. If so, the module 22a3288176SLiam Girdwood will be called snd-soc-core. 23a3288176SLiam Girdwood 2489fe5117STakashi Iwaiif SND_SOC 2589fe5117STakashi Iwai 2689fe5117STakashi Iwaiconfig SND_SOC_AC97_BUS 2789fe5117STakashi Iwai bool 2889fe5117STakashi Iwai 2928c4468bSLars-Peter Clausenconfig SND_SOC_GENERIC_DMAENGINE_PCM 3028c4468bSLars-Peter Clausen bool 31b7ae6f31SDaniel Mack select SND_DMAENGINE_PCM 3228c4468bSLars-Peter Clausen 336f0c4226SJie Yangconfig SND_SOC_COMPRESS 346f0c4226SJie Yang bool 356f0c4226SJie Yang select SND_COMPRESS_OFFLOAD 366f0c4226SJie Yang 3778b50f39SMark Brownconfig SND_SOC_TOPOLOGY 3878b50f39SMark Brown bool 392635c226SPeter Ujfalusi select SND_DYNAMIC_MINORS 4078b50f39SMark Brown 41b7dc237eSMark Brownconfig SND_SOC_TOPOLOGY_BUILD 42b7dc237eSMark Brown bool "Build topology core" 43b7dc237eSMark Brown select SND_SOC_TOPOLOGY 44b7dc237eSMark Brown depends on KUNIT 45b7dc237eSMark Brown help 46b7dc237eSMark Brown This option exists to facilitate running the KUnit tests for 47b7dc237eSMark Brown the topology core, KUnit is frequently tested in virtual 48b7dc237eSMark Brown environments with minimal drivers enabled but the topology 49b7dc237eSMark Brown core is usually selected by drivers. There is little reason 50b7dc237eSMark Brown to enable it if not doing a KUnit build. 51b7dc237eSMark Brown 52b5fb388dSNico Pacheconfig SND_SOC_TOPOLOGY_KUNIT_TEST 53d52bbf74SAmadeusz Sławiński tristate "KUnit tests for SoC topology" 54d52bbf74SAmadeusz Sławiński depends on KUNIT 55d52bbf74SAmadeusz Sławiński depends on SND_SOC_TOPOLOGY 56d52bbf74SAmadeusz Sławiński default KUNIT_ALL_TESTS 57d52bbf74SAmadeusz Sławiński help 58d52bbf74SAmadeusz Sławiński If you want to perform tests on ALSA SoC topology support say Y here. 59d52bbf74SAmadeusz Sławiński 60d52bbf74SAmadeusz Sławiński This builds a module which can be later manually loaded to run KUNIT 61d52bbf74SAmadeusz Sławiński test cases against soc-topology.c API. This should be primarily used 62d52bbf74SAmadeusz Sławiński by developers to test their changes to ASoC. 63d52bbf74SAmadeusz Sławiński 64d52bbf74SAmadeusz Sławiński Do note that it creates fake playback devices which do not interact 65d52bbf74SAmadeusz Sławiński well with userspace. When running tests one may want to disable 66d52bbf74SAmadeusz Sławiński userspace applications such as pulseaudio, to prevent unnecessary 67d52bbf74SAmadeusz Sławiński problems. 6889342fa3SRichard Fitzgerald 69ef7784e4SRichard Fitzgeraldconfig SND_SOC_CARD_KUNIT_TEST 70ef7784e4SRichard Fitzgerald tristate "KUnit tests for SoC card" 71ef7784e4SRichard Fitzgerald depends on KUNIT 72ef7784e4SRichard Fitzgerald default KUNIT_ALL_TESTS 73ef7784e4SRichard Fitzgerald help 74ef7784e4SRichard Fitzgerald If you want to perform tests on ALSA SoC card functions say Y here. 75ef7784e4SRichard Fitzgerald If unsure, say N. 76ef7784e4SRichard Fitzgerald 7789342fa3SRichard Fitzgeraldconfig SND_SOC_UTILS_KUNIT_TEST 7889342fa3SRichard Fitzgerald tristate "KUnit tests for SoC utils" 7989342fa3SRichard Fitzgerald depends on KUNIT 8089342fa3SRichard Fitzgerald default KUNIT_ALL_TESTS 8189342fa3SRichard Fitzgerald help 8289342fa3SRichard Fitzgerald If you want to perform tests on ALSA SoC utils library say Y here. 83d52bbf74SAmadeusz Sławiński 847a24b876SCharles Keepaxconfig SND_SOC_OPS_KUNIT_TEST 857a24b876SCharles Keepax tristate "KUnit tests for SoC ops" 867a24b876SCharles Keepax depends on KUNIT 877a24b876SCharles Keepax default KUNIT_ALL_TESTS 887a24b876SCharles Keepax help 897a24b876SCharles Keepax If you want to perform tests on ALSA SoC ops library say Y here. 907a24b876SCharles Keepax 917feb2f78SPierre-Louis Bossartconfig SND_SOC_ACPI 927feb2f78SPierre-Louis Bossart tristate 937feb2f78SPierre-Louis Bossart 94*dba7759aSWesley Chengconfig SND_SOC_USB 95*dba7759aSWesley Cheng tristate "SoC based USB audio offloading" 96*dba7759aSWesley Cheng depends on SND_USB_AUDIO 97*dba7759aSWesley Cheng help 98*dba7759aSWesley Cheng Enable this option if an ASoC platform card has support to handle 99*dba7759aSWesley Cheng USB audio offloading. This enables the SoC USB layer, which will 100*dba7759aSWesley Cheng notify the ASoC USB DPCM backend DAI link about available USB audio 101*dba7759aSWesley Cheng devices. Based on the notifications, sequences to enable the audio 102*dba7759aSWesley Cheng stream can be taken based on the design. 103*dba7759aSWesley Cheng 1040b34a3d0SMark Brown# All the supported SoCs 1058f2fe346SLars-Peter Clausensource "sound/soc/adi/Kconfig" 1067c31335aSMaruthi Srinivas Bayyavarapusource "sound/soc/amd/Kconfig" 1073df5d0d9SMartin Povišersource "sound/soc/apple/Kconfig" 1086c742509SSedji Gaouaousource "sound/soc/atmel/Kconfig" 1094a161d23SManuel Lausssource "sound/soc/au1x/Kconfig" 110c6aeb7deSFlorian Meiersource "sound/soc/bcm/Kconfig" 1110ed275efSAlexander Shiyansource "sound/soc/cirrus/Kconfig" 1123a9cf8efSRajeev Kumarsource "sound/soc/dwc/Kconfig" 1130b34a3d0SMark Brownsource "sound/soc/fsl/Kconfig" 11470264872SPaweł Anikielsource "sound/soc/google/Kconfig" 1150bf750f4SAndy Greensource "sound/soc/hisilicon/Kconfig" 1169af83810SMark Brownsource "sound/soc/jz4740/Kconfig" 117f9b95980Sapatard@mandriva.comsource "sound/soc/kirkwood/Kconfig" 118d84881e0SYingkun Mengsource "sound/soc/loongson/Kconfig" 11914b947d9SDamien.Horsleysource "sound/soc/img/Kconfig" 120784cbf8aSJarkko Nikulasource "sound/soc/intel/Kconfig" 121ee0bcaffSKoro Chensource "sound/soc/mediatek/Kconfig" 1226dc4fa17SJerome Brunetsource "sound/soc/meson/Kconfig" 123009ad054SDong Aishengsource "sound/soc/mxs/Kconfig" 124734c2d4bSLiam Girdwoodsource "sound/soc/pxa/Kconfig" 1256a328885SKenneth Westfieldsource "sound/soc/qcom/Kconfig" 126c087a94bSLad Prabhakarsource "sound/soc/renesas/Kconfig" 1274495c89fSJianqun Xusource "sound/soc/rockchip/Kconfig" 1285033f43cSJassi Brarsource "sound/soc/samsung/Kconfig" 1293a513da1SPierre-Louis Bossartsource "sound/soc/sdca/Kconfig" 1307e978fa3SLiam Girdwoodsource "sound/soc/sof/Kconfig" 131e58070eeSRajeev Kumarsource "sound/soc/spear/Kconfig" 13242fea318SBaolin Wangsource "sound/soc/sprd/Kconfig" 133fd4762b6SWalker Chensource "sound/soc/starfive/Kconfig" 1341e6babb4SArnaud Pouliquensource "sound/soc/sti/Kconfig" 1353e086edfSolivier moysansource "sound/soc/stm/Kconfig" 13645fb6b6fSEmilio Lópezsource "sound/soc/sunxi/Kconfig" 1378b75d714SStephen Warrensource "sound/soc/tegra/Kconfig" 138f2055e14SPeter Ujfalusisource "sound/soc/ti/Kconfig" 1393a47b1dfSKatsuhiro Suzukisource "sound/soc/uniphier/Kconfig" 1403592b7f6SOla Liljasource "sound/soc/ux500/Kconfig" 14133f8db9aSMaruthi Srinivas Bayyavarapusource "sound/soc/xilinx/Kconfig" 14257b7068dSMax Filippovsource "sound/soc/xtensa/Kconfig" 1438dafc0fbSFrank Mandarino 1447f137ab6SRichard Purdie# Supported codecs 1457f137ab6SRichard Purdiesource "sound/soc/codecs/Kconfig" 1467f137ab6SRichard Purdie 147d39388e6SVijendar Mukundasource "sound/soc/sdw_utils/Kconfig" 148d39388e6SVijendar Mukunda 149f2390880SKuninori Morimoto# generic frame-work 150f2390880SKuninori Morimotosource "sound/soc/generic/Kconfig" 151f2390880SKuninori Morimoto 15289fe5117STakashi Iwaiendif # SND_SOC 15389fe5117STakashi Iwai 154