[][kernel][common][audio][Add mt7986-si3218x machine driver to Kconfig and Makefile]

[Description]
Add mt7986-si3218x machine driver to Kconfig and Makefile
for backport mt7986 audio driver from kernel 6.7.

[Release-log]
N/A

Change-Id: I1b1e93471fd502a2db3b93a0fbf331ff910fd041
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/8265959
diff --git a/target/linux/mediatek/patches-5.4/999-2152-sound-add-mt7986-si3218x-driver.patch b/target/linux/mediatek/patches-5.4/999-2152-sound-add-mt7986-si3218x-driver.patch
new file mode 100644
index 0000000..b05b709
--- /dev/null
+++ b/target/linux/mediatek/patches-5.4/999-2152-sound-add-mt7986-si3218x-driver.patch
@@ -0,0 +1,43 @@
+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
+