Return-path: Received: from mail-qa0-f45.google.com ([209.85.216.45]:35441 "EHLO mail-qa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758929AbaGONZU (ORCPT ); Tue, 15 Jul 2014 09:25:20 -0400 MIME-Version: 1.0 In-Reply-To: References: <20140628052220.GG10407@us.netrek.org> <20140628072322.GC7410@atomide.com> <20140630061912.GA2461@atomide.com> <53B1BAC1.3090902@zonque.org> <477F20668A386D41ADCC57781B1F70430FE5F37540@SC-VEXCH1.marvell.com> <20140701065721.GM24891@us.netrek.org> Date: Tue, 15 Jul 2014 15:25:17 +0200 Message-ID: (sfid-20140715_152526_337097_38E7A3CA) Subject: Re: mwifiex card reset From: Andreas Fenkart To: Doug Anderson Cc: Yuvaraj Cd , Olof Johansson , James Cameron , Bing Zhao , Daniel Mack , Tony Lindgren , Ulf Hansson , "linux-wireless@vger.kernel.org" , linux-mmc , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-samsung-soc , Tomasz Figa , sunil joshi , Prashanth G Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2014-07-01 17:09 GMT+02:00 Doug Anderson : > +Olof who posted the patch that Yuvaraj referenced. > > On Tue, Jul 1, 2014 at 5:20 AM, Yuvaraj Cd wrote: >> On Tue, Jul 1, 2014 at 12:27 PM, James Cameron wrote: >>> On Mon, Jun 30, 2014 at 11:44:29PM -0700, Bing Zhao wrote: >>>> I may have missed something, but doesn't the MMC_POWER_OFF and >>>> MMC_POWER_ON|UP handling in controller driver help? >>>> Anyway the clocks/GPIOs/regulators are sort of platform >>>> dependent. Would it be better putting it in /arch/arm/mach-xxxxx/? >>> >>> Wouldn't device tree for mmc be better? >> I have come across same problem.Below is the thread in which more >> discussions happened on this. >> http://patchwork.ozlabs.org/patch/312444/ >> I am adding few more those who are interested in this solution. > > Thanks to Yuvaraj for referencing the old thread. http://www.spinics.net/lists/linux-mmc/msg26564.html Quite a read indeed Meanwhile I got a working prototype for omap_hsmmc/mwifiex based on this series: http://www.spinics.net/lists/linux-mmc/msg27228.html I will post my patches, once the FDT format is set in stone, and Ulf has had some time to work on v2 of his series.