1 # SPDX-License-Identifier: GPL-2.0
2 menu "SoC Audio for Loongson CPUs"
4 config 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
10 Say Y or M if you want to add support for SoC audio using
11 loongson I2S controller.
13 The driver add support for ALSA SoC Audio support using
14 loongson I2S controller.
16 config SND_SOC_LOONGSON_I2S_PCI
17 tristate "Loongson I2S-PCI Device Driver"
18 depends on LOONGARCH || COMPILE_TEST
22 Say Y or M if you want to add support for I2S driver for
23 Loongson I2S controller.
25 The controller is found in loongson bridge chips or SoCs,
26 and work as a PCI device.
28 config SND_SOC_LOONGSON_I2S_PLATFORM
29 tristate "Loongson I2S-PLAT Device Driver"
30 depends on LOONGARCH || COMPILE_TEST
32 select SND_SOC_GENERIC_DMAENGINE_PCM
34 Say Y or M if you want to add support for I2S driver for
35 Loongson I2S controller.
37 The controller work as a platform device, we can found it in