From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Rapoport Subject: Re: MMC runtime PM patches break libertas probe Date: Wed, 17 Nov 2010 08:46:44 +0200 Message-ID: <4CE37A54.20509@compulab.co.il> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from compulab.co.il ([67.18.134.219]:39202 "EHLO compulab.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752799Ab0KQGr6 (ORCPT ); Wed, 17 Nov 2010 01:47:58 -0500 In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Ohad Ben-Cohen Cc: Daniel Drake , Arnd Hannemann , Chris Ball , linux-mmc@vger.kernel.org, Nicolas Pitre , libertas-dev@lists.infradead.org On 11/16/10 16:49, Ohad Ben-Cohen wrote: > On Tue, Nov 16, 2010 at 4:29 PM, Daniel Drake wrote: >> On 16 November 2010 13:22, Ohad Ben-Cohen wrote: >>> Just to update the list, the problem with the XO-1.5 was because the >>> sd8686 has an external reset gpio line which is currently being >>> manipulated manually by an out-of-tree kernel patch: >>> >>> http://dev.laptop.org/git/olpc-2.6/commit/?h=olpc-2.6.35&id=e9bee721fb0cc303286d1fe5df4930ce79b0b1e0 >>> >>> ... which makes me wonder whether we really want to take that >>> MMC_CAP_RUNTIME_PM road. I'm not sure anymore. >> >> OLPC is not the only user of the sd8686. >> Every other user will face the same problem. >> >> Other users may not have the luxury of having a GPIO hooked up to the >> reset line. > > Agree; those users will need a MMC_CAP_RUNTIME_PM (or maybe call it > with the capability it really stands for which is something like > MMC_CAP_POWER_OFF_CARD). > > But I want to be positively sure we have such users (or is it that obvious?). > > How is the sd8686's reset line manipulated on other platforms ? Or is > the sd8686 usually just kept powered on after boot ? On our platforms we just keep it powered on after boot with the reset line held high. (e.g. arch/arm/mach-pxa/cm-x300.c, arch/arm/mach-omap/board-cm-t35.c). We don't bother much for power savings, though. > I'm looping in libertas-dev. > > Thanks, > Ohad. > > _______________________________________________ > libertas-dev mailing list > libertas-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/libertas-dev -- Sincerely yours, Mike.