ASoC: mediatek: mt8189: add platform driver

Add mt8189 platform driver.

Signed-off-by: Cyril Chao <Cyril.Chao@mediatek.com>
Link: https://patch.msgid.link/20251031073216.8662-9-Cyril.Chao@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Cyril Chao
2025-10-31 15:32:02 +08:00
committed by Mark Brown
parent 22e9bd51e5
commit 7eb1535855
4 changed files with 2643 additions and 0 deletions

View File

@@ -246,6 +246,16 @@ config SND_SOC_MT8188_MT6359
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT8189
tristate "ASoC support for Mediatek MT8189 chip"
depends on ARCH_MEDIATEK
select SND_SOC_MEDIATEK
help
This adds ASoC driver for Mediatek MT8189 boards
that can be used with other codecs.
Select Y if you have such device.
If unsure select "N".
config SND_SOC_MT8192
tristate "ASoC support for Mediatek MT8192 chip"
depends on ARCH_MEDIATEK

View File

@@ -10,3 +10,4 @@ obj-$(CONFIG_SND_SOC_MT8188) += mt8188/
obj-$(CONFIG_SND_SOC_MT8192) += mt8192/
obj-$(CONFIG_SND_SOC_MT8195) += mt8195/
obj-$(CONFIG_SND_SOC_MT8365) += mt8365/
obj-$(CONFIG_SND_SOC_MT8189) += mt8189/

View File

@@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
# common include path
subdir-ccflags-y += -I$(srctree)/sound/soc/mediatek/common
# platform driver
snd-soc-mt8189-afe-objs += \
mt8189-afe-pcm.o \
mt8189-afe-clk.o \
mt8189-dai-adda.o \
mt8189-dai-i2s.o \
mt8189-dai-pcm.o \
mt8189-dai-tdm.o
obj-$(CONFIG_SND_SOC_MT8189) += snd-soc-mt8189-afe.o

File diff suppressed because it is too large Load Diff