Skip to content

Commit ce4f219

Browse files
nxpfrankliUlf Hansson
authored andcommitted
dt-bindings: mmc: mmc-spi-slot: Change voltage-ranges to uint32-matrix
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>
1 parent 8eb57fd commit ce4f219

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

Documentation/devicetree/bindings/mmc/mmc-spi-slot.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,19 @@ properties:
2727
maxItems: 1
2828

2929
voltage-ranges:
30-
$ref: /schemas/types.yaml#/definitions/uint32-array
30+
$ref: /schemas/types.yaml#/definitions/uint32-matrix
3131
description: |
3232
Two cells are required, first cell specifies minimum slot voltage (mV),
3333
second cell specifies maximum slot voltage (mV).
3434
items:
35-
- description: |
36-
value for minimum slot voltage in mV
37-
default: 3200
38-
- description: |
39-
value for maximum slot voltage in mV
40-
default: 3400
35+
items:
36+
- description: |
37+
value for minimum slot voltage in mV
38+
default: 3200
39+
- description: |
40+
value for maximum slot voltage in mV
41+
default: 3400
42+
maxItems: 1
4143

4244
gpios:
4345
description: |

0 commit comments

Comments
 (0)