From patchwork Thu Jan 15 16:12:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomeu Vizoso X-Patchwork-Id: 5641571 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 20107C058D for ; Thu, 15 Jan 2015 16:19:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 45A02201C0 for ; Thu, 15 Jan 2015 16:19:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7D964200F3 for ; Thu, 15 Jan 2015 16:19:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YBn6d-0000ED-Sj; Thu, 15 Jan 2015 16:17:11 +0000 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YBn4u-0006Th-8j for linux-arm-kernel@lists.infradead.org; Thu, 15 Jan 2015 16:15:25 +0000 Received: by mail-wi0-f182.google.com with SMTP id h11so18838838wiw.3 for ; Thu, 15 Jan 2015 08:15:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ujanUNqPv9STa+g+HV+PG+ENgO9EdWMARnx4wiAoXk4=; b=BcROOPyYnX1UnB0eC5FlL1RY/IPKu2RdJSORVwRjCwICbq1HFygBTVylI0q7wmxySq FC1dO2vF3etvSncf1cQaS4i7ZlSlKlj2DdSPA8nDiRD7wt7yCZo3gRNBiwSBps3DeS4e KD7ZKHE0hgGeT1sZ1wNuoAML23XikwnKxVMyYmKVOa6FhKazF4oICkbqokuXEM3WQhII Wg3kQ400JiBw2/0i7hVYnY39piksP+yAlLEKRVVSqpec/OEaXg4xaxRrlzl4VBd2HUkA Bzil2bKEE4Cyko7GzY53es91adWhbTl2gjoY7ydgCVeI6mZ3qsL7oBnypQsz1SxvP17O XlZQ== X-Received: by 10.180.100.40 with SMTP id ev8mr15036697wib.22.1421338501783; Thu, 15 Jan 2015 08:15:01 -0800 (PST) Received: from cizrna.lan (37-48-32-126.tmcz.cz. [37.48.32.126]) by mx.google.com with ESMTPSA id ej10sm8065695wib.2.2015.01.15.08.14.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Jan 2015 08:15:00 -0800 (PST) From: Tomeu Vizoso To: linux-tegra@vger.kernel.org Subject: [PATCH v2 09/11] ARM: tegra: Use pwrseq-simple for the wifi in Nyan Date: Thu, 15 Jan 2015 17:12:21 +0100 Message-Id: <1421338359-27467-10-git-send-email-tomeu.vizoso@collabora.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1421338359-27467-1-git-send-email-tomeu.vizoso@collabora.com> References: <1421338359-27467-1-git-send-email-tomeu.vizoso@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150115_081524_494784_7F6B9E19 X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -0.6 (/) Cc: Mark Rutland , Alexandre Courbot , Ulf Hansson , Russell King , Pawel Moll , Tomeu Vizoso , Ian Campbell , Simon Glass , Stephen Warren , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Thierry Reding , Kumar Gala , Dylan Reid , Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The Nyan boards have a Marvell 88w8897 wifi card connected through SDIO that need the reset line to be hold active for several milliseconds. Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124-nyan.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi index 25bbcbe..dbaf261f 100644 --- a/arch/arm/boot/dts/tegra124-nyan.dtsi +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi @@ -365,11 +365,19 @@ status = "okay"; }; + sdhci0_pwrseq: sdhci0_pwrseq { + compatible = "mmc,pwrseq-simple"; + + reset-gpios = <&gpio TEGRA_GPIO(X, 7) GPIO_ACTIVE_LOW>; + delay = <20>; /* ms */ + }; + sdhci@0,700b0000 { /* WiFi/BT on this bus */ status = "okay"; bus-width = <4>; no-1-8-v; non-removable; + mmc-pwrseq = <&sdhci0_pwrseq>; }; sdhci@0,700b0400 { /* SD Card on this bus */