Skip to content

Commit def7bd9

Browse files
mnaranistorulf
authored andcommitted
dt-bindings: mmc: Correct the type of the clk phase properties
The clock phase properties are having two uint32 values. The minItems and maxItems are set to 2 for the same. So the property type should be 'uint32-array' and not 'uint32'. Modify it to correct the same. Reported-by: Rob Herring <[email protected]> Signed-off-by: Manish Narani <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
1 parent 478c60c commit def7bd9

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Documentation/devicetree/bindings/mmc/mmc-controller.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -334,16 +334,17 @@ patternProperties:
334334
- reg
335335

336336
"^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|uhs-(sdr(12|25|50|104)|ddr50))$":
337+
allOf:
338+
- $ref: /schemas/types.yaml#/definitions/uint32-array
337339
minItems: 2
338340
maxItems: 2
339-
allOf:
340-
- $ref: /schemas/types.yaml#/definitions/uint32
341-
- minimum: 0
342-
maximum: 359
343-
description:
344-
Set the clock (phase) delays which are to be configured in the
345-
controller while switching to particular speed mode. These values
346-
are in pair of degrees.
341+
items:
342+
minimum: 0
343+
maximum: 359
344+
description:
345+
Set the clock (phase) delays which are to be configured in the
346+
controller while switching to particular speed mode. These values
347+
are in pair of degrees.
347348

348349
dependencies:
349350
cd-debounce-delay-ms: [ cd-gpios ]

0 commit comments

Comments
 (0)