From ce536aeb3958dd305f4156f5ed55fd02f2e49736 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 19 Sep 2019 18:06:50 +0200 Subject: [PATCH] brcm2708: add support for Hifiberry DAC+DSP MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/modules/sound.mk | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/target/linux/brcm2708/modules/sound.mk b/target/linux/brcm2708/modules/sound.mk index e70af01c46e5..732f9d32aa7d 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:= \ -- 2.30.2