From patchwork Mon Jun 8 07:41:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 6563231 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D09029F3D1 for ; Mon, 8 Jun 2015 07:44:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1469B204F6 for ; Mon, 8 Jun 2015 07:44:15 +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 37B7C204EB for ; Mon, 8 Jun 2015 07:44:14 +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 1Z1rhC-0007PD-GA; Mon, 08 Jun 2015 07:42:10 +0000 Received: from hqemgate16.nvidia.com ([216.228.121.65]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z1rh6-0007Np-9H for linux-arm-kernel@lists.infradead.org; Mon, 08 Jun 2015 07:42:07 +0000 Received: from hqnvupgp08.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com id ; Mon, 08 Jun 2015 00:42:14 -0700 Received: from hqemhub03.nvidia.com ([172.20.12.94]) by hqnvupgp08.nvidia.com (PGP Universal service); Mon, 08 Jun 2015 00:37:40 -0700 X-PGP-Universal: processed; by hqnvupgp08.nvidia.com on Mon, 08 Jun 2015 00:37:40 -0700 Received: from percival.nvidia.com (172.20.144.16) by hqemhub03.nvidia.com (172.20.150.15) with Microsoft SMTP Server (TLS) id 8.3.342.0; Mon, 8 Jun 2015 00:41:42 -0700 From: Alexandre Courbot To: Thierry Reding , Stephen Warren Subject: [PATCH] ARM: tegra: roth: Add MMC pwrseq to power wifi on Date: Mon, 8 Jun 2015 16:41:32 +0900 Message-ID: <1433749292-13890-1-git-send-email-acourbot@nvidia.com> X-Mailer: git-send-email 2.4.2 X-NVConfidentiality: public MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150608_004204_337738_0520079A X-CRM114-Status: GOOD ( 10.31 ) X-Spam-Score: -5.0 (-----) Cc: linux-tegra@vger.kernel.org, gnurou@gmail.com, Alexandre Courbot , linux-kernel@vger.kernel.org, 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: , 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 wifi chip on roth needs to have its reset deasserted in order to be probed. Add a mmc-pwrseq-simple to allow this to happen and get wifi working at boot time. Signed-off-by: Alexandre Courbot Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/tegra114-roth.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/tegra114-roth.dts b/arch/arm/boot/dts/tegra114-roth.dts index ea1772a686c2..04762532a178 100644 --- a/arch/arm/boot/dts/tegra114-roth.dts +++ b/arch/arm/boot/dts/tegra114-roth.dts @@ -972,6 +972,11 @@ nvidia,invert-interrupt; }; + sdhci0_pwrseq: sdhci0_pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_LOW>; + }; + /* Wifi */ sdhci@78000000 { status = "okay"; @@ -979,6 +984,7 @@ broken-cd; keep-power-in-suspend; cap-sdio-irq; + mmc-pwrseq = <&sdhci0_pwrseq>; }; /* SD card */