From mboxrd@z Thu Jan 1 00:00:00 1970 From: Balaji T K Subject: Re: SD card timeout problems on Nokia N900 (omap_hsmmc on OMAP3) Date: Wed, 26 Feb 2014 14:14:46 +0530 Message-ID: <530DA97E.7090406@ti.com> References: <20140225234746.GA13866@earth.universe> <530D8FF2.3070100@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <530D8FF2.3070100@gmail.com> Sender: linux-mmc-owner@vger.kernel.org To: Stefan Roese , Sebastian Reichel Cc: Michael Trimarchi , Linux OMAP Mailing List , Linux MMC List , Tony Lindgren , 'Chris Ball' List-Id: linux-omap@vger.kernel.org On Wednesday 26 February 2014 12:25 PM, Stefan Roese wrote: > Hi Sebastian, > > On 26.02.2014 07:02, Michael Trimarchi wrote: >> Hi Sebastian >> >> On Wed, Feb 26, 2014 at 12:47 AM, Sebastian Reichel wrote: >>> Hi, >>> >>> I have problems with the SD-card initialization on my Nokia N900 >>> using a 3.14-rc1 based kernel in DT boot mode. The bug is can be >>> circumvented by changing the kernel slightly (e.g. remove some DT >>> nodes or mark them as disabled). So the SD card's timeout problems >>> seem to derive from kernel timing problems. I'm pretty sure, that >>> the problems are not originating from a broken SD card, since Can you provide removed/Disabled dt nodes, it might give some clue ? >>> >>> 1. The SD card worked quite good before and still does depending >>> on unrelated DTS changes (=> loading less drivers). >>> 2. The SD card works flawlessly on my notebook using a USB adapter >>> 3. Another SD card showed the same problem >>> >>> I tried to git bisect the problem, but I just get shown some >>> unrelated driver additions. >>> >>> Anyways, this is the error I get during boot: >>> >>> [ 3.896820] mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz >>> ... >>> [ 5.956237] mmc0: error -110 whilst initialising SD card >>> >> >> Are you sure that some subsystem that you deactivate don't change >> pin muxing setting? Can you check in the broken system if the pins of the sdcard >> are correctly muxed? Does it happen even if you change the sdcard? > > Did you try to add this patch series: > > http://www.spinics.net/lists/linux-omap/msg103264.html > > Without it I'm also having problems with MMC detection on some OMAP3 based boards. > > Balaji, what is the status of this patch series? Are there any chances that it will be included in v3.14? > Due to dependencies between regulator, mmc, omap def config, devicetree changes, I am hoping either Chris or Tony pick the whole series for 3.15 Couple of tested-by will surely help. Thanks and Regards, Balaji T K