Skip to content

Commit 8d0d488

Browse files
Maso Huangbroonie
authored andcommitted
ASoC: mediatek: mt7986: add platform driver
Add mt7986 platform driver. Signed-off-by: Maso Huang <maso.huang@mediatek.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230817101338.18782-4-maso.huang@mediatek.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 9f8df79 commit 8d0d488

4 files changed

Lines changed: 641 additions & 0 deletions

File tree

sound/soc/mediatek/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ config SND_SOC_MT6797_MT6351
5454
Select Y if you have such device.
5555
If unsure select "N".
5656

57+
config SND_SOC_MT7986
58+
tristate "ASoC support for Mediatek MT7986 chip"
59+
depends on ARCH_MEDIATEK
60+
select SND_SOC_MEDIATEK
61+
help
62+
This adds ASoC platform driver support for MediaTek MT7986 chip
63+
that can be used with other codecs.
64+
Select Y if you have such device.
65+
If unsure select "N".
66+
5767
config SND_SOC_MT8173
5868
tristate "ASoC support for Mediatek MT8173 chip"
5969
depends on ARCH_MEDIATEK

sound/soc/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
obj-$(CONFIG_SND_SOC_MEDIATEK) += common/
33
obj-$(CONFIG_SND_SOC_MT2701) += mt2701/
44
obj-$(CONFIG_SND_SOC_MT6797) += mt6797/
5+
obj-$(CONFIG_SND_SOC_MT7986) += mt7986/
56
obj-$(CONFIG_SND_SOC_MT8173) += mt8173/
67
obj-$(CONFIG_SND_SOC_MT8183) += mt8183/
78
obj-$(CONFIG_SND_SOC_MT8186) += mt8186/

sound/soc/mediatek/mt7986/Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SPDX-License-Identifier: GPL-2.0
2+
3+
# platform driver
4+
snd-soc-mt7986-afe-objs := \
5+
mt7986-afe-pcm.o \
6+
mt7986-dai-etdm.o
7+
8+
obj-$(CONFIG_SND_SOC_MT7986) += snd-soc-mt7986-afe.o

0 commit comments

Comments
 (0)