diff options
author | Stijn Tintel <stijn@linux-ipv6.be> | 2018-12-06 22:52:10 +0200 |
---|---|---|
committer | Stijn Tintel <stijn@linux-ipv6.be> | 2018-12-18 23:19:21 +0200 |
commit | 8848694114cbf5d23e012bc4f9b6f768b3b51298 (patch) | |
tree | de4e4d741a3f3cdfc956d2bc61375f334b1ad396 /target | |
parent | 6fc4d3350a9f31555d745fa608cd612972922a25 (diff) | |
download | upstream-8848694114cbf5d23e012bc4f9b6f768b3b51298.tar.gz upstream-8848694114cbf5d23e012bc4f9b6f768b3b51298.tar.bz2 upstream-8848694114cbf5d23e012bc4f9b6f768b3b51298.zip |
brcm2708: add kmod-sound-soc-googlevoicehat
Add kernel module for Google Voice HAT support in kernel 4.14.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/brcm2708/modules.mk | 24 |
1 files changed, 24 insertions, 0 deletions
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:= \ |