summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Richard2024-10-25 13:21:57 +0000
committerPetr Štetiar2024-11-28 18:48:38 +0000
commit2950e189cebda9c0521c84f86c06aaeb447affe2 (patch)
tree879618e090e82c98450a1d27984abef3e09960f8
parent956bb0c2a49e3178542ca5e917b0db55c9aff695 (diff)
downloadopenwrt-2950e189cebda9c0521c84f86c06aaeb447affe2.tar.gz
kernel: package snd-soc-dmic driver
It is needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/16716 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit e606366a2e018e0a3b25e3dd4b3a937bb53c70e1) Link: https://github.com/openwrt/openwrt/pull/17097 Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--package/kernel/linux/modules/sound.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 623f65ac59..f3e44e01ee 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -314,6 +314,17 @@ endef
$(eval $(call KernelPackage,sound-soc-spdif))
+define KernelPackage/sound-soc-dmic
+ TITLE:=Generic Digital Microphone CODEC
+ KCONFIG:=CONFIG_SND_SOC_DMIC
+ FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-dmic.ko
+ AUTOLOAD:=$(call AutoProbe,snd-soc-dmic)
+ $(call AddDepends/sound,+kmod-sound-soc-core)
+endef
+
+$(eval $(call KernelPackage,sound-soc-dmic))
+
+
define KernelPackage/pcspkr
DEPENDS:=@TARGET_x86 +kmod-input-core
TITLE:=PC speaker support