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 select REGMAP_MMIO 20 help 21 Say Y or M if you want to add support for I2S driver for 22 Loongson I2S controller. 23 24 The controller is found in loongson bridge chips or SoCs, 25 and work as a PCI device. 26 27config SND_SOC_LOONGSON_I2S_PLATFORM 28 tristate "Loongson I2S-PLAT Device Driver" 29 depends on LOONGARCH || COMPILE_TEST 30 select REGMAP_MMIO 31 select SND_SOC_GENERIC_DMAENGINE_PCM 32 help 33 Say Y or M if you want to add support for I2S driver for 34 Loongson I2S controller. 35 36 The controller work as a platform device, we can found it in 37 Loongson-2K1000 SoCs. 38endmenu 39