[PATCH v2 19/20] omap: zoom: keep the MMC3 wl1271 device powered off
flat view
From: Gabay, Benzy <hidden>
Date: 2010-07-26 18:33:10
Also in:
linux-mmc, linux-omap, linux-wireless
Ohad,
-----Original Message----- From: Ohad Ben-Cohen [mailto:ohad at wizery.com] Sent: Thursday, July 22, 2010 6:18 PM To: Gabay, Benzy Cc: linux-wireless at vger.kernel.org; linux-mmc at vger.kernel.org; linux- omap at vger.kernel.org; linux-arm-kernel at lists.infradead.org; linux at arm.linux.org.uk; Chikkature Rajashekar, Madhusudhan; Luciano Coelho; akpm at linux-foundation.org; San Mehat; Roger Quadros; Tony Lindgren; Nicolas Pitre; Pandita, Vikram; Kalle Valo Subject: Re: [PATCH v2 19/20] omap: zoom: keep the MMC3 wl1271 device powered off Hi Gever, On Wed, Jul 21, 2010 at 9:55 PM, Gabay, Benzy [off-list ref] wrote:quoted
From: Ohad Ben-Cohen [mailto:ohad at wizery.com] Sent: Wednesday, July 21, 2010 12:34 PM To: linux-wireless at vger.kernel.org; linux-mmc at vger.kernel.org; linux-omap at vger.kernel.orgquoted
Cc: linux-arm-kernel at lists.infradead.org; linux at arm.linux.org.uk;Chikkature Rajashekar, Madhusudhan; Luciano Coelho; akpm at linux- foundation.org; San Mehat; Roger Quadros; Tony Lindgren; Nicolas Pitre; Pandita, Vikram; Kalle Valo; Ohad Ben-Cohenquoted
Subject: [PATCH v2 19/20] omap: zoom: keep the MMC3 wl1271 devicepowered offquoted
Keep the MMC3 wl1271 WLAN device powered off until its SDIO function driver requests otherwise. Signed-off-by: Ohad Ben-Cohen <redacted> --- ?arch/arm/mach-omap2/board-zoom-peripherals.c | ? ?1 + ?arch/arm/mach-omap2/hsmmc.c ? ? ? ? ? ? ? ? ?| ? ?3 +++ ?arch/arm/mach-omap2/hsmmc.h ? ? ? ? ? ? ? ? ?| ? ?1 + ?arch/arm/plat-omap/include/plat/mmc.h ? ? ? ?| ? ?3 +++ ?drivers/mmc/host/omap_hsmmc.c ? ? ? ? ? ? ? ?| ? ?3 +++ ?5 files changed, 11 insertions(+), 0 deletions(-)diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.cb/arch/arm/mach-omap2/board-zoom-peripherals.cquoted
index 3230801..3ab9125 100644--- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c@@ -217,6 +217,7 @@ static struct omap2_hsmmc_info mmc[] __initdata ={quoted
? ? ? ? ? ? ? ?.gpio_wp ? ? ? ?= -EINVAL, ? ? ? ? ? ? ? ?.gpio_cd ? ? ? ?= -EINVAL, ? ? ? ? ? ? ? ?.ocr_mask ? ? ? = MMC_VDD_165_195, + ? ? ? ? ? ? ? .dont_power_card = true, ? ? ? ? ? ? ? ?.priv_data ? ? ?= &omap_zoom_wlan_data, ? ? ? ?}, ? ? ? ?{} ? ? ?/* Terminator */...quoted
-- 1.7.0.4 [Benzy Gabay] small comment: Please make sure that all 127x relatedchanges are not bounded only to MMC3.quoted
On OMAP4 WLAN is used on MMC5.The only place MMC3 is bound is in the board files (see code snippet above), so that should be ok. I can probably split this patch to make this more obvious just by reading the diffstat if you prefer.
Yep. That will be great. Benzy
Thanks, Ohad.quoted