xref: /linux/sound/soc/loongson/Kconfig (revision a9e6060bb2a6cae6d43a98ec0794844ad01273d3)
1# SPDX-License-Identifier: GPL-2.0
2menu "SoC Audio for Loongson CPUs"
3
4config SND_SOC_LOONGSON_CARD
5	tristate "Loongson Sound Card Driver"
6	depends on LOONGARCH || COMPILE_TEST
7	select SND_SOC_LOONGSON_I2S_PCI if PCI
8	select SND_SOC_LOONGSON_I2S_PLATFORM if OF
9	help
10	  Say Y or M if you want to add support for SoC audio using
11	  loongson I2S controller.
12
13	  The driver add support for ALSA SoC Audio support using
14	  loongson I2S controller.
15
16config SND_SOC_LOONGSON_I2S_PCI
17	tristate "Loongson I2S-PCI Device Driver"
18	depends on LOONGARCH || COMPILE_TEST
19	depends on PCI
20	select REGMAP_MMIO
21	help
22	  Say Y or M if you want to add support for I2S driver for
23	  Loongson I2S controller.
24
25	  The controller is found in loongson bridge chips or SoCs,
26	  and work as a PCI device.
27
28config SND_SOC_LOONGSON_I2S_PLATFORM
29	tristate "Loongson I2S-PLAT Device Driver"
30	depends on LOONGARCH || COMPILE_TEST
31	select REGMAP_MMIO
32	select SND_SOC_GENERIC_DMAENGINE_PCM
33	help
34	  Say Y or M if you want to add support for I2S driver for
35	  Loongson I2S controller.
36
37	  The controller work as a platform device, we can found it in
38	  Loongson-2K1000 SoCs.
39endmenu
40
41config SND_LOONGSON1_AC97
42	tristate "Loongson1 AC97 Support"
43	depends on LOONGSON1_APB_DMA
44	select SND_SOC_AC97_CODEC
45	select SND_SOC_GENERIC_DMAENGINE_PCM
46	select REGMAP_MMIO
47	help
48	  Say Y or M if you want to add support for codecs attached to
49	  the Loongson1 AC97 controller.
50