Skip to content

Commit 6746cc8

Browse files
wenliangwubroonie
authored andcommitted
ASoC: mediatek: mt8195: add platform driver
This patch adds mt8195 platform and affiliated driver. Signed-off-by: Trevor Wu <[email protected]> Reported-by: kernel test robot <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 1f95c01 commit 6746cc8

File tree

8 files changed

+6807
-0
lines changed

8 files changed

+6807
-0
lines changed

sound/soc/mediatek/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,12 @@ config SND_SOC_MT8192_MT6359_RT1015_RT5682
184184
with the MT6359 RT1015 RT5682 audio codec.
185185
Select Y if you have such device.
186186
If unsure select "N".
187+
188+
config SND_SOC_MT8195
189+
tristate "ASoC support for Mediatek MT8195 chip"
190+
select SND_SOC_MEDIATEK
191+
help
192+
This adds ASoC platform driver support for Mediatek MT8195 chip
193+
that can be used with other codecs.
194+
Select Y if you have such device.
195+
If unsure select "N".

sound/soc/mediatek/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ obj-$(CONFIG_SND_SOC_MT6797) += mt6797/
55
obj-$(CONFIG_SND_SOC_MT8173) += mt8173/
66
obj-$(CONFIG_SND_SOC_MT8183) += mt8183/
77
obj-$(CONFIG_SND_SOC_MT8192) += mt8192/
8+
obj-$(CONFIG_SND_SOC_MT8195) += mt8195/

sound/soc/mediatek/mt8195/Makefile

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

0 commit comments

Comments
 (0)