Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1402560

[PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling

From Marek Belisko <marek@goldelico.com>
Newsgroups linux.kernel
Subject [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling
Date 2016-05-17 21:50 +0200
Message-ID <rzTaa-mb-31@gated-at.bofh.it> (permalink)
References <rzTaa-mb-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: "H. Nikolaus Schaller" <hns@goldelico.com>

Without that change wifi card isn't probed because pwrseq is necessary for
libertas chip.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-gta04.dtsi | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 55b6b88..6349257 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -155,6 +155,11 @@
 			};
 		};
 	};
+
+	wifi_pwrseq: wifi_pwrseq {
+		compatible = "mmc-pwrseq-simple";
+		reset-gpios = <&tca6507 0 GPIO_ACTIVE_LOW>;	/* W2CBW003 reset through tca6507 */
+	};
 };
 
 &omap3_pmx_core {
@@ -354,8 +359,8 @@
 		interrupts = <24 IRQ_TYPE_EDGE_FALLING>; /* GPIO_56 */
 	};
 
-	/* leds */
-	tca6507@45 {
+	/* leds + gpios */
+	tca6507: tca6507@45 {
 		compatible = "ti,tca6507";
 		#address-cells = <1>;
 		#size-cells = <0>;
@@ -446,6 +451,7 @@
 	bus-width = <4>;
 	ti,non-removable;
 	cap-power-off-card;
+	mmc-pwrseq = <&wifi_pwrseq>;
 };
 
 &mmc3 {
-- 
2.5.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] ARM: dts: omap3-gta04: Various updates Marek Belisko <marek@goldelico.com> - 2016-05-17 21:50 +0200
  [PATCH 2/5] ARM: dts: omap3-gta04: Define and use bma180 irq pin Marek Belisko <marek@goldelico.com> - 2016-05-17 21:50 +0200
  [PATCH 5/5] ARM: dts: omap3-gat04: Fix wifi handling Marek Belisko <marek@goldelico.com> - 2016-05-17 21:50 +0200
  [PATCH 1/5] ARM: dts: omap3-gta04: Add backlight support Marek Belisko <marek@goldelico.com> - 2016-05-17 22:00 +0200
  Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates Belisko Marek <marek.belisko@gmail.com> - 2016-05-31 08:50 +0200

csiph-web