blob: b05b709459392f7188dcad6016e3ebb64b92ef66 [file] [log] [blame]
developere9a35bf2023-11-16 15:15:12 +08001From f0f7fed920e63ce231c4ded63098a3abdf4b5b28 Mon Sep 17 00:00:00 2001
2From: Maso Huang <maso.huang@mediatek.com>
3Date: Thu, 16 Nov 2023 15:11:30 +0800
4Subject: [PATCH] sound add mt7986 si3218x driver
5
6---
7 sound/soc/mediatek/Kconfig | 10 ++++++++++
8 sound/soc/mediatek/mt7986/Makefile | 1 +
9 2 files changed, 11 insertions(+)
10
11diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
12index 99d36c4..e28b5a6 100644
13--- a/sound/soc/mediatek/Kconfig
14+++ b/sound/soc/mediatek/Kconfig
15@@ -73,6 +73,16 @@ config SND_SOC_MT7986_WM8960
16 Select Y if you have such device.
17 If unsure select "N".
18
19+config SND_SOC_MT7986_SI3218X
20+ tristate "ASoc Audio driver for MT7986 with SI3218X codec"
21+ depends on SND_SOC_MT7986 && SPI
22+ select SND_SOC_SI3218X_SPI
23+ help
24+ This adds support for ASoC machine driver for MediaTek MT7986
25+ boards with the SI3218X codecs.
26+ Select Y if you have such device.
27+ If unsure select "N".
28+
29 config SND_SOC_MT8173
30 tristate "ASoC support for Mediatek MT8173 chip"
31 depends on ARCH_MEDIATEK
32diff --git a/sound/soc/mediatek/mt7986/Makefile b/sound/soc/mediatek/mt7986/Makefile
33index fc4c825..22d2571 100644
34--- a/sound/soc/mediatek/mt7986/Makefile
35+++ b/sound/soc/mediatek/mt7986/Makefile
36@@ -7,3 +7,4 @@ snd-soc-mt7986-afe-objs := \
37
38 obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o
39 obj-$(CONFIG_SND_SOC_MT7986_WM8960) += mt7986-wm8960.o
40+obj-$(CONFIG_SND_SOC_MT7986_SI3218X) += mt7986-si3218x.o
41--
422.18.0
43