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: 481801 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 7C04C1401B5 for ; Mon, 8 Jun 2015 17:41:45 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbbFHHlo (ORCPT ); Mon, 8 Jun 2015 03:41:44 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:9978 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752141AbbFHHln (ORCPT ); Mon, 8 Jun 2015 03:41:43 -0400 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 CC: linux-arm-kernel@lists.infradead.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, gnurou@gmail.com, Alexandre Courbot 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 Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org 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 */