From: Stijn Tintel Date: Thu, 6 Dec 2018 20:35:53 +0000 (+0200) Subject: brcm2708: add kmod-sound-soc-audioinjector-octo-soundcard X-Git-Tag: v19.07.0-rc1~1814 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6fc4d3350a9f31555d745fa608cd612972922a25;p=openwrt%2Fopenwrt.git brcm2708: add kmod-sound-soc-audioinjector-octo-soundcard Add kernel module for AudioInjector Octo surround sound card support in kernel 4.14. Signed-off-by: Stijn Tintel --- diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 2624dc18aa..dbeaa21f26 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -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:= \