public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mmc: disable UHS modes if Vcc cannot be switched on and off
Date: Wed, 24 Jan 2018 14:23:44 +0000	[thread overview]
Message-ID: <1516803823.5399.72.camel@synopsys.com> (raw)
In-Reply-To: <8d577459-aa3a-6b52-5e32-859c3caa722d@samsung.com>

On Wed, 2018-01-24 at 17:28 +0900, Jaehoon Chung wrote:
> On 01/23/2018 09:03 PM, Eugeniy Paltsev wrote:
> > On Tue, 2018-01-23 at 10:44 +0900, Jaehoon Chung wrote:
> > > On 01/23/2018 03:38 AM, Eugeniy Paltsev wrote:
> > > > Hi Jean-Jacques,
> > > > 
> > > > after commit "mmc: disable UHS modes if Vcc cannot be switched on and off" (04a2ea248f)
> > > > we got MMC broken on several (at least two) platforms with DesignWare MMC controller.
> > > > 
> > > > The error log (with debug enabled in drivers/mmc/mmc.c and drivers/mmc/dw_mmc.c) is next:
> > > > --------------->8-------------
> > > > MMC:   Synopsys Mobile storage: 0
> > > > Buswidth = 0, clock: 400000
> > > > selecting mode MMC legacy (freq : 0 MHz)
> > > > Buswidth = 1, clock: 400000
> > > > Buswidth = 1, clock: 400000
> > > > Sending CMD0
> > > > dwmci_send_cmd: Timeout.
> > > > mmc_init: -110, time 19
> > > > ** Bad device mmc 0 **
> > > > --------------->8-------------
> > > > 
> > > > Any ideas how to fix this?
> > > 
> > > Could you share which git repository you use? 
> > 
> > I use u-boot master branch from git://git.denx.de/u-boot.git
> > 
> > last commits:
> > --------------->8-------------
> > 485c13c Merge git://git.denx.de/u-boot-dm
> > b79221a lib: fdtdec: Fix some style violations
> > 2e38662 lib: fdtdec: Fix whitespace style violations
> > 29d11b8 core: Make device_is_compatible live-tree compatible
> > 147c607 core: Add {ofnode, dev}_translate_address functions
> > --------------->8-------------
> > 
> 
> I guess that this issue has already been fixed.
> 
> http://patchwork.ozlabs.org/patch/862160/
> 

Yep, this patch solves the problem.

Tested-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>

Thanks.

> Best Regards,
> Jaehoon Chung
> 
> > > Best Regards,
> > > Jaehoon Chung
> > > 
> > > > 
> > > > Thanks.
> > > > 
> > > 
> > > 
> 
> 
-- 
 Eugeniy Paltsev

      reply	other threads:[~2018-01-24 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180122183900epcas2p2400da7fe3ed0e00a07272450aee92a17@epcas2p2.samsung.com>
2018-01-22 18:38 ` [U-Boot] mmc: disable UHS modes if Vcc cannot be switched on and off Eugeniy Paltsev
2018-01-23  1:44   ` Jaehoon Chung
2018-01-23 12:03     ` Eugeniy Paltsev
2018-01-24  8:28       ` Jaehoon Chung
2018-01-24 14:23         ` Eugeniy Paltsev [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1516803823.5399.72.camel@synopsys.com \
    --to=eugeniy.paltsev@synopsys.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox