public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Ludovic Desroches <ludovic.desroches@microchip.com>
To: Ulf Hansson <ulf.hansson@linaro.org>, linux-mmc@vger.kernel.org
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Subject: eMMC initialisation fails: invalid UHS-I mode
Date: Fri, 10 Mar 2017 09:30:04 +0100	[thread overview]
Message-ID: <98664253-9a68-fa59-7f17-438b0d522fe8@microchip.com> (raw)

Hi,

I have discovered a bit late that the eMMC on sama5d2_xplained board is 
no longer working since the initialisation fails.

It was working with 4.9. Doing a git bisect, the commit which causes my 
issue is e173f891:
mmc: core: Update CMD13 polling policy when switch to HS DDR mode

Here are the logs:
mmc0: Invalid UHS-I mode selected
mmc0: switch to bus width 8 ddr failed
mmc0: error -110 whilst initialising MMC card

I have not dig much yet. Did someone already report or experience the 
same thing?

It seems that switching to the new timing before checking the switch 
status doesn't work so the timing is set back to MMC_TIMING_MMC_HS that 
causes the invalid UHS-I mode when getting preset value.

Regards

Ludovic

             reply	other threads:[~2017-03-10  8:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10  8:30 Ludovic Desroches [this message]
2017-03-10 14:21 ` [RFC PATCH] mmc: core: HS DDR switch, don't change timing before checking status Ludovic Desroches
2017-03-10 14:33   ` Nicolas Ferre
2017-03-15 11:48   ` Nicolas Ferre
2017-04-03  8:17     ` Nicolas Ferre
2017-03-17 15:14   ` Ulf Hansson
2017-03-17 16:33     ` Ludovic Desroches
2017-03-22  8:41       ` Ulf Hansson
2017-03-22 10:49         ` Ludovic Desroches
2017-03-22 11:18           ` Ulf Hansson
2017-03-22 16:17             ` Ludovic Desroches
2017-03-24 10:51               ` Ludovic Desroches

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=98664253-9a68-fa59-7f17-438b0d522fe8@microchip.com \
    --to=ludovic.desroches@microchip.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=ulf.hansson@linaro.org \
    /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