Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Liam Girdwood | a328817 | 2006-10-06 18:33:55 +0200 | [diff] [blame] | 2 | # |
| 3 | # SoC audio configuration |
| 4 | # |
| 5 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 6 | menuconfig SND_SOC |
Liam Girdwood | 43a2338 | 2007-04-17 15:41:52 +0200 | [diff] [blame] | 7 | tristate "ALSA for SoC audio support" |
Takashi Iwai | 1fc273b | 2007-03-08 12:53:02 +0100 | [diff] [blame] | 8 | select SND_PCM |
Mark Brown | db84537 | 2008-09-15 15:57:36 +0100 | [diff] [blame] | 9 | select AC97_BUS if SND_SOC_AC97_BUS |
Takashi Iwai | fe0d128 | 2016-02-17 09:44:25 +0100 | [diff] [blame] | 10 | select SND_JACK |
Mark Brown | be3ea3b | 2011-06-13 19:35:29 +0100 | [diff] [blame] | 11 | select REGMAP_I2C if I2C |
| 12 | select REGMAP_SPI if SPI_MASTER |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 13 | help |
Liam Girdwood | a328817 | 2006-10-06 18:33:55 +0200 | [diff] [blame] | 14 | |
Liam Girdwood | 43a2338 | 2007-04-17 15:41:52 +0200 | [diff] [blame] | 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. |
Liam Girdwood | a328817 | 2006-10-06 18:33:55 +0200 | [diff] [blame] | 20 | |
Liam Girdwood | 43a2338 | 2007-04-17 15:41:52 +0200 | [diff] [blame] | 21 | This ASoC audio support can also be built as a module. If so, the module |
Liam Girdwood | a328817 | 2006-10-06 18:33:55 +0200 | [diff] [blame] | 22 | will be called snd-soc-core. |
| 23 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 24 | if SND_SOC |
| 25 | |
| 26 | config SND_SOC_AC97_BUS |
| 27 | bool |
| 28 | |
Lars-Peter Clausen | 28c4468 | 2013-04-15 19:19:50 +0200 | [diff] [blame] | 29 | config SND_SOC_GENERIC_DMAENGINE_PCM |
| 30 | bool |
Daniel Mack | b7ae6f3 | 2013-08-12 10:42:37 +0200 | [diff] [blame] | 31 | select SND_DMAENGINE_PCM |
Lars-Peter Clausen | 28c4468 | 2013-04-15 19:19:50 +0200 | [diff] [blame] | 32 | |
Jie Yang | 6f0c422 | 2015-10-13 23:41:00 +0800 | [diff] [blame] | 33 | config SND_SOC_COMPRESS |
| 34 | bool |
| 35 | select SND_COMPRESS_OFFLOAD |
| 36 | |
Mark Brown | 78b50f3 | 2015-08-15 08:24:20 -0700 | [diff] [blame] | 37 | config SND_SOC_TOPOLOGY |
| 38 | bool |
Peter Ujfalusi | 2635c22 | 2021-07-26 13:21:42 -0500 | [diff] [blame] | 39 | select SND_DYNAMIC_MINORS |
Mark Brown | 78b50f3 | 2015-08-15 08:24:20 -0700 | [diff] [blame] | 40 | |
Nico Pache | b5fb388 | 2021-04-14 04:58:04 -0400 | [diff] [blame] | 41 | config SND_SOC_TOPOLOGY_KUNIT_TEST |
Amadeusz Sławiński | d52bbf7 | 2021-01-20 16:28:44 +0100 | [diff] [blame] | 42 | 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 Bossart | 7feb2f7 | 2017-10-12 18:49:38 -0500 | [diff] [blame] | 58 | config SND_SOC_ACPI |
| 59 | tristate |
| 60 | |
Mark Brown | 0b34a3d | 2008-12-16 14:44:48 +0000 | [diff] [blame] | 61 | # All the supported SoCs |
Lars-Peter Clausen | 8f2fe34 | 2013-12-06 11:02:50 +0100 | [diff] [blame] | 62 | source "sound/soc/adi/Kconfig" |
Maruthi Srinivas Bayyavarapu | 7c31335 | 2016-01-08 18:22:09 -0500 | [diff] [blame] | 63 | source "sound/soc/amd/Kconfig" |
Sedji Gaouaou | 6c74250 | 2008-10-03 16:57:50 +0200 | [diff] [blame] | 64 | source "sound/soc/atmel/Kconfig" |
Manuel Lauss | 4a161d2 | 2008-07-09 16:27:56 +0200 | [diff] [blame] | 65 | source "sound/soc/au1x/Kconfig" |
Florian Meier | c6aeb7d | 2013-11-22 16:24:08 +0100 | [diff] [blame] | 66 | source "sound/soc/bcm/Kconfig" |
Alexander Shiyan | 0ed275e | 2012-08-21 19:21:51 +0400 | [diff] [blame] | 67 | source "sound/soc/cirrus/Kconfig" |
Rajeev Kumar | 3a9cf8e | 2012-06-21 15:54:51 +0530 | [diff] [blame] | 68 | source "sound/soc/dwc/Kconfig" |
Mark Brown | 0b34a3d | 2008-12-16 14:44:48 +0000 | [diff] [blame] | 69 | source "sound/soc/fsl/Kconfig" |
Andy Green | 0bf750f | 2017-03-31 15:06:00 -0700 | [diff] [blame] | 70 | source "sound/soc/hisilicon/Kconfig" |
Mark Brown | 9af8381 | 2010-07-05 12:09:22 +0900 | [diff] [blame] | 71 | source "sound/soc/jz4740/Kconfig" |
apatard@mandriva.com | f9b9598 | 2010-05-31 13:49:14 +0200 | [diff] [blame] | 72 | source "sound/soc/kirkwood/Kconfig" |
Damien.Horsley | 14b947d | 2015-11-04 14:40:48 +0000 | [diff] [blame] | 73 | source "sound/soc/img/Kconfig" |
Jarkko Nikula | 784cbf8 | 2013-11-21 13:32:24 +0200 | [diff] [blame] | 74 | source "sound/soc/intel/Kconfig" |
Koro Chen | ee0bcaf | 2015-06-15 22:38:02 +0800 | [diff] [blame] | 75 | source "sound/soc/mediatek/Kconfig" |
Jerome Brunet | 6dc4fa1 | 2018-07-17 17:42:51 +0200 | [diff] [blame] | 76 | source "sound/soc/meson/Kconfig" |
Dong Aisheng | 009ad05 | 2011-07-21 12:36:58 +0800 | [diff] [blame] | 77 | source "sound/soc/mxs/Kconfig" |
Liam Girdwood | 734c2d4 | 2006-10-12 14:34:32 +0200 | [diff] [blame] | 78 | source "sound/soc/pxa/Kconfig" |
Kenneth Westfield | 6a32888 | 2015-03-13 01:01:07 -0700 | [diff] [blame] | 79 | source "sound/soc/qcom/Kconfig" |
Jianqun Xu | 4495c89 | 2014-07-05 19:13:03 +0800 | [diff] [blame] | 80 | source "sound/soc/rockchip/Kconfig" |
Jassi Brar | 5033f43 | 2010-11-22 15:37:25 +0900 | [diff] [blame] | 81 | source "sound/soc/samsung/Kconfig" |
Manuel Lauss | aef3b06 | 2007-05-14 18:40:07 +0200 | [diff] [blame] | 82 | source "sound/soc/sh/Kconfig" |
Liam Girdwood | 7e978fa | 2019-04-12 11:09:02 -0500 | [diff] [blame] | 83 | source "sound/soc/sof/Kconfig" |
Rajeev Kumar | e58070e | 2013-06-10 16:19:40 +0530 | [diff] [blame] | 84 | source "sound/soc/spear/Kconfig" |
Baolin Wang | 42fea31 | 2019-01-29 16:04:45 +0800 | [diff] [blame] | 85 | source "sound/soc/sprd/Kconfig" |
Arnaud Pouliquen | 1e6babb | 2015-07-16 11:36:05 +0200 | [diff] [blame] | 86 | source "sound/soc/sti/Kconfig" |
olivier moysan | 3e086ed | 2017-04-10 17:19:56 +0200 | [diff] [blame] | 87 | source "sound/soc/stm/Kconfig" |
Emilio López | 45fb6b6 | 2015-09-12 15:26:24 +0200 | [diff] [blame] | 88 | source "sound/soc/sunxi/Kconfig" |
Stephen Warren | 8b75d71 | 2011-01-07 22:36:17 -0700 | [diff] [blame] | 89 | source "sound/soc/tegra/Kconfig" |
Peter Ujfalusi | f2055e1 | 2018-12-17 14:21:34 +0200 | [diff] [blame] | 90 | source "sound/soc/ti/Kconfig" |
Katsuhiro Suzuki | 3a47b1d | 2017-11-22 20:43:17 +0900 | [diff] [blame] | 91 | source "sound/soc/uniphier/Kconfig" |
Ola Lilja | 3592b7f | 2012-05-08 15:57:18 +0200 | [diff] [blame] | 92 | source "sound/soc/ux500/Kconfig" |
Maruthi Srinivas Bayyavarapu | 33f8db9 | 2018-12-08 00:02:38 +0530 | [diff] [blame] | 93 | source "sound/soc/xilinx/Kconfig" |
Max Filippov | 57b7068 | 2014-12-26 20:19:38 +0300 | [diff] [blame] | 94 | source "sound/soc/xtensa/Kconfig" |
Frank Mandarino | 8dafc0f | 2006-10-06 18:41:42 +0200 | [diff] [blame] | 95 | |
Richard Purdie | 7f137ab | 2006-10-06 18:38:37 +0200 | [diff] [blame] | 96 | # Supported codecs |
| 97 | source "sound/soc/codecs/Kconfig" |
| 98 | |
Kuninori Morimoto | f239088 | 2012-04-08 21:17:50 -0700 | [diff] [blame] | 99 | # generic frame-work |
| 100 | source "sound/soc/generic/Kconfig" |
| 101 | |
Takashi Iwai | 89fe511 | 2008-05-23 16:10:37 +0200 | [diff] [blame] | 102 | endif # SND_SOC |
| 103 | |