From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Cc: Sascha Hauer <sascha@saschahauer.de>,
"Claude Opus 4.7" <noreply@anthropic.com>
Subject: [PATCH 0/6] mci: rockchip-dwcmshc: add HS200 support
Date: Thu, 07 May 2026 09:02:46 +0200 [thread overview]
Message-ID: <20260507-rockchip-emmc-v1-0-5e8109e8059d@pengutronix.de> (raw)
At least on RK3588 the dwcmshc core doesn't have an internal clock
divider, we fully rely on the clock tree to configure the MMC clock.
By default the clock comes from the 24MHz oscillator. For higher MMC
clocks we have to reparent to a PLL clock, but if we do this once the
6bit divider iss not enough to scale down to the 400kHz MMC
initialization clock. This means we must dynamically reparent the clock.
This series adds support for finding the best divider/mux combination
for composite clocks.
This series also adds some fixes to the dwcmshc driver which used to
timeout on writing sometimes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (6):
mci: sdhci: rockchip: set hidspd before re-enabling the clock
mci: sdhci: rockchip: disable clock while setting DLL
mci: sdhci: rockchip: Wait for transfer complete interrupt with MMC_RSP_BUSY cmd
mci: sdhci: rockchip: Update pre-change delay for rockchip platform
clk: composite: pick best parent for round_rate / set_rate
mci: sdhci: rockchip: officially support HS200
drivers/clk/clk-composite.c | 110 ++++++++++++++++++++++++++++++-----
drivers/mci/rockchip-dwcmshc-sdhci.c | 51 ++++++++++------
2 files changed, 128 insertions(+), 33 deletions(-)
---
base-commit: 019d102038a64e6b6e8f445cbfd2d15e68d0ec3f
change-id: 20260507-rockchip-emmc-0e8c5097cf33
Best regards,
--
Sascha Hauer <s.hauer@pengutronix.de>
next reply other threads:[~2026-05-07 8:23 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-07 7:02 Sascha Hauer [this message]
2026-05-07 7:02 ` [PATCH 1/6] mci: sdhci: rockchip: set hidspd before re-enabling the clock Sascha Hauer
2026-05-07 8:05 ` Ahmad Fatoum
2026-05-07 7:02 ` [PATCH 2/6] mci: sdhci: rockchip: disable clock while setting DLL Sascha Hauer
2026-05-07 8:10 ` Ahmad Fatoum
2026-05-07 7:02 ` [PATCH 3/6] mci: sdhci: rockchip: Wait for transfer complete interrupt with MMC_RSP_BUSY cmd Sascha Hauer
2026-05-07 8:11 ` Ahmad Fatoum
2026-05-07 7:02 ` [PATCH 4/6] mci: sdhci: rockchip: Update pre-change delay for rockchip platform Sascha Hauer
2026-05-07 8:12 ` Ahmad Fatoum
2026-05-07 7:02 ` [PATCH 5/6] clk: composite: pick best parent for round_rate / set_rate Sascha Hauer
2026-05-07 7:02 ` [PATCH 6/6] mci: sdhci: rockchip: officially support HS200 Sascha Hauer
2026-05-07 8:15 ` Ahmad Fatoum
2026-05-07 8:36 ` Sascha Hauer
2026-05-07 7:47 ` [PATCH 0/6] mci: rockchip-dwcmshc: add HS200 support Ahmad Fatoum
2026-05-07 8:03 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=20260507-rockchip-emmc-v1-0-5e8109e8059d@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=noreply@anthropic.com \
--cc=sascha@saschahauer.de \
/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