aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/modules.mk
diff options
context:
space:
mode:
authorStijn Tintel <stijn@linux-ipv6.be>2018-12-06 22:26:04 +0200
committerStijn Tintel <stijn@linux-ipv6.be>2018-12-18 23:19:21 +0200
commit7143bab519a885ee512cd66347edb2bc566a7195 (patch)
tree48ff672d41f6c95d561b3433131270e7090ae1e4 /target/linux/brcm2708/modules.mk
parent9fd92c1bc2f78e8d090269f1e61a25dab483bd95 (diff)
downloadupstream-7143bab519a885ee512cd66347edb2bc566a7195.tar.gz
upstream-7143bab519a885ee512cd66347edb2bc566a7195.tar.bz2
upstream-7143bab519a885ee512cd66347edb2bc566a7195.zip
brcm2708: add kmod-sound-soc-allo-katana-codec
Add kernel module for Allo Katana 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.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index de870c8fa2..2624dc18aa 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -213,6 +213,35 @@ endef
$(eval $(call KernelPackage,sound-soc-allo-piano-dac-plus))
+define KernelPackage/sound-soc-allo-katana-codec
+ TITLE:=Support for Allo Katana DAC
+ KCONFIG:= \
+ CONFIG_SND_AUDIO_GRAPH_CARD \
+ CONFIG_SND_BCM2708_SOC_ALLO_KATANA_DAC \
+ CONFIG_SND_SOC_PCM512x \
+ CONFIG_SND_SOC_PCM512x_I2C \
+ CONFIG_SND_SIMPLE_CARD_UTILS
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-katana-codec.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-katana-codec)
+ DEPENDS:= \
+ @LINUX_4_14 \
+ +kmod-i2c-bcm2708 \
+ +kmod-regmap \
+ kmod-sound-soc-bcm2835-i2s
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-allo-katana-codec/description
+ This package contains support for Allo Katana DAC
+endef
+
+$(eval $(call KernelPackage,sound-soc-allo-katana-codec))
+
+
define KernelPackage/sound-soc-audioinjector-pi-soundcard
TITLE:=Support for AudioInjector Pi soundcard
KCONFIG:= \