summaryrefslogtreecommitdiff
path: root/sound/soc/loongson/Makefile
diff options
context:
space:
mode:
authorYingkun Meng <mengyingkun@loongson.cn>2023-06-15 15:27:18 +0300
committerMark Brown <broonie@kernel.org>2023-06-15 15:53:24 +0300
commitd84881e06836dc1655777a592b4279be76ad7324 (patch)
treeb8ec949807489b5c90de728a6c9619f69ff04d77 /sound/soc/loongson/Makefile
parent06f2c60eee2556259ae0d4da0bf9f3b97629a6dc (diff)
downloadlinux-d84881e06836dc1655777a592b4279be76ad7324.tar.xz
ASoC: Add support for Loongson I2S controller
Loongson I2S controller is found on 7axxx/2kxxx chips from loongson, it is a PCI device with two private DMA controllers, one for playback, the other for capture. The driver supports the use of DTS or ACPI to describe device resources. Signed-off-by: Yingkun Meng <mengyingkun@loongson.cn> Link: https://lore.kernel.org/r/20230615122718.3412942-1-mengyingkun@loongson.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/loongson/Makefile')
-rw-r--r--sound/soc/loongson/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/loongson/Makefile b/sound/soc/loongson/Makefile
new file mode 100644
index 000000000000..099af7989103
--- /dev/null
+++ b/sound/soc/loongson/Makefile
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0
+#Platform Support
+snd-soc-loongson-i2s-pci-objs := loongson_i2s_pci.o loongson_i2s.o loongson_dma.o
+obj-$(CONFIG_SND_SOC_LOONGSON_I2S_PCI) += snd-soc-loongson-i2s-pci.o