regulator: dt-bindings: pf8x00: fix nxp,phase-shift doc
authorAdrien Grassein <adrien.grassein@gmail.com>
Thu, 14 Jan 2021 17:47:10 +0000 (18:47 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Jan 2021 14:16:11 +0000 (14:16 +0000)
nxp,phase-shift is an enum so use enum format to describe it.
Minimum and maximum values are also wrong.

Signed-off-by: Adrien Grassein <adrien.grassein@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210114174714.122561-3-adrien.grassein@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/nxp,pf8x00-regulator.yaml

index 956156f..095cfda 100644 (file)
@@ -73,21 +73,11 @@ properties:
 
           nxp,phase-shift:
             $ref: "/schemas/types.yaml#/definitions/uint32"
-            minimum: 45
-            maximum: 0
+            default: 0
+            enum: [ 0, 45, 90, 135, 180, 225, 270, 315 ]
             description:
               BUCK regulators phase shift control in degrees.
 
-              Listed phase shift control values in degrees are,
-              45
-              90
-              135
-              180
-              225
-              270
-              315
-              0 (default)
-
         unevaluatedProperties: false
 
       "^vsnvs$":