mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 10:31:33 -04:00
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:
@@ -246,6 +246,16 @@ config SND_SOC_MT8188_MT6359
|
|||||||
Select Y if you have such device.
|
Select Y if you have such device.
|
||||||
If unsure select "N".
|
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
|
config SND_SOC_MT8192
|
||||||
tristate "ASoC support for Mediatek MT8192 chip"
|
tristate "ASoC support for Mediatek MT8192 chip"
|
||||||
depends on ARCH_MEDIATEK
|
depends on ARCH_MEDIATEK
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ obj-$(CONFIG_SND_SOC_MT8188) += mt8188/
|
|||||||
obj-$(CONFIG_SND_SOC_MT8192) += mt8192/
|
obj-$(CONFIG_SND_SOC_MT8192) += mt8192/
|
||||||
obj-$(CONFIG_SND_SOC_MT8195) += mt8195/
|
obj-$(CONFIG_SND_SOC_MT8195) += mt8195/
|
||||||
obj-$(CONFIG_SND_SOC_MT8365) += mt8365/
|
obj-$(CONFIG_SND_SOC_MT8365) += mt8365/
|
||||||
|
obj-$(CONFIG_SND_SOC_MT8189) += mt8189/
|
||||||
|
|||||||
15
sound/soc/mediatek/mt8189/Makefile
Normal file
15
sound/soc/mediatek/mt8189/Makefile
Normal 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
|
||||||
2617
sound/soc/mediatek/mt8189/mt8189-afe-pcm.c
Normal file
2617
sound/soc/mediatek/mt8189/mt8189-afe-pcm.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user