Skip to content

ARM: ux500: Fix SD-card regression by using GPIO regulator

Lee Jones linux-arm-kernel linux-devicetree 1 version New

Get series with b4
b4 am 20150420182416.GG3447@x1

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: ux500: Move GPIO regulator for SD-card into board DTSs+0 -01 reply
1/3ARM: ux500: Move GPIO regulator for SD-card into board DTSs+0 -02 replies
2/3ARM: ux500: Enable GPIO regulator for SD-card for HREF boards+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] ARM: ux500: Fix SD-card regression by using GPIO regulator

Where did you get this email address from?

Quoted 32 lines

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(-)