From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ohad Ben-Cohen Subject: Re: MMC runtime PM patches break libertas probe Date: Tue, 16 Nov 2010 16:49:00 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:53820 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755918Ab0KPOtW (ORCPT ); Tue, 16 Nov 2010 09:49:22 -0500 Received: by iwn35 with SMTP id 35so888494iwn.19 for ; Tue, 16 Nov 2010 06:49:22 -0800 (PST) In-Reply-To: Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Daniel Drake Cc: linux-mmc@vger.kernel.org, Chris Ball , Arnd Hannemann , libertas-dev@lists.infradead.org, Nicolas Pitre 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 ? I'm looping in libertas-dev. Thanks, Ohad.