mbox series

[RFC,v3,0/2] mmc: renesas_sdhi: support manual calibration

Message ID 20200604120633.22795-1-wsa+renesas@sang-engineering.com (mailing list archive)
Headers show
Series mmc: renesas_sdhi: support manual calibration | expand

Message

Wolfram Sang June 4, 2020, 12:06 p.m. UTC
Some R-Car Gen3 SoCs need corrections after they tuned to HS400. This
series implements that. Please have a look at the patch descriptions for
details. The origins were patches in the BSP from Takeshi Saito.

Changes for RFC v3:

* rebased to the latest BSP patches which now use tables instead of
  computed values for the correction values
* other refactoring because of the above
* MMC0 instance is hardcoded now because it is located at the same
  address on all Gen3 SoCs
* except for the TMPPORT accessors, it is basically a new patch

There is a branch for testing here:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/sdhi-manual-calib

What is missing here is more testing on more boards. I post it already
for review comments. And because it is needed to trigger a stalled SCC
condition which is fixed by a patchset I just sent out.

Thanks and happy hacking,

   Wolfram


Wolfram Sang (2):
  mmc: tmio: add generic hook to fixup after a completed request
  mmc: renesas_sdhi: support manual calibration

 drivers/mmc/host/renesas_sdhi.h      |   5 +
 drivers/mmc/host/renesas_sdhi_core.c | 152 ++++++++++++++++++++++++++-
 drivers/mmc/host/tmio_mmc.h          |   1 +
 drivers/mmc/host/tmio_mmc_core.c     |   3 +
 4 files changed, 159 insertions(+), 2 deletions(-)