From 9fd92c1bc2f78e8d090269f1e61a25dab483bd95 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 6 Dec 2018 22:16:12 +0200 Subject: brcm2708: add kmod-sound-soc-allo-piano-dac-plus Add kernel module for the Allo Piano DAC Plus in kernel 4.14. Signed-off-by: Stijn Tintel --- target/linux/brcm2708/modules.mk | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'target/linux/brcm2708') diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index b44bfce531..de870c8fa2 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -186,6 +186,33 @@ endef $(eval $(call KernelPackage,sound-soc-allo-piano-dac)) + +define KernelPackage/sound-soc-allo-piano-dac-plus + TITLE:=Support for Allo Piano DAC Plus + KCONFIG:= \ + CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC_PLUS \ + CONFIG_SND_SOC_PCM512x \ + CONFIG_SND_SOC_PCM512x_I2C + FILES:= \ + $(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-piano-dac-plus.ko \ + $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \ + $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko + AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \ + snd-soc-allo-piano-dac-plus) + DEPENDS:= \ + @LINUX_4_14 \ + +kmod-i2c-bcm2708 \ + kmod-sound-soc-bcm2835-i2s + $(call AddDepends/sound) +endef + +define KernelPackage/sound-soc-allo-piano-dac-plus/description + This package contains support for Allo Piano DAC Plus +endef + +$(eval $(call KernelPackage,sound-soc-allo-piano-dac-plus)) + + define KernelPackage/sound-soc-audioinjector-pi-soundcard TITLE:=Support for AudioInjector Pi soundcard KCONFIG:= \ -- cgit v1.2.3