From 8848694114cbf5d23e012bc4f9b6f768b3b51298 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Thu, 6 Dec 2018 22:52:10 +0200 Subject: [PATCH] brcm2708: add kmod-sound-soc-googlevoicehat Add kernel module for Google Voice HAT support in kernel 4.14. Signed-off-by: Stijn Tintel --- target/linux/brcm2708/modules.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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:= \