[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1433749292-13890-1-git-send-email-acourbot@nvidia.com>
Date: Mon, 8 Jun 2015 16:41:32 +0900
From: Alexandre Courbot <acourbot@...dia.com>
To: Thierry Reding <thierry.reding@...il.com>,
Stephen Warren <swarren@...dotorg.org>
CC: linux-arm-kernel@...ts.infradead.org, linux-tegra@...r.kernel.org,
linux-kernel@...r.kernel.org, gnurou@...il.com,
Alexandre Courbot <acourbot@...dia.com>
Subject: [PATCH] ARM: tegra: roth: Add MMC pwrseq to power wifi on
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 <acourbot@...dia.com>
---
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@...00000 {
status = "okay";
@@ -979,6 +984,7 @@
broken-cd;
keep-power-in-suspend;
cap-sdio-irq;
+ mmc-pwrseq = <&sdhci0_pwrseq>;
};
/* SD card */
--
2.4.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists