blob: b05b709459392f7188dcad6016e3ebb64b92ef66 [file] [log] [blame]
From f0f7fed920e63ce231c4ded63098a3abdf4b5b28 Mon Sep 17 00:00:00 2001
From: Maso Huang <maso.huang@mediatek.com>
Date: Thu, 16 Nov 2023 15:11:30 +0800
Subject: [PATCH] sound add mt7986 si3218x driver
---
sound/soc/mediatek/Kconfig | 10 ++++++++++
sound/soc/mediatek/mt7986/Makefile | 1 +
2 files changed, 11 insertions(+)
diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
index 99d36c4..e28b5a6 100644
--- a/sound/soc/mediatek/Kconfig
+++ b/sound/soc/mediatek/Kconfig
@@ -73,6 +73,16 @@ config SND_SOC_MT7986_WM8960
Select Y if you have such device.
If unsure select "N".
+config SND_SOC_MT7986_SI3218X
+ tristate "ASoc Audio driver for MT7986 with SI3218X codec"
+ depends on SND_SOC_MT7986 && SPI
+ select SND_SOC_SI3218X_SPI
+ help
+ This adds support for ASoC machine driver for MediaTek MT7986
+ boards with the SI3218X codecs.
+ Select Y if you have such device.
+ If unsure select "N".
+
config SND_SOC_MT8173
tristate "ASoC support for Mediatek MT8173 chip"
depends on ARCH_MEDIATEK
diff --git a/sound/soc/mediatek/mt7986/Makefile b/sound/soc/mediatek/mt7986/Makefile
index fc4c825..22d2571 100644
--- a/sound/soc/mediatek/mt7986/Makefile
+++ b/sound/soc/mediatek/mt7986/Makefile
@@ -7,3 +7,4 @@ snd-soc-mt7986-afe-objs := \
obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o
obj-$(CONFIG_SND_SOC_MT7986_WM8960) += mt7986-wm8960.o
+obj-$(CONFIG_SND_SOC_MT7986_SI3218X) += mt7986-si3218x.o
--
2.18.0