blob: 973f565b2d5d6490e9774f35281de8b607a2daf6 [file] [log] [blame]
developer9bd364c2022-05-09 14:49:27 +08001--- a/sound/soc/mediatek/Kconfig
2+++ b/sound/soc/mediatek/Kconfig
3@@ -53,6 +53,36 @@
4 Select Y if you have such device.
5 If unsure select "N".
6
7+config SND_SOC_MT79XX
8+ tristate "ASoC support for Mediatek MT79XX chip"
9+ depends on ARCH_MEDIATEK
10+ select SND_SOC_MEDIATEK
11+ help
12+ This adds ASoC platform driver support for Mediatek MT79XX chip
13+ that can be used with other codecs.
14+ Select Y if you have such device.
15+ If unsure select "N".
16+
17+config SND_SOC_MT79XX_WM8960
18+ tristate "ASoc Audio driver for MT79XX with WM8960 codec"
19+ depends on SND_SOC_MT79XX && I2C
20+ select SND_SOC_WM8960
21+ help
22+ This adds ASoC driver for Mediatek MT79XX boards
23+ with the WM8960 codecs.
24+ Select Y if you have such device.
25+ If unsure select "N".
26+
27+config SND_SOC_MT79XX_SI3218X
28+ tristate "ASoc Audio driver for MT79XX with SI3218X codec"
29+ depends on SND_SOC_MT79XX && SPI
30+ select SND_SOC_SI3218X_SPI
31+ help
32+ This adds ASoC driver for Mediatek MT79XX boards
33+ with the SI3218X codecs.
34+ Select Y if you have such device.
35+ If unsure select "N".
36+
37 config SND_SOC_MT8173
38 tristate "ASoC support for Mediatek MT8173 chip"
39 depends on ARCH_MEDIATEK
40--- a/sound/soc/mediatek/Makefile
41+++ b/sound/soc/mediatek/Makefile
42@@ -2,5 +2,6 @@
43 obj-$(CONFIG_SND_SOC_MEDIATEK) += common/
44 obj-$(CONFIG_SND_SOC_MT2701) += mt2701/
45 obj-$(CONFIG_SND_SOC_MT6797) += mt6797/
46+obj-$(CONFIG_SND_SOC_MT79XX) += mt79xx/
47 obj-$(CONFIG_SND_SOC_MT8173) += mt8173/
48 obj-$(CONFIG_SND_SOC_MT8183) += mt8183/