[PATCH 0/2] mmc: sdhci-msm: Add firmware-managed resource support for Nord SDCC
From: Anjana Hari
Date: Mon Nov 02 2026 - 09:16:10 EST
On certain Qualcomm automotive SoCs such as Nord, platform resources
including clocks, interconnect bandwidth, resets, and regulators are
owned and managed by firmware rather than directly by Linux. The
firmware abstracts these resources behind logical power domains and
exposes control through the SCMI power protocol.
This series extends the sdhci-msm driver to support this
firmware-managed model. Instead of directly programming GCC clocks and
PMIC regulators, the driver operates through two logical power domains:
- "power": controls the SDCC rail. The driver requests power state
transitions via pm_runtime_resume_and_get() / pm_runtime_put_sync()
on the domain device, which are forwarded to firmware as SCMI
power-state messages.
- "perf": the SCMI perf domain driver dynamically registers the
supported clock frequencies as OPPs by querying firmware at probe
time. Clock rate selection uses dev_pm_opp_find_freq_floor() and
dev_pm_opp_set_opp() on this domain.
Patch 1 adds the Device Tree binding for the new "qcom,nord-sdhci"
compatible string, documenting the two power-domain properties and the
absence of clock, interconnect, reset, and regulator entries.
Patch 2 introduces the firmware-managed variant in the driver. A new
sdhci_msm_fw_v5_var descriptor is added with its pd_data populated;
probe detects this and selects firmware-specific platform data and ops.
The new ops implement clock rate selection through the perf domain OPP
path and route suspend/resume through SCMI power-state transitions
rather than local clock and regulator management.
Signed-off-by: Anjana Hari <anjana.hari@xxxxxxxxxxxxxxxx>
---
Anjana Hari (2):
dt-bindings: mmc: sdhci-msm: Document bindings for Nord SDCC
mmc: sdhci-msm: Add support for firmware-managed resource platforms
.../devicetree/bindings/mmc/qcom,nord-sdhci.yaml | 89 +++++++++
drivers/mmc/host/sdhci-msm.c | 213 ++++++++++++++++++++-
2 files changed, 297 insertions(+), 5 deletions(-)
---
base-commit: 7649ba73f9e7e1e04d0b46213e39c79ae09dd55c
change-id: 20261102-sdcc_scmi-3c47baa8dba9
Best regards,
--
Anjana Hari <anjana.hari@xxxxxxxxxxxxxxxx>