]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
dt-bindings: mmc: mmc-spi-slot: Change voltage-ranges to uint32-matrix
authorFrank Li <Frank.Li@nxp.com>
Thu, 13 Jun 2024 14:32:05 +0000 (10:32 -0400)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 20 Jun 2024 12:43:49 +0000 (14:43 +0200)
According to common mmc core, voltages-ranges should be matrix.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240613-ls_waring_esdhc-v5-1-36644e2fe21c@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml

index 36acc40c7d1815aeef2402f559216e5563382b90..6e2cdac6a85dae76a039a1a675a4fae4de094362 100644 (file)
@@ -27,17 +27,19 @@ properties:
     maxItems: 1
 
   voltage-ranges:
-    $ref: /schemas/types.yaml#/definitions/uint32-array
+    $ref: /schemas/types.yaml#/definitions/uint32-matrix
     description: |
       Two cells are required, first cell specifies minimum slot voltage (mV),
       second cell specifies maximum slot voltage (mV).
     items:
-      - description: |
-          value for minimum slot voltage in mV
-        default: 3200
-      - description: |
-          value for maximum slot voltage in mV
-        default: 3400
+      items:
+        - description: |
+            value for minimum slot voltage in mV
+          default: 3200
+        - description: |
+            value for maximum slot voltage in mV
+          default: 3400
+    maxItems: 1
 
   gpios:
     description: |