mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] mci: sdhci Rockchip tuning fixes
@ 2026-05-21  8:05 Sascha Hauer
  2026-05-21  8:05 ` [PATCH 1/3] mci: rockchip-dwcmshc-sdhci: poll DATA_AVAIL for tuning commands Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2026-05-21  8:05 UTC (permalink / raw)
  To: BAREBOX

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>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-21  8:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-21  8:05 [PATCH 0/3] mci: sdhci Rockchip tuning fixes Sascha Hauer
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox