From patchwork Mon Oct 5 20:36:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 526539 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 84AEA140082 for ; Tue, 6 Oct 2015 07:36:10 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=l6CzkFao; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 9AA08289E92; Mon, 5 Oct 2015 22:34:39 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 65FAE289D10 for ; Mon, 5 Oct 2015 22:34:34 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Mon, 5 Oct 2015 22:34:33 +0200 (CEST) Received: by wiclk2 with SMTP id lk2so131560824wic.1 for ; Mon, 05 Oct 2015 13:35:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=DXQXGwqmJ2R1SeXH+EHv65uVnze7jdXksBqOJyc/MMU=; b=l6CzkFaoFb8CWXglFne8iUtT1WnIvHx+ewsfikg2WB+DgW3X8wUSFPwxXvfn4fbI1r ZKmQPwh0ImJSbSbV8UfcK8VlRUrT5dtkDfYCpvkXiborm5n+XWBqaGxNDwQJKep1vkAn 4/3u8xa3hL4u+QQO8gtne3/mVVBSoRVGzjxoefgkeU522FUTghIpprTiZewEM5dbND/j +r+CYuMMm8EMvmOBYEqu+tzWiiR+w7LocA6EVUFCR2n9Xzc21h3en7ugDS53pwy8QqIj Mc50gjvRJxWQUB+dP3HZSNZj2WcsJBOGSBzA3UjOREAIdSvnDRP3R6qvtuxHujp5pjcQ 01tQ== X-Received: by 10.194.2.243 with SMTP id 19mr31234983wjx.140.1444077359538; Mon, 05 Oct 2015 13:35:59 -0700 (PDT) Received: from skynet.lan (224.Red-79-147-60.dynamicIP.rima-tde.net. [79.147.60.224]) by smtp.gmail.com with ESMTPSA id kb9sm28745835wjb.49.2015.10.05.13.35.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Oct 2015 13:35:58 -0700 (PDT) From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= To: openwrt-devel@lists.openwrt.org, blogic@openwrt.org Date: Mon, 5 Oct 2015 22:36:09 +0200 Message-Id: <1444077369-5594-1-git-send-email-noltari@gmail.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [OpenWrt-Devel] [PATCH] brcm2708: all sound overlays require i2c to work X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Tested on RPi B+ with HiFiBerry Amp+ Signed-off-by: Álvaro Fernández Rojas --- target/linux/brcm2708/modules.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk index 9c201d0..36d26c6 100644 --- a/target/linux/brcm2708/modules.mk +++ b/target/linux/brcm2708/modules.mk @@ -55,7 +55,7 @@ define KernelPackage/sound-soc-hifiberry-dac $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dac.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-hifiberry-dac) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -74,7 +74,7 @@ define KernelPackage/sound-soc-hifiberry-dacplus $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-hifiberry-dacplus) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -93,7 +93,7 @@ define KernelPackage/sound-soc-hifiberry-digi $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-digi.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-hifiberry-digi) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -112,7 +112,7 @@ define KernelPackage/sound-soc-hifiberry-amp $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-amp.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-tas5713.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -131,7 +131,7 @@ define KernelPackage/sound-soc-rpi-dac $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-dac.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm1794a.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a snd-soc-rpi-dac) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -150,7 +150,7 @@ define KernelPackage/sound-soc-rpi-proto $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-proto.ko \ $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -171,7 +171,7 @@ define KernelPackage/sound-soc-iqaudio-dac $(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 snd-soc-pcm512x-i2c snd-soc-iqaudio-dac) - DEPENDS:=kmod-sound-soc-bcm2708-i2s + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef @@ -194,7 +194,7 @@ define KernelPackage/sound-soc-raspidac3 $(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 + DEPENDS:=kmod-sound-soc-bcm2708-i2s +kmod-i2c-bcm2708 $(call AddDepends/sound) endef