aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 16:32:15 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 16:32:15 +0000
commitb1be597a7aea2450093d0b386c7017775ea96e7a (patch)
tree77248ffd8cdff22560ad58980af47342f21eb54c /target
parent0b5d87fd30d3d8edd27cbcc9b7688b1f9d740b2e (diff)
downloadupstream-b1be597a7aea2450093d0b386c7017775ea96e7a.tar.gz
upstream-b1be597a7aea2450093d0b386c7017775ea96e7a.tar.bz2
upstream-b1be597a7aea2450093d0b386c7017775ea96e7a.zip
brcm2708: add kmod-sound-soc-raspidac3
This adds support for RaspiDAC Rev.3x Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46854
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm2708/modules.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index 03aa19b91e..68a7d38028 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -179,6 +179,29 @@ endef
$(eval $(call KernelPackage,sound-soc-iqaudio-dac))
+define KernelPackage/sound-soc-raspidac3
+ TITLE:=Support for RaspiDAC Rev.3x
+ KCONFIG:= \
+ CONFIG_SND_BCM2708_SOC_RASPIDAC3 \
+ CONFIG_SND_SOC_PCM512x \
+ CONFIG_SND_SOC_PCM512x_I2C \
+ CONFIG_SND_SOC_TPA6130A2
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/bcm/snd-soc-raspidac3.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-tpa6130a2.ko
+ AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c snd-soc-tpa6130a2 snd-soc-raspidac3)
+ DEPENDS:=kmod-sound-soc-bcm2708-i2s
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-raspidac3/description
+ This package contains support for RaspiDAC Rev.3x
+endef
+
+$(eval $(call KernelPackage,sound-soc-raspidac3))
+
define KernelPackage/random-bcm2708
SUBMENU:=$(OTHER_MENU)