From: Stijn Tintel Date: Thu, 6 Dec 2018 20:52:10 +0000 (+0200) Subject: brcm2708: add kmod-sound-soc-googlevoicehat X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8848694114cbf5d23e012bc4f9b6f768b3b51298;p=openwrt%2Fstaging%2Fansuel.git brcm2708: add kmod-sound-soc-googlevoicehat Add kernel module for Google Voice HAT 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 dbeaa21f26..c460fba4b7 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -382,6 +382,30 @@ endef $(eval $(call KernelPackage,sound-soc-fe-pi)) + +define KernelPackage/sound-soc-googlevoicehat + TITLE:=Support for Google VoiceHAT Sound Card + KCONFIG:= \ + CONFIG_SND_BCM2708_SOC_GOOGLEVOICEHAT_SOUNDCARD \ + CONFIG_SND_SOC_VOICEHAT + FILES:= \ + $(LINUX_DIR)/sound/soc/bcm/snd-soc-googlevoicehat-codec.ko \ + $(LINUX_DIR)/sound/soc/bcm/snd-soc-googlevoicehat-soundcard.ko + AUTOLOAD:=$(call AutoLoad,68,snd-soc-googlevoicehat-codec \ + snd-soc-googlevoicehat-soundcard) + DEPENDS:= \ + @LINUX_4_14 \ + kmod-sound-soc-bcm2835-i2s + $(call AddDepends/sound) +endef + +define KernelPackage/sound-soc-googlevoicehat/description + This package contains support for Google VoiceHAT Sound Card +endef + +$(eval $(call KernelPackage,sound-soc-googlevoicehat)) + + define KernelPackage/sound-soc-hifiberry-dac TITLE:=Support for HifiBerry DAC KCONFIG:= \