aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/modules.mk
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2018-12-06 21:41:30 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2018-12-18 23:19:21 +0200
commit51ea0f508ddc97f6411860e72bbc47eabc8a8e03 (patch)
tree364bad9dd647e9a3b8929dd21bb06b6f2aae3cb9 /target/linux/brcm2708/modules.mk
parenta51db537920eb1c66a2cdcb7bdba629f80531e3b (diff)
downloadupstream-51ea0f508ddc97f6411860e72bbc47eabc8a8e03.tar.gz
upstream-51ea0f508ddc97f6411860e72bbc47eabc8a8e03.tar.bz2
upstream-51ea0f508ddc97f6411860e72bbc47eabc8a8e03.zip
brcm2708: add kmod-sound-soc-allo-boss-dac
Add kernel module for Allo Boss DAC support in kernel 4.14. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Diffstat (limited to 'target/linux/brcm2708/modules.mk')
-rw-r--r--target/linux/brcm2708/modules.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index 66aa7341c2..7f52883f15 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -109,6 +109,33 @@ endef
$(eval $(call KernelPackage,sound-soc-adau1977-adc))
+
+define KernelPackage/sound-soc-allo-boss-dac
+ TITLE:=Support for Allo Boss DAC
+ KCONFIG:= \
+ CONFIG_SND_BCM2708_SOC_ALLO_BOSS_DAC \
+ CONFIG_SND_SOC_PCM512x \
+ CONFIG_SND_SOC_PCM512x_I2C
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-boss-dac.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
+ AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
+ snd-soc-allo-boss-dac)
+ DEPENDS:= \
+ @LINUX_4_14 \
+ +kmod-i2c-bcm2708 \
+ kmod-sound-soc-bcm2835-i2s
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-allo-boss-dac/description
+ This package contains support for Allo Boss DAC
+endef
+
+$(eval $(call KernelPackage,sound-soc-allo-boss-dac))
+
+
define KernelPackage/sound-soc-allo-piano-dac
TITLE:=Support for Allo Piano DAC
KCONFIG:= \