mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/3] mci: sdhci Rockchip tuning fixes
Date: Thu, 21 May 2026 10:05:04 +0200	[thread overview]
Message-ID: <20260521-rockchip-emmc-fixes-v1-0-c91908ca1fb5@pengutronix.de> (raw)

Tuning operation on Rockchip used to fail. I never noticed because
errors from tuning were not properly propagated. This is fixed in [1]
and since this commit HSx00 speeds do not work work anymore. HS400
modes worked for me despite the tuning failed, but with likely
suboptimal timing. This series fixes this and we now pass tuning.

Also switch the Rockchip SDHCI controller to the recently introduced
sdhci_send_command() helper.

[1] 85995b4d54 ("mci: sdhci: propagate tuning failures from sdhci_execute_tuning()")

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (3):
      mci: rockchip-dwcmshc-sdhci: poll DATA_AVAIL for tuning commands
      mci: sdhci: Fix TIMEOUT_CONTROL register value
      mci: sdhci: rockchip: Use generic sdhci_send_command()

 drivers/mci/rockchip-dwcmshc-sdhci.c | 57 +-----------------------------------
 drivers/mci/sdhci.c                  |  2 +-
 2 files changed, 2 insertions(+), 57 deletions(-)
---
base-commit: f5956c772dc00837bad36fc66df8a53aae86558d
change-id: 20260521-rockchip-emmc-fixes-0fd673597897

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




             reply	other threads:[~2026-05-21  8:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-21  8:05 Sascha Hauer [this message]
2026-05-21  8:05 ` [PATCH 1/3] mci: rockchip-dwcmshc-sdhci: poll DATA_AVAIL for tuning commands Sascha Hauer
2026-05-21  8:05 ` [PATCH 2/3] mci: sdhci: Fix TIMEOUT_CONTROL register value Sascha Hauer
2026-05-21  8:05 ` [PATCH 3/3] mci: sdhci: rockchip: Use generic sdhci_send_command() Sascha Hauer

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=20260521-rockchip-emmc-fixes-v1-0-c91908ca1fb5@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@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