[PATCH RESEND v2 0/8] mmc: spacemit: Improve clock and tuning logic

From: Yixun Lan

Date: Tue Dec 01 2026 - 05:55:31 EST


This series includes some bug fixes and improvement to
SpacemiT SDHCI driver, which relate to pinctrl, PHY,
clock, tuning logic. Most of them are quite independent,
but put them together here for people to easy review.

Reason for the RESEND:
Rebasing on top of "Introduce tx delay DT property" [1],
it would make sashiko bot fail to apply [8/8], so decouple
the dependency and resend base on tag v7.4-rc1.


Link: https://patch.msgid.link/20261125-07-k3-sdhci-dts-v2-0-a069659ba025@xxxxxxxxxx [1]
Signed-off-by: Yixun Lan <dlan@xxxxxxxxxx>
---
Changes in v2:
- Fix clock defer probe error
- Fix pinctrl state check
- Add macro for tx_tuning window limit
- Link to v1: https://patch.msgid.link/20260902-07-k3-sdhci-fix-v1-0-b15c5d0f64fd@xxxxxxxxxx

---
Long Wan (6):
mmc: sdhci-of-k1: No pinctrl state switching
mmc: sdhci-of-k1: Improve power control
mmc: sdhci-of-k1: Configure PHY mode
mmc: sdhci-of-k1: Use finest delay granularity for RX tuning
mmc: sdhci-of-k1: Improve RX tuning window
mmc: sdhci-of-k1: Implement SD clock gating for voltage switch

Yixun Lan (2):
mmc: sdhci-of-k1: Handle clock probe deferral
mmc: sdhci-of-k1: Drop duplicated voltage settings

drivers/mmc/host/sdhci-of-k1.c | 84 +++++++++++++++++++++++++++++++++---------
1 file changed, 66 insertions(+), 18 deletions(-)
---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20260901-07-k3-sdhci-fix-ce577d1db7b6

Best regards,
--
Yixun Lan <dlan@xxxxxxxxxx>