blob: 5dcf77af07afcbfcede12ec0b3c24de5fbfb3e38 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Liam Girdwooda3288172006-10-06 18:33:55 +02002#
3# SoC audio configuration
4#
5
Takashi Iwai89fe5112008-05-23 16:10:37 +02006menuconfig SND_SOC
Liam Girdwood43a23382007-04-17 15:41:52 +02007 tristate "ALSA for SoC audio support"
Takashi Iwai1fc273b2007-03-08 12:53:02 +01008 select SND_PCM
Mark Browndb845372008-09-15 15:57:36 +01009 select AC97_BUS if SND_SOC_AC97_BUS
Takashi Iwaife0d1282016-02-17 09:44:25 +010010 select SND_JACK
Mark Brownbe3ea3b2011-06-13 19:35:29 +010011 select REGMAP_I2C if I2C
12 select REGMAP_SPI if SPI_MASTER
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090013 help
Liam Girdwooda3288172006-10-06 18:33:55 +020014
Liam Girdwood43a23382007-04-17 15:41:52 +020015 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.
Liam Girdwooda3288172006-10-06 18:33:55 +020020
Liam Girdwood43a23382007-04-17 15:41:52 +020021 This ASoC audio support can also be built as a module. If so, the module
Liam Girdwooda3288172006-10-06 18:33:55 +020022 will be called snd-soc-core.
23
Takashi Iwai89fe5112008-05-23 16:10:37 +020024if SND_SOC
25
26config SND_SOC_AC97_BUS
27 bool
28
Lars-Peter Clausen28c44682013-04-15 19:19:50 +020029config SND_SOC_GENERIC_DMAENGINE_PCM
30 bool
Daniel Mackb7ae6f32013-08-12 10:42:37 +020031 select SND_DMAENGINE_PCM
Lars-Peter Clausen28c44682013-04-15 19:19:50 +020032
Jie Yang6f0c4222015-10-13 23:41:00 +080033config SND_SOC_COMPRESS
34 bool
35 select SND_COMPRESS_OFFLOAD
36
Mark Brown78b50f32015-08-15 08:24:20 -070037config SND_SOC_TOPOLOGY
38 bool
Peter Ujfalusi2635c222021-07-26 13:21:42 -050039 select SND_DYNAMIC_MINORS
Mark Brown78b50f32015-08-15 08:24:20 -070040
Nico Pacheb5fb3882021-04-14 04:58:04 -040041config SND_SOC_TOPOLOGY_KUNIT_TEST
Amadeusz Sławińskid52bbf72021-01-20 16:28:44 +010042 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
Pierre-Louis Bossart7feb2f72017-10-12 18:49:38 -050058config SND_SOC_ACPI
59 tristate
60
Mark Brown0b34a3d2008-12-16 14:44:48 +000061# All the supported SoCs
Lars-Peter Clausen8f2fe342013-12-06 11:02:50 +010062source "sound/soc/adi/Kconfig"
Maruthi Srinivas Bayyavarapu7c313352016-01-08 18:22:09 -050063source "sound/soc/amd/Kconfig"
Sedji Gaouaou6c742502008-10-03 16:57:50 +020064source "sound/soc/atmel/Kconfig"
Manuel Lauss4a161d22008-07-09 16:27:56 +020065source "sound/soc/au1x/Kconfig"
Florian Meierc6aeb7d2013-11-22 16:24:08 +010066source "sound/soc/bcm/Kconfig"
Alexander Shiyan0ed275e2012-08-21 19:21:51 +040067source "sound/soc/cirrus/Kconfig"
Rajeev Kumar3a9cf8e2012-06-21 15:54:51 +053068source "sound/soc/dwc/Kconfig"
Mark Brown0b34a3d2008-12-16 14:44:48 +000069source "sound/soc/fsl/Kconfig"
Andy Green0bf750f2017-03-31 15:06:00 -070070source "sound/soc/hisilicon/Kconfig"
Mark Brown9af83812010-07-05 12:09:22 +090071source "sound/soc/jz4740/Kconfig"
apatard@mandriva.comf9b95982010-05-31 13:49:14 +020072source "sound/soc/kirkwood/Kconfig"
Damien.Horsley14b947d2015-11-04 14:40:48 +000073source "sound/soc/img/Kconfig"
Jarkko Nikula784cbf82013-11-21 13:32:24 +020074source "sound/soc/intel/Kconfig"
Koro Chenee0bcaf2015-06-15 22:38:02 +080075source "sound/soc/mediatek/Kconfig"
Jerome Brunet6dc4fa12018-07-17 17:42:51 +020076source "sound/soc/meson/Kconfig"
Dong Aisheng009ad052011-07-21 12:36:58 +080077source "sound/soc/mxs/Kconfig"
Liam Girdwood734c2d42006-10-12 14:34:32 +020078source "sound/soc/pxa/Kconfig"
Kenneth Westfield6a328882015-03-13 01:01:07 -070079source "sound/soc/qcom/Kconfig"
Jianqun Xu4495c892014-07-05 19:13:03 +080080source "sound/soc/rockchip/Kconfig"
Jassi Brar5033f432010-11-22 15:37:25 +090081source "sound/soc/samsung/Kconfig"
Manuel Laussaef3b062007-05-14 18:40:07 +020082source "sound/soc/sh/Kconfig"
Liam Girdwood7e978fa2019-04-12 11:09:02 -050083source "sound/soc/sof/Kconfig"
Rajeev Kumare58070e2013-06-10 16:19:40 +053084source "sound/soc/spear/Kconfig"
Baolin Wang42fea312019-01-29 16:04:45 +080085source "sound/soc/sprd/Kconfig"
Arnaud Pouliquen1e6babb2015-07-16 11:36:05 +020086source "sound/soc/sti/Kconfig"
olivier moysan3e086ed2017-04-10 17:19:56 +020087source "sound/soc/stm/Kconfig"
Emilio López45fb6b62015-09-12 15:26:24 +020088source "sound/soc/sunxi/Kconfig"
Stephen Warren8b75d712011-01-07 22:36:17 -070089source "sound/soc/tegra/Kconfig"
Peter Ujfalusif2055e12018-12-17 14:21:34 +020090source "sound/soc/ti/Kconfig"
Katsuhiro Suzuki3a47b1d2017-11-22 20:43:17 +090091source "sound/soc/uniphier/Kconfig"
Ola Lilja3592b7f2012-05-08 15:57:18 +020092source "sound/soc/ux500/Kconfig"
Maruthi Srinivas Bayyavarapu33f8db92018-12-08 00:02:38 +053093source "sound/soc/xilinx/Kconfig"
Max Filippov57b70682014-12-26 20:19:38 +030094source "sound/soc/xtensa/Kconfig"
Frank Mandarino8dafc0f2006-10-06 18:41:42 +020095
Richard Purdie7f137ab2006-10-06 18:38:37 +020096# Supported codecs
97source "sound/soc/codecs/Kconfig"
98
Kuninori Morimotof2390882012-04-08 21:17:50 -070099# generic frame-work
100source "sound/soc/generic/Kconfig"
101
Takashi Iwai89fe5112008-05-23 16:10:37 +0200102endif # SND_SOC
103