aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-12-11 00:24:40 +0000
committerDaniel Golle <daniel@makrotopia.org>2023-12-11 18:01:43 +0000
commit25ddc6e4372ab20c7d2fa45b98b4288bcad932ec (patch)
tree2cc00e8bdfb14f51b37313a687ad0d0909cd05c4 /package/kernel
parent4b82a20e770cbff76680f6cf4fa6de42961ada54 (diff)
downloadupstream-25ddc6e4372ab20c7d2fa45b98b4288bcad932ec.tar.gz
upstream-25ddc6e4372ab20c7d2fa45b98b4288bcad932ec.tar.bz2
upstream-25ddc6e4372ab20c7d2fa45b98b4288bcad932ec.zip
kernel: modules: break-out WM8960 codec module
Package codec module for WM8960 in its own package to be used by more than one target. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/sound.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index 2bfa146207a..62a31bfb11f 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -254,6 +254,18 @@ endef
$(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
+define KernelPackage/sound-soc-wm8960
+ TITLE:=SoC WM8960 codec support
+ KCONFIG:=CONFIG_SND_SOC_WM8960
+ FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8960.ko
+ DEPENDS:=+kmod-sound-soc-core +kmod-i2c-core +kmod-regmap-i2c
+ AUTOLOAD:=$(call AutoProbe,snd-soc-wm8960)
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-wm8960))
+
+
define KernelPackage/sound-soc-spdif
TITLE:=SoC S/PDIF codec support
KCONFIG:=CONFIG_SND_SOC_SPDIF