Commit def7bd94 authored by Manish Narani's avatar Manish Narani Committed by Ulf Hansson

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarManish Narani <manish.narani@xilinx.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 478c60ce
...@@ -334,16 +334,17 @@ patternProperties: ...@@ -334,16 +334,17 @@ patternProperties:
- reg - reg
"^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|uhs-(sdr(12|25|50|104)|ddr50))$": "^clk-phase-(legacy|sd-hs|mmc-(hs|hs[24]00|ddr52)|uhs-(sdr(12|25|50|104)|ddr50))$":
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 2 minItems: 2
maxItems: 2 maxItems: 2
allOf: items:
- $ref: /schemas/types.yaml#/definitions/uint32 minimum: 0
- minimum: 0 maximum: 359
maximum: 359 description:
description: Set the clock (phase) delays which are to be configured in the
Set the clock (phase) delays which are to be configured in the controller while switching to particular speed mode. These values
controller while switching to particular speed mode. These values are in pair of degrees.
are in pair of degrees.
dependencies: dependencies:
cd-debounce-delay-ms: [ cd-gpios ] cd-debounce-delay-ms: [ cd-gpios ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment