summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSarthak Garg <quic_sartgarg@quicinc.com>2025-09-08 16:11:21 +0530
committerUlf Hansson <ulf.hansson@linaro.org>2025-09-12 14:49:36 +0200
commitf338529ca9279e3bea392cb53cec8bd292909cb1 (patch)
tree26adc71748b4c165012bee04a348a362fbe1694d /include/linux
parent98682689a1a443067e1981d9eed8c6ddcef8cdf3 (diff)
mmc: core: Parse and use the new max-sd-hs-hz DT property
Introduce a new device tree flag to cap the maximum High-Speed (HS) mode frequency for SD cards, accommodating board-specific electrical limitations which cannot support the default 50Mhz HS frequency and others. Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index e0d935a4ac1d..e0e2c265e5d1 100644
--- a/include/linux/mmc/host.h
+++ b/include/linux/mmc/host.h
@@ -576,6 +576,7 @@ struct mmc_host {
int hsq_depth;
u32 err_stats[MMC_ERR_MAX];
+ u32 max_sd_hs_hz;
unsigned long private[] ____cacheline_aligned;
};