brcm2708: add kmod-sound-soc-audioinjector-octo-soundcard
authorStijn Tintel <stijn@linux-ipv6.be>
Thu, 6 Dec 2018 20:35:53 +0000 (22:35 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Tue, 18 Dec 2018 21:19:21 +0000 (23:19 +0200)
Add kernel module for AudioInjector Octo surround sound card support in
kernel 4.14.

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

index 2624dc18aa0828b0d2eec3009565dfbb64632cc2..dbeaa21f26f27b7b27af413a35ce8eea9e4c7919 100644 (file)
@@ -242,6 +242,32 @@ endef
 $(eval $(call KernelPackage,sound-soc-allo-katana-codec))
 
 
+define KernelPackage/sound-soc-audioinjector-octo-soundcard
+  TITLE:=Support for AudioInjector Octo soundcard
+  KCONFIG:= \
+       CONFIG_SND_AUDIOINJECTOR_OCTO_SOUNDCARD \
+       CONFIG_SND_SOC_CS42XX8 \
+       CONFIG_SND_SOC_CS42XX8_I2C
+  FILES:= \
+       $(LINUX_DIR)/sound/soc/bcm/snd-soc-audioinjector-octo-soundcard.ko \
+       $(LINUX_DIR)/sound/soc/codecs/snd-soc-cs42xx8.ko \
+       $(LINUX_DIR)/sound/soc/codecs/snd-soc-cs42xx8-i2c.ko
+  AUTOLOAD:=$(call AutoLoad,68,snd-soc- \
+       snd-soc-audioinjector-octo-soundcard)
+  DEPENDS:= \
+       @LINUX_4_14 \
+       +kmod-i2c-bcm2708 \
+       kmod-sound-soc-bcm2835-i2s
+  $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-audioinjector-octo-soundcard/description
+  This package contains support for AudioInjector Octo soundcard
+endef
+
+$(eval $(call KernelPackage,sound-soc-audioinjector-octo-soundcard))
+
+
 define KernelPackage/sound-soc-audioinjector-pi-soundcard
   TITLE:=Support for AudioInjector Pi soundcard
   KCONFIG:= \