Skip to content

sunxi-mmc: enable new clock mode on A64

Vasily Khoruzhick u-boot 4 versions – New

Get series with b4
b4 am CA+E=qVcGYv+5hYh46vEK7umhs30WhBw69Y+rw+ztB5gW01W=BQ@mail.gmail.com

Versions newest first · linked by author and title

  1. v2 Latest posting 3/30 of 3 patches 0 repliesNew
  2. v2 posting 2/30 of 3 patches 0 repliesSuperseded
  3. v2 posting 1/33 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches0 repliesSuperseded

Patches in v2 posting 3/3 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/3] sunxi-mmc: enable new clock mode on A64
Quoted 8 lines · Vasily Khoruzhick
Quoted 6 lines · Vasily Khoruzhick

A64 requires new clock mode on SD and eMMC controllers. Not using new clock mode causes stability issues of the driver - SPL may occasionally fail to load u-boot from SD for some particular SD card on some particular devices.

Quoted 8 lines
Quoted 4 lines

This series depends on "sunxi: add support for automatic delay calibration" from my Pinebook series.

Tested on Pinebook and Pine64-LTS. Fixes eMMC failures on Olinuxino-A64 [1]

Ping? I've got reports from several users that it fixes issues with different SD cards on Pinebook and Sopine. It would be nice to have it merged.

Another gentle reminder - patches has been sitting in ML for almost 2 weeks with no review.

Quoted 15 lines
Quoted 15 lines

[1] https://github.com/armbian/build/commit/03199b3879af24c94029460b8cdf0d41048afc92#commitcomment-31028421

Vasily Khoruzhick (3):
sunxi-mmc: introduce new MMC_SUNXI_HAS_MODE_SWITCH option
sunxi-mmc: don't double clock for new mode unconditionally
sunxi-mmc: use new mode on both controllers on A64

 arch/arm/mach-sunxi/Kconfig |  2 ++
 drivers/mmc/Kconfig         |  4 ++++
 drivers/mmc/sunxi_mmc.c     | 19 +++++++++----------
 3 files changed, 15 insertions(+), 10 deletions(-)

--
2.19.1