[PATCH 1/4] dt-bindings: mmc: spacemit-sdhci: Add clock-frequency property

Yixun Lan dlan at kernel.org
Wed Sep 2 00:03:12 PDT 2026


From: Long Wan <long.wan at linux.spacemit.com>

Add a clock-frequency property to set the rate of io clock, according
to various host controller mode it require different initial clock
frequency, and also match to the board's layout actually validated at.

Signed-off-by: Long Wan <long.wan at linux.spacemit.com>
Signed-off-by: Yixun Lan <dlan at kernel.org>
---
 Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml b/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
index 34d202af909f..f35bf7ce08dd 100644
--- a/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
+++ b/Documentation/devicetree/bindings/mmc/spacemit,sdhci.yaml
@@ -29,6 +29,13 @@ properties:
       - description: core clock, used by internal controller
       - description: io clock, output for SD, SDIO, eMMC device
 
+  clock-frequency:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    description:
+      Rate of the io clock in Hz. When present the io clock is programmed to
+      this rate, allowing a board to select the rate its layout was validated
+      at.
+
   clock-names:
     items:
       - const: core

-- 
2.55.0




More information about the linux-riscv mailing list