]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: mmc: controller: Add max-sd-hs-hz property
authorSarthak Garg <quic_sartgarg@quicinc.com>
Mon, 8 Sep 2025 10:41:20 +0000 (16:11 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 12 Sep 2025 12:42:37 +0000 (14:42 +0200)
Introduce a new optional device tree property max-sd-hs-hz to
limit the maximum frequency (in Hz) used for SD cards operating in
High-Speed (HS) mode due to any board electrical limitations.

Signed-off-by: Sarthak Garg <quic_sartgarg@quicinc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml

index 9a72354397591d9648e80806c2f93797abdc70a0..7414d5522dfe8a20600944393509641e825ce56e 100644 (file)
@@ -93,6 +93,14 @@ properties:
     minimum: 400000
     maximum: 384000000
 
+  max-sd-hs-hz:
+    description: |
+      Maximum frequency (in Hz) to be used for SD cards operating in
+      High-Speed (HS) mode.
+    minimum: 400000
+    maximum: 50000000
+    default: 50000000
+
   disable-wp:
     $ref: /schemas/types.yaml#/definitions/flag
     description: