linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ulf.hansson@linaro.org (Ulf Hansson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] ARM: ux500: Fix SD-card regression by using GPIO regulator
Date: Mon, 20 Apr 2015 16:02:30 +0200	[thread overview]
Message-ID: <1429538553-17366-1-git-send-email-ulf.hansson@linaro.org> (raw)

This patchset fixes an old stability issue for detection of SD-cards. The DT
node for the GPIO regulator which controls the I/O voltage level towards the
SD-card was disabled in below commit.

c94a4ab7af3f ("ARM: ux500: Disable the MMCI gpio-regulator by default")

The conseqeunce from that commit, was that the initially chosen voltage level
remained, even after I/O voltage switch sequence was performed for UHS-I cards,
since no GPIO regulator could be fetched.

Appearantly some SD-cards didn't have any problem to cope with that, but some
had.

Recently thorough error handling was introduced for the MMCI mmc host driver,
while fetching the regulators for the SD-card. That actually made the driver to
continously return -EPROBE_DEFER while probing, which thus meant failing all the
times instead of just failing "sometimes".

The commit that introduced the thorough error handling is:
9369c97cc7ec ("mmc: mmci: Cascade EPROBE_DEFER from regulators")


Ulf Hansson (3):
  ARM: ux500: Move GPIO regulator for SD-card into board DTSs
  ARM: ux500: Enable GPIO regulator for SD-card for HREF boards
  ARM: ux500: Enable GPIO regulator for SD-card for snowball

 arch/arm/boot/dts/ste-dbx5x0.dtsi  | 17 -----------------
 arch/arm/boot/dts/ste-href.dtsi    | 15 +++++++++++++++
 arch/arm/boot/dts/ste-snowball.dts | 13 +++++++++++++
 3 files changed, 28 insertions(+), 17 deletions(-)

-- 
1.9.1

             reply	other threads:[~2015-04-20 14:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-20 14:02 Ulf Hansson [this message]
2015-04-20 14:02 ` [PATCH 1/3] ARM: ux500: Move GPIO regulator for SD-card into board DTSs Ulf Hansson
2015-04-20 18:26   ` Lee Jones
2015-04-21  7:15     ` Ulf Hansson
2015-04-21  7:33       ` Lee Jones
2015-04-21  8:00         ` Ulf Hansson
2015-04-21 10:34           ` Lee Jones
2015-04-20 14:02 ` [PATCH 2/3] ARM: ux500: Enable GPIO regulator for SD-card for HREF boards Ulf Hansson
2015-04-20 18:27   ` Lee Jones
2015-04-20 14:02 ` [PATCH 3/3] ARM: ux500: Enable GPIO regulator for SD-card for snowball Ulf Hansson
2015-04-20 15:49 ` [PATCH 0/3] ARM: ux500: Fix SD-card regression by using GPIO regulator Bjorn Andersson
2015-04-20 18:24 ` Lee Jones

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=1429538553-17366-1-git-send-email-ulf.hansson@linaro.org \
    --to=ulf.hansson@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.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;
as well as URLs for NNTP newsgroup(s).