brcm2708: add kmod-sound-soc-allo-digione
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 6 Dec 2018 20:10:44 +0000 (22:10 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 18 Dec 2018 21:19:21 +0000 (23:19 +0200)
Add kernel module for Allo DigiOne support in kernel 4.14.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/brcm2708/modules.mk

index 7f52883f1516e80db26bbbdee2ba01cf55c90348..b44bfce531ff676ec22c99fb3c84afc56e85991f 100644 (file)
@@ -136,6 +136,32 @@ endef
 $(eval $(call KernelPackage,sound-soc-allo-boss-dac))
 
 
+define KernelPackage/sound-soc-allo-digione
+  TITLE:=Support for Allo Piano DigiOne
+  KCONFIG:= \
+       CONFIG_SND_BCM2708_SOC_ALLO_DIGIONE \
+       CONFIG_SND_SOC_PCM512x \
+       CONFIG_SND_SOC_PCM512x_I2C
+  FILES:= \
+       $(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-digione.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-digione)
+  DEPENDS:= \
+       @LINUX_4_14 \
+       +kmod-i2c-bcm2708 \
+       kmod-sound-soc-bcm2835-i2s
+  $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-allo-digione/description
+  This package contains support for Allo DigiOne
+endef
+
+$(eval $(call KernelPackage,sound-soc-allo-digione))
+
+
 define KernelPackage/sound-soc-allo-piano-dac
   TITLE:=Support for Allo Piano DAC
   KCONFIG:= \