blob: 41eb05e5d73b21c4c956eb5ab8fa8d28ac8e3392 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 593cfdef7ef160c49db5c7ae315cb963f32a947a Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:06:08 +0800
4Subject: [PATCH] [slow-speed-io][999-2152-sound-add-mt7986-driver.patch]
5
6---
7 sound/soc/mediatek/Kconfig | 30 ++++++++++++++++++++++++++++++
8 sound/soc/mediatek/Makefile | 1 +
9 2 files changed, 31 insertions(+)
10
11diff --git a/sound/soc/mediatek/Kconfig b/sound/soc/mediatek/Kconfig
12index 111e44b64..25e392428 100644
developer9bd364c2022-05-09 14:49:27 +080013--- a/sound/soc/mediatek/Kconfig
14+++ b/sound/soc/mediatek/Kconfig
developer5d148cb2023-06-02 13:08:11 +080015@@ -53,6 +53,36 @@ config SND_SOC_MT6797_MT6351
developer9bd364c2022-05-09 14:49:27 +080016 Select Y if you have such device.
17 If unsure select "N".
18
19+config SND_SOC_MT79XX
20+ tristate "ASoC support for Mediatek MT79XX chip"
21+ depends on ARCH_MEDIATEK
22+ select SND_SOC_MEDIATEK
23+ help
24+ This adds ASoC platform driver support for Mediatek MT79XX chip
25+ that can be used with other codecs.
26+ Select Y if you have such device.
27+ If unsure select "N".
28+
29+config SND_SOC_MT79XX_WM8960
30+ tristate "ASoc Audio driver for MT79XX with WM8960 codec"
31+ depends on SND_SOC_MT79XX && I2C
32+ select SND_SOC_WM8960
33+ help
34+ This adds ASoC driver for Mediatek MT79XX boards
35+ with the WM8960 codecs.
36+ Select Y if you have such device.
37+ If unsure select "N".
38+
39+config SND_SOC_MT79XX_SI3218X
40+ tristate "ASoc Audio driver for MT79XX with SI3218X codec"
41+ depends on SND_SOC_MT79XX && SPI
42+ select SND_SOC_SI3218X_SPI
43+ help
44+ This adds ASoC driver for Mediatek MT79XX boards
45+ with the SI3218X codecs.
46+ Select Y if you have such device.
47+ If unsure select "N".
48+
49 config SND_SOC_MT8173
50 tristate "ASoC support for Mediatek MT8173 chip"
51 depends on ARCH_MEDIATEK
developer5d148cb2023-06-02 13:08:11 +080052diff --git a/sound/soc/mediatek/Makefile b/sound/soc/mediatek/Makefile
53index 76032cae6..9690326b2 100644
developer9bd364c2022-05-09 14:49:27 +080054--- a/sound/soc/mediatek/Makefile
55+++ b/sound/soc/mediatek/Makefile
56@@ -2,5 +2,6 @@
57 obj-$(CONFIG_SND_SOC_MEDIATEK) += common/
58 obj-$(CONFIG_SND_SOC_MT2701) += mt2701/
59 obj-$(CONFIG_SND_SOC_MT6797) += mt6797/
60+obj-$(CONFIG_SND_SOC_MT79XX) += mt79xx/
61 obj-$(CONFIG_SND_SOC_MT8173) += mt8173/
62 obj-$(CONFIG_SND_SOC_MT8183) += mt8183/
developer5d148cb2023-06-02 13:08:11 +080063--
642.34.1
65