regulator: Fix type of regulator-coupled-max-spread property
authorThierry Reding <treding@nvidia.com>
Mon, 6 Dec 2021 15:37:26 +0000 (16:37 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Dec 2021 14:33:26 +0000 (14:33 +0000)
According to the description and the various uses of this property it is
meant to be an array of unsigned 32-bit values, so fixup the type to
match that.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211206153726.227464-1-thierry.reding@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.yaml

index a6ae9ec..ed560ee 100644 (file)
@@ -218,7 +218,7 @@ properties:
     description: Array of maximum spread between voltages of coupled regulators
       in microvolts, each value in the array relates to the corresponding
       couple specified by the regulator-coupled-with property.
-    $ref: "/schemas/types.yaml#/definitions/uint32"
+    $ref: "/schemas/types.yaml#/definitions/uint32-array"
 
   regulator-max-step-microvolt:
     description: Maximum difference between current and target voltages