From: Álvaro Fernández Rojas Date: Thu, 19 Sep 2019 16:06:50 +0000 (+0200) Subject: brcm2708: add support for Hifiberry DAC+DSP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce536aeb3958dd305f4156f5ed55fd02f2e49736;p=openwrt%2Fstaging%2Fansuel.git brcm2708: add support for Hifiberry DAC+DSP Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/brcm2708/modules/sound.mk b/target/linux/brcm2708/modules/sound.mk index e70af01c46..732f9d32aa 100644 --- a/target/linux/brcm2708/modules/sound.mk +++ b/target/linux/brcm2708/modules/sound.mk @@ -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:= \