aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-09-28 19:13:23 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-12-11 18:01:43 +0000
commitd61b4ecbf109c7f702cafc0307db6b35e92c46b4 (patch)
tree45c0c7ca01b7cb45a8a541fb870d88ba285cfed1 /package/kernel/linux
parent25ddc6e4372ab20c7d2fa45b98b4288bcad932ec (diff)
downloadupstream-d61b4ecbf109c7f702cafc0307db6b35e92c46b4.tar.gz
upstream-d61b4ecbf109c7f702cafc0307db6b35e92c46b4.tar.bz2
upstream-d61b4ecbf109c7f702cafc0307db6b35e92c46b4.zip
kernel: modules: package MT7986 audio drivers
Packages the audio drivers for the MediaTek MT7986 SoC used with Wolfson WM8960 codec. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/sound.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 62a31bfb11f..623f65ac59a 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -236,6 +236,40 @@ endef
$(eval $(call KernelPackage,sound-soc-imx))
+define KernelPackage/sound-soc-mt7986
+ TITLE:=MediaTek MT7986 Audio support
+ KCONFIG:=CONFIG_SND_SOC_MT7986 CONFIG_SND_SOC_MT7986_WM8960
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/mediatek/common/snd-soc-mtk-common.ko \
+ $(LINUX_DIR)/sound/soc/mediatek/mt7986/snd-soc-mt7986-afe.ko
+ AUTOLOAD:=$(call AutoLoad,56,snd-soc-mtk-common snd-soc-mt7986-afe)
+ DEPENDS:=@TARGET_mediatek_filogic +kmod-sound-soc-core
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-mt7986/description
+ Support for audio on systems using the MediaTek MT7986 SoC.
+endef
+
+$(eval $(call KernelPackage,sound-soc-mt7986))
+
+
+define KernelPackage/sound-soc-mt7986-wm8960
+ TITLE:=MediaTek MT7986 Audio support
+ KCONFIG:=CONFIG_SND_SOC_MT7986_WM8960
+ FILES:=$(LINUX_DIR)/sound/soc/mediatek/mt7986/mt7986-wm8960.ko
+ AUTOLOAD:=$(call AutoLoad,57,mt7986-wm8960)
+ DEPENDS:=@TARGET_mediatek_filogic +kmod-sound-soc-wm8960 +kmod-sound-soc-mt7986
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-mt7986-wm8960/description
+ Support for use of the Wolfson Audio WM8960 codec with the MediaTek MT7986 SoC.
+endef
+
+$(eval $(call KernelPackage,sound-soc-mt7986-wm8960))
+
+
define KernelPackage/sound-soc-imx-sgtl5000
TITLE:=IMX SoC support for SGTL5000
KCONFIG:=CONFIG_SND_SOC_IMX_SGTL5000