[PATCH V6 2/4] dt-bindings: mmc: controller: Add max-sd-hs-hz property

Sarthak Garg posted 4 patches 3 weeks, 3 days ago
[PATCH V6 2/4] dt-bindings: mmc: controller: Add max-sd-hs-hz property
Posted by Sarthak Garg 3 weeks, 3 days ago
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>
---
 .../devicetree/bindings/mmc/mmc-controller-common.yaml    | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml b/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml
index 9a7235439759..7414d5522dfe 100644
--- a/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml
+++ b/Documentation/devicetree/bindings/mmc/mmc-controller-common.yaml
@@ -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:
-- 
2.34.1
Re: [PATCH V6 2/4] dt-bindings: mmc: controller: Add max-sd-hs-hz property
Posted by Krzysztof Kozlowski 3 weeks, 2 days ago
On Mon, Sep 08, 2025 at 04:11:20PM +0530, Sarthak Garg wrote:
> 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>
> ---
>  .../devicetree/bindings/mmc/mmc-controller-common.yaml    | 8 ++++++++
>  1 file changed, 8 insertions(+)

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof