brcm2708: add support for Hifiberry DAC+DSP
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 19 Sep 2019 16:06:50 +0000 (18:06 +0200)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Thu, 19 Sep 2019 16:06:50 +0000 (18:06 +0200)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
target/linux/brcm2708/modules/sound.mk

index e70af01c46e563dcb3db00d5254c82d3ab236b8e..732f9d32aa7d3a32bb02a5ba8d17cac5646aab08 100644 (file)
@@ -512,6 +512,26 @@ endef
 $(eval $(call KernelPackage,sound-soc-hifiberry-dacplusadc))
 
 
+define KernelPackage/sound-soc-hifiberry-dacplusdsp
+  TITLE:=Support for HifiBerry DAC+DSP
+  KCONFIG:= \
+    CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUSDSP
+  FILES:= \
+    $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplusdsp.ko \
+  AUTOLOAD:=$(call AutoLoad,68,snd-soc-hifiberry-dacplusdsp)
+  DEPENDS:= \
+    kmod-sound-soc-bcm2835-i2s \
+    +kmod-sound-soc-rpi-simple-soundcard
+  $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-hifiberry-dacplusdsp/description
+  This package contains support for HifiBerry DAC+DSP
+endef
+
+$(eval $(call KernelPackage,sound-soc-hifiberry-dacplusdsp))
+
+
 define KernelPackage/sound-soc-hifiberry-dacplusadc-pro
   TITLE:=Support for HifiBerry DAC+ADC PRO
   KCONFIG:= \